Skip to content

Commit 36bc8d1

Browse files
authored
Merge pull request #811 from Mirantis/ivan4th/demo-and-public-ci-containerd-net
Use containerd for public CI
2 parents f2ac301 + b52d2a2 commit 36bc8d1

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.circleci/config.yml

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ defaults: &defaults
77
DOCKER_VERSION: "17.03.0-ce"
88
KUBECTL_VERSION: "v1.9.3"
99
KUBECTL_SHA1: "a27d808eb011dbeea876fe5326349ed167a7ed28"
10+
# remove DIND_CRI to use dockershim
11+
DIND_CRI: containerd
1012
# Uncomment the following to use ginkgo.focus for e2e
1113
# E2E_FOCUS: "Specify a regexp.*here"
1214

build/cmd.sh

+3
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,9 @@ function prepare_node {
282282
fi
283283
ensure_build_container
284284
echo >&2 "Installing CRI proxy package in the node container (${node})..."
285+
if [[ ${DIND_CRI:-} = containerd ]]; then
286+
docker exec "${node}" /bin/bash -c 'echo criproxy-nodeps criproxy/primary_cri select containerd | debconf-set-selections'
287+
fi
285288
docker exec "${node}" /bin/bash -c "curl -sSL '${CRIPROXY_DEB_URL}' >/criproxy.deb && dpkg -i /criproxy.deb && rm /criproxy.deb"
286289

287290
docker exec "${node}" mount --make-shared /dind

0 commit comments

Comments
 (0)