CI: {v1, v2} -> io.containerd.runc.{v1,v2}
The previous names were confusing because v1 may look like shim API v1 (io.containerd.runtime.v1.linux"). Also, v2 may look like cgroup v2. Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
parent
68b9b8f896
commit
09f4533941
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -258,7 +258,7 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
runtime: [v1]
|
runtime: [io.containerd.runc.v1]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install Go
|
- name: Install Go
|
||||||
@ -324,10 +324,10 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
runtime: [v1, v2]
|
runtime: [io.containerd.runc.v1, io.containerd.runc.v2]
|
||||||
runc: [runc, crun]
|
runc: [runc, crun]
|
||||||
exclude:
|
exclude:
|
||||||
- runtime: v1
|
- runtime: io.containerd.runc.v1
|
||||||
runc: crun
|
runc: crun
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -395,7 +395,7 @@ jobs:
|
|||||||
- name: Integration 1
|
- name: Integration 1
|
||||||
env:
|
env:
|
||||||
GOPROXY: direct
|
GOPROXY: direct
|
||||||
TEST_RUNTIME: io.containerd.runc.${{ matrix.runtime }}
|
TEST_RUNTIME: ${{ matrix.runtime }}
|
||||||
RUNC_FLAVOR: ${{ matrix.runc }}
|
RUNC_FLAVOR: ${{ matrix.runc }}
|
||||||
run: |
|
run: |
|
||||||
sudo GOPATH=$GOPATH GOPROXY=$GOPROXY TEST_RUNTIME=$TEST_RUNTIME RUNC_FLAVOR=$RUNC_FLAVOR make integration EXTRA_TESTFLAGS=-no-criu TESTFLAGS_RACE=-race
|
sudo GOPATH=$GOPATH GOPROXY=$GOPROXY TEST_RUNTIME=$TEST_RUNTIME RUNC_FLAVOR=$RUNC_FLAVOR make integration EXTRA_TESTFLAGS=-no-criu TESTFLAGS_RACE=-race
|
||||||
@ -405,7 +405,7 @@ jobs:
|
|||||||
- name: Integration 2
|
- name: Integration 2
|
||||||
env:
|
env:
|
||||||
GOPROXY: direct
|
GOPROXY: direct
|
||||||
TEST_RUNTIME: io.containerd.runc.${{ matrix.runtime }}
|
TEST_RUNTIME: ${{ matrix.runtime }}
|
||||||
RUNC_FLAVOR: ${{ matrix.runc }}
|
RUNC_FLAVOR: ${{ matrix.runc }}
|
||||||
run: |
|
run: |
|
||||||
sudo GOPATH=$GOPATH GOPROXY=$GOPROXY TEST_RUNTIME=$TEST_RUNTIME RUNC_FLAVOR=$RUNC_FLAVOR TESTFLAGS_PARALLEL=1 make integration EXTRA_TESTFLAGS=-no-criu
|
sudo GOPATH=$GOPATH GOPROXY=$GOPROXY TEST_RUNTIME=$TEST_RUNTIME RUNC_FLAVOR=$RUNC_FLAVOR TESTFLAGS_PARALLEL=1 make integration EXTRA_TESTFLAGS=-no-criu
|
||||||
@ -413,7 +413,7 @@ jobs:
|
|||||||
|
|
||||||
- name: CRI test
|
- name: CRI test
|
||||||
env:
|
env:
|
||||||
TEST_RUNTIME: io.containerd.runc.${{ matrix.runtime }}
|
TEST_RUNTIME: ${{ matrix.runtime }}
|
||||||
run: |
|
run: |
|
||||||
sudo mkdir -p /etc/containerd
|
sudo mkdir -p /etc/containerd
|
||||||
sudo bash -c "cat > /etc/containerd/config.toml <<EOF
|
sudo bash -c "cat > /etc/containerd/config.toml <<EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user