Skip to content

Commit ee26aa8

Browse files
authored
Merge pull request #4693 from samuelkarp/release1.3-critest
[release/1.3 backport] ci: run critest target for all runtimes + use compatible critest version
2 parents 0cd4421 + 7f5720e commit ee26aa8

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -346,9 +346,9 @@ jobs:
346346
mkdir -p ${BDIR}/{root,state}
347347
cat > ${BDIR}/config.toml <<EOF
348348
[plugins.cri.containerd.default_runtime]
349-
runtime_type = \"${TEST_RUNTIME}\"
350-
EOF"
351-
sudo PATH=$PATH BDIR=$BDIR /usr/local/bin/containerd -a ${BDIR}/c.sock -root ${BDIR}/root -state ${BDIR}/state -log-level debug &> ${BDIR}/containerd-cri.log &
349+
runtime_type = "${TEST_RUNTIME}"
350+
EOF
351+
sudo PATH=$PATH BDIR=$BDIR /usr/local/bin/containerd -a ${BDIR}/c.sock --config ${BDIR}/config.toml --root ${BDIR}/root --state ${BDIR}/state --log-level debug &> ${BDIR}/containerd-cri.log &
352352
sudo BDIR=$BDIR /usr/local/bin/ctr -a ${BDIR}/c.sock version
353353
sudo PATH=$PATH BDIR=$BDIR GOPATH=$GOPATH critest --runtime-endpoint=unix:///${BDIR}/c.sock --parallel=8
354354
TEST_RC=$?

script/setup/install-critools

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
set -eu -o pipefail
2222

2323
go get -u github.com/onsi/ginkgo/ginkgo
24-
CRITEST_COMMIT=16911795a3c33833fa0ec83dac1ade3172f6989e
24+
CRITEST_COMMIT=v1.16.1
2525
go get -d github.com/kubernetes-sigs/cri-tools/...
2626
cd "$GOPATH"/src/github.com/kubernetes-sigs/cri-tools
2727
git checkout $CRITEST_COMMIT

0 commit comments

Comments
 (0)