Skip to content

Commit

Permalink
use podman instead of docker for beaker-docker
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Mar 27, 2024
1 parent 9217ba1 commit 57576c5
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/beaker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ on:
type: string
acceptance_runs_on:
description: the runner group used for acceptance jobs run on
default: ubuntu-20.04
default: ubuntu-22.04
required: false
type: string
secrets:
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
if: ${{ inputs.rubocop }}
- name: Setup Test Matrix
id: get-outputs
run: bundle exec metadata2gha --domain ${{ inputs.domain }} --pidfile-workaround ${{ inputs.pidfile_workaround }} --beaker-facter "${{ inputs.beaker_facter }}"
run: bundle exec metadata2gha --domain ${{ inputs.domain }} --beaker-facter "${{ inputs.beaker_facter }}"

unit:
defaults:
Expand Down Expand Up @@ -152,6 +152,15 @@ jobs:
name: "${{ matrix.name }}"
steps:
- uses: actions/checkout@v4
- name: Setup podman
if: ${{ inputs.beaker_hypervisor == 'docker_podman' }}
run: |
# podman in 22.04 is old and buggy, lets pull something fresh
echo 'deb http://archive.ubuntu.com/ubuntu/ noble main universe' | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get install -y podman crun
systemctl start --user podman.socket
echo "DOCKER_HOST=unix:///run/user/$(id -u)/podman/podman.sock" >> "$GITHUB_ENV"
- name: install additional packages
if: ${{ inputs.additional_packages != '' }}
run: |
Expand Down

0 comments on commit 57576c5

Please sign in to comment.