Skip to content

Commit

Permalink
Downgrade podman to make the GitHub runner work again
Browse files Browse the repository at this point in the history
  • Loading branch information
fauust committed Jun 28, 2023
1 parent 21b699e commit b6faaa8
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 12 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test_cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/test_cluster_mdbf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,13 @@ jobs:
- name: Install requirements
run: |
python3 -m pip install --upgrade pip
# see: https://github.com/actions/runner-images/issues/7753
- name: Downgrade podman
run: sudo apt install podman=3.4.4+ds1-1ubuntu1 --allow-downgrades
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
# 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)
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/test_default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/test_mdbf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b6faaa8

Please sign in to comment.