From b92c6717c6b1dd56ffc267da5aae186445ef8a0f Mon Sep 17 00:00:00 2001 From: ningmingxiao Date: Thu, 24 Oct 2024 22:13:11 +0800 Subject: [PATCH] ci:add cri-integration Signed-off-by: ningmingxiao --- .github/workflows/ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 38b0d0504..15d4dd3f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -172,6 +172,24 @@ jobs: sudo -E PATH=$PATH make integration working-directory: src/github.com/containerd/containerd + - name: Install containerd dependencies + run: | + sudo apt-get update + sudo apt-get install -y gperf dmsetup strace xfsprogs + script/setup/install-seccomp + script/setup/install-runc + script/setup/install-cni $(grep containernetworking/plugins go.mod | awk '{print $2}') + script/setup/install-critools + script/setup/install-failpoint-binaries + working-directory: src/github.com/containerd/containerd + + - name: cri-integration + env: + RUNC_FLAVOR: "runc" + run: | + sudo -E PATH=$PATH CONTAINERD_RUNTIME=io.containerd.runc.v2-rs make BUILDTAGS="no_btrfs" cri-integration + working-directory: src/github.com/containerd/containerd + windows-integration: name: Windows Integration runs-on: ${{ matrix.os }}