mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-27 11:31:05 +00:00
CI: cri-containerd: upgrade the LTS / Active versions for containerd
As we're testing against the LTS and the Active versions of containers, let's upgrade the lts version from 1.6 to 1.7 and active version from 1.7 to 2.0 to cover the sandboxapi tests. Signed-off-by: Fupan Li <fupan.lfp@antgroup.com>
This commit is contained in:
parent
04c56a0aaf
commit
7024d3c600
4
.github/workflows/basic-ci-amd64.yaml
vendored
4
.github/workflows/basic-ci-amd64.yaml
vendored
@ -63,15 +63,13 @@ jobs:
|
||||
# all the tests due to a single flaky instance.
|
||||
fail-fast: false
|
||||
matrix:
|
||||
containerd_version: ['latest']
|
||||
containerd_version: ['active']
|
||||
vmm: ['dragonball', 'cloud-hypervisor', 'qemu-runtime-rs']
|
||||
runs-on: ubuntu-22.04
|
||||
env:
|
||||
CONTAINERD_VERSION: ${{ matrix.containerd_version }}
|
||||
GOPATH: ${{ github.workspace }}
|
||||
KATA_HYPERVISOR: ${{ matrix.vmm }}
|
||||
#the latest containerd from 2.0 need to set the CGROUP_DRIVER for e2e testing
|
||||
CGROUP_DRIVER: ""
|
||||
SANDBOXER: "shim"
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
@ -20,6 +20,9 @@ export PATH="$PATH:/usr/local/sbin"
|
||||
# golang is installed in /usr/local/go/bin/ add that path
|
||||
export PATH="$PATH:/usr/local/go/bin"
|
||||
|
||||
#the latest containerd from 2.0 need to set the CGROUP_DRIVER for e2e testing
|
||||
export CGROUP_DRIVER=""
|
||||
|
||||
# Runtime to be used for testing
|
||||
KATA_HYPERVISOR="${KATA_HYPERVISOR:-qemu}"
|
||||
RUNTIME=${RUNTIME:-containerd-shim-kata-${KATA_HYPERVISOR}-v2}
|
||||
|
@ -261,10 +261,11 @@ externals:
|
||||
# containerd from v1.5.0 used the path unix socket
|
||||
# instead of abstract socket, thus kata wouldn's support the containerd's
|
||||
# version older than them.
|
||||
version: "v1.6.8"
|
||||
lts: "v1.6"
|
||||
active: "v1.7"
|
||||
# add containerd 2.0.0 for sandbox api test
|
||||
version: "v1.7.25"
|
||||
lts: "v1.7"
|
||||
active: "v2.0"
|
||||
# keep the latest version to make the current PR ci work, once it was
|
||||
# merged,we can remove the latest version.
|
||||
latest: "v2.0"
|
||||
|
||||
critools:
|
||||
|
Loading…
Reference in New Issue
Block a user