Add 2.0 beta 2 to CI

Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
Maksym Pavlenko 2024-02-15 11:52:45 -08:00
parent 2e58639737
commit 2d18a663a4
1 changed files with 3 additions and 2 deletions

View File

@ -89,7 +89,7 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [ubuntu-20.04, ubuntu-22.04] os: [ubuntu-20.04, ubuntu-22.04]
containerd: [v1.6.28, v1.7.13] containerd: [v1.6.28, v1.7.13, v2.0.0-beta.2]
steps: steps:
- name: Checkout extensions - name: Checkout extensions
@ -102,6 +102,7 @@ jobs:
gh release download ${{ matrix.containerd }} \ gh release download ${{ matrix.containerd }} \
--repo containerd/containerd \ --repo containerd/containerd \
--pattern 'containerd-1.*-linux-amd64.tar.gz' \ --pattern 'containerd-1.*-linux-amd64.tar.gz' \
--pattern 'containerd-2.*-linux-amd64.tar.gz' \
--output containerd.tar.gz --output containerd.tar.gz
- name: Extract containerd binaries to $HOME/.local/bin - name: Extract containerd binaries to $HOME/.local/bin
@ -131,7 +132,7 @@ jobs:
env: env:
TEST_RUNTIME: "io.containerd.runc.v2-rs" TEST_RUNTIME: "io.containerd.runc.v2-rs"
TESTFLAGS_PARALLEL: 1 TESTFLAGS_PARALLEL: 1
EXTRA_TESTFLAGS: "-no-criu -test.skip='(TestContainerPTY|TestContainerExecLargeOutputWithTTY|TestTaskUpdate|TestTaskResize|TestContainerAttach|TestContainerAttachProcess)'" EXTRA_TESTFLAGS: "-no-criu -test.skip='(TestContainerPTY|TestContainerExecLargeOutputWithTTY|TestTaskUpdate|TestTaskResize|TestContainerAttach|TestContainerAttachProcess|TestRuntimeInfo)'"
TESTFLAGS_RACE: "-race" TESTFLAGS_RACE: "-race"
# Pretend crun for now, remove after https://github.com/containerd/containerd/pull/9829 # Pretend crun for now, remove after https://github.com/containerd/containerd/pull/9829
RUNC_FLAVOR: "crun" RUNC_FLAVOR: "crun"