Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(github): re-enable qemu for single-arch testcontainers #833

Merged
merged 1 commit into from
Mar 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading