Skip to content

Commit b0705e9

Browse files
committed
ci:add cri-integration
Signed-off-by: ningmingxiao <[email protected]>
1 parent a6b4286 commit b0705e9

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/ci.yml

+17-1
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,23 @@ jobs:
160160
with:
161161
go-version: '1.20.12'
162162

163+
- name: Install containerd dependencies
164+
run: |
165+
sudo apt-get update
166+
sudo apt-get install -y gperf dmsetup strace xfsprogs
167+
script/setup/install-seccomp
168+
script/setup/install-runc
169+
script/setup/install-cni $(grep containernetworking/plugins go.mod | awk '{print $2}')
170+
script/setup/install-critools
171+
script/setup/install-failpoint-binaries
172+
working-directory: src/github.com/containerd/containerd
173+
174+
- name: cri-integration
175+
env:
176+
RUNC_FLAVOR: "runc"
177+
run: |
178+
sudo -E PATH=$PATH CONTAINERD_RUNTIME=io.containerd.runc.v2-rs make BUILDTAGS="no_btrfs" cri-integration
179+
working-directory: src/github.com/containerd/containerd
163180
- name: Integration
164181
env:
165182
TEST_RUNTIME: "io.containerd.runc.v2-rs"
@@ -171,7 +188,6 @@ jobs:
171188
run: |
172189
sudo -E PATH=$PATH make integration
173190
working-directory: src/github.com/containerd/containerd
174-
175191
windows-integration:
176192
name: Windows Integration
177193
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)