Downgrade podman to make the GitHub runner work again

See: https://github.com/actions/runner-images/issues/7753
This commit is contained in:
Faustin Lammler 2023-06-28 17:00:52 +02:00
parent 21b699ee16
commit d4867d5568
No known key found for this signature in database
GPG Key ID: 390A2F27832A5C79
4 changed files with 24 additions and 12 deletions

View File

@ -45,9 +45,12 @@ jobs:
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
# This is necessary on GH Actions to allow running systemd in rootless containers
# see: https://github.com/actions/virtual-environments/issues/3536
# see: https://github.com/ansible-community/molecule/discussions/3155
# see: https://github.com/actions/runner-images/issues/7753
- name: Downgrade podman
run: sudo apt install podman=3.4.4+ds1-1ubuntu1 --allow-downgrades
# This is necessary on GH Actions to allow running systemd in rootless containers
# see: https://github.com/actions/virtual-environments/issues/3536
# see: https://github.com/ansible-community/molecule/discussions/3155
- name: Start systemd user service
run: |
loginctl enable-linger $(whoami)

View File

@ -52,9 +52,12 @@ jobs:
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
# This is necessary on GH Actions to allow running systemd in rootless containers
# see: https://github.com/actions/virtual-environments/issues/3536
# see: https://github.com/ansible-community/molecule/discussions/3155
# see: https://github.com/actions/runner-images/issues/7753
- name: Downgrade podman
run: sudo apt install podman=3.4.4+ds1-1ubuntu1 --allow-downgrades
# This is necessary on GH Actions to allow running systemd in rootless containers
# see: https://github.com/actions/virtual-environments/issues/3536
# see: https://github.com/ansible-community/molecule/discussions/3155
- name: Start systemd user service
run: |
loginctl enable-linger $(whoami)

View File

@ -52,9 +52,12 @@ jobs:
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
# This is necessary on GH Actions to allow running systemd in rootless containers
# see: https://github.com/actions/virtual-environments/issues/3536
# see: https://github.com/ansible-community/molecule/discussions/3155
# see: https://github.com/actions/runner-images/issues/7753
- name: Downgrade podman
run: sudo apt install podman=3.4.4+ds1-1ubuntu1 --allow-downgrades
# This is necessary on GH Actions to allow running systemd in rootless containers
# see: https://github.com/actions/virtual-environments/issues/3536
# see: https://github.com/ansible-community/molecule/discussions/3155
- name: Start systemd user service
run: |
loginctl enable-linger $(whoami)

View File

@ -100,9 +100,12 @@ jobs:
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
# This is necessary on GH Actions to allow running systemd in rootless containers
# see: https://github.com/actions/virtual-environments/issues/3536
# see: https://github.com/ansible-community/molecule/discussions/3155
# see: https://github.com/actions/runner-images/issues/7753
- name: Downgrade podman
run: sudo apt install podman=3.4.4+ds1-1ubuntu1 --allow-downgrades
# This is necessary on GH Actions to allow running systemd in rootless containers
# see: https://github.com/actions/virtual-environments/issues/3536
# see: https://github.com/ansible-community/molecule/discussions/3155
- name: Start systemd user service
run: |
loginctl enable-linger $(whoami)