Skip to content

Commit 42250b7

Browse files
committed
ci: install CRIU and skip checkpoint tests in containerd integration
Add CRIU PPA and install criu package in the containerd integration test job so that CRIU is available in the test environment. Also skip TestCheckpoint* tests via -skip flag as these tests require specific CRIU-compatible kernel configuration not available in CI. Signed-off-by: nayuta723 <nayuta723@gmail.com>
1 parent ff3c56d commit 42250b7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/e2e.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,10 @@ jobs:
5656
with:
5757
go-version: '1.20.12'
5858
cache: true
59+
- name: Add CRIU PPA
60+
run: sudo add-apt-repository -y ppa:criu/ppa
5961
- run: sudo apt-get -y update
60-
- run: sudo apt-get install -y pkg-config libsystemd-dev libelf-dev libseccomp-dev btrfs-progs libbtrfs-dev
62+
- run: sudo apt-get install -y pkg-config libsystemd-dev libelf-dev libseccomp-dev btrfs-progs libbtrfs-dev criu
6163
- name: Build containerd
6264
run: |
6365
make build
@@ -76,7 +78,7 @@ jobs:
7678
sudo cp youki /usr/bin/runc
7779
runc --version
7880
- name: Integration Test
79-
run: sudo make RUNC_FLAVOR=crun TEST_RUNTIME=io.containerd.runc.v2 TESTFLAGS="-timeout 40m" integration
81+
run: sudo make RUNC_FLAVOR=crun TEST_RUNTIME=io.containerd.runc.v2 TESTFLAGS="-timeout 40m -skip TestCheckpoint" integration
8082

8183
k8s-tests:
8284
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)