Skip to content

Commit

Permalink
ci(github): re-enable qemu for single-arch testcontainers (#833)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores authored Mar 3, 2025
1 parent c352000 commit 0310f81
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pr-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ jobs:
[[registry]]
location = "docker.io"
blocked = true
- name: install qemu
run: dnf install -y qemu
- run: git submodule init && git submodule update
- name: Cache yarn packages
uses: actions/cache@v4
Expand All @@ -155,9 +157,9 @@ jobs:
yarn install && yarn yarn:frzinstall
cd -
- name: Add CRIU PPA
run: sudo add-apt-repository ppa:criu/ppa && sudo apt update
run: sudo add-apt-repository ppa:criu/ppa
- name: Ensure podman 4+ and podman-docker installed
run: sudo apt update && sudo apt -y satisfy "podman (>= 4.0), podman-docker"
run: sudo apt update && sudo apt -y satisfy "podman (>= 4.0), podman-docker, qemu-user-static"
- name: Start Podman API
run: systemctl --user enable --now podman.socket
- name: Set DOCKER_HOST environment variable
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/push-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ jobs:
location = "docker.io"
blocked = true
- name: Add CRIU PPA
run: sudo add-apt-repository ppa:criu/ppa && sudo apt update
- name: Install podman 4
run: sudo add-apt-repository ppa:criu/ppa
- name: Install podman 4 and qemu
run: |
sudo apt update
sudo apt -y satisfy "podman (>= 4.0)"
sudo apt -y satisfy "podman (>= 4.0), qemu-user-static"
- uses: actions/checkout@v4
with:
submodules: true
Expand Down Expand Up @@ -154,10 +154,10 @@ jobs:
[[registry]]
location = "docker.io"
blocked = true
- name: Install podman 4
- name: Install podman 4 and qemu
run: |
sudo apt update
sudo apt -y satisfy "podman (>= 4.0)"
sudo apt -y satisfy "podman (>= 4.0), qemu-user-static"
- uses: actions/checkout@v4
with:
submodules: true
Expand Down Expand Up @@ -279,11 +279,11 @@ jobs:
location = "docker.io"
blocked = true
- name: Add CRIU PPA
run: sudo add-apt-repository ppa:criu/ppa && sudo apt update
- name: Install podman 4
run: sudo add-apt-repository ppa:criu/ppa
- name: Install podman 4 and qemu
run: |
sudo apt update
sudo apt -y satisfy "podman (>= 4.0)"
sudo apt -y satisfy "podman (>= 4.0), qemu-user-static"
- name: Download container tarballs
uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit 0310f81

Please sign in to comment.