Skip to content

Commit 3bfa6b5

Browse files
committed
ci: install CRIU and skip checkpoint tests in containerd e2e
Add CRIU PPA and install criu package before running containerd integration tests. Skip checkpoint/restore related tests since youki does not yet support that functionality (see issue #142). Signed-off-by: nayuta723 <nayuta723@gmail.com>
1 parent ff3c56d commit 3bfa6b5

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/e2e.yaml

Lines changed: 8 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,11 @@ 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: |
82+
# The following tests are skipped because youki does not yet support
83+
# checkpoint/restore functionality.
84+
# TODO: https://github.com/youki-dev/youki/issues/142
85+
sudo make RUNC_FLAVOR=crun TEST_RUNTIME=io.containerd.runc.v2 TESTFLAGS="-timeout 40m -skip TestCheckpoint" integration
8086
8187
k8s-tests:
8288
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)