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(criu): add CRIU PPA for Podman dependency #770

Merged
merged 2 commits into from
Jan 7, 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
5 changes: 3 additions & 2 deletions .github/workflows/pr-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ jobs:

build-and-test:
needs: [checkout-branch]
# runs-on: ubuntu-latest
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
env:
deps-cache-name: cache-yarn
build-cache-name: cache-webpack
Expand Down Expand Up @@ -137,6 +136,8 @@ jobs:
cd src/main/webui
yarn install && yarn yarn:frzinstall
cd -
- name: Add CRIU PPA
run: sudo add-apt-repository ppa:criu/ppa && sudo apt update
- name: Ensure podman 4+ and podman-docker installed
run: sudo apt update && sudo apt -y satisfy "podman (>= 4.0), podman-docker"
- name: Set up testcontainers for podman
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/push-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ jobs:
image-version: ${{ steps.query-pom.outputs.image-version }}

build-and-test:
# runs-on: ubuntu-latest
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
needs: [get-pom-properties]
strategy:
matrix:
Expand All @@ -53,6 +52,8 @@ jobs:
contents: read
if: ${{ github.repository_owner == 'cryostatio' }}
steps:
- name: Add CRIU PPA
run: sudo add-apt-repository ppa:criu/ppa && sudo apt update
- name: Install podman 4 and qemu
run: |
sudo apt update
Expand Down Expand Up @@ -107,6 +108,12 @@ jobs:
runs-on: ubuntu-latest
needs: [get-pom-properties, build-and-test]
steps:
- name: Add CRIU PPA
run: sudo add-apt-repository ppa:criu/ppa && sudo apt update
- name: Install podman 4 and qemu
run: |
sudo apt update
sudo apt -y satisfy "podman (>= 4.0), qemu-user-static"
- name: Download container tarballs
uses: actions/download-artifact@v4
with:
Expand Down
Loading