File tree Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 11
11
12
12
env :
13
13
global :
14
- - RUNC_VERSION=v1.0.0-rc8
15
- - CRIO_VERSION=v1.14.6
16
- - BUILDAH_VERSION=v1.10 .0
14
+ - RUNC_VERSION=v1.0.0-rc10
15
+ - CRIO_VERSION=v1.17.0
16
+ - BUILDAH_VERSION=v1.14 .0
17
17
- GO111MODULE=on
18
18
19
19
sudo : required
@@ -32,6 +32,10 @@ before_install:
32
32
- sudo cp buildah /usr/local/bin
33
33
# configure buildah
34
34
- sudo mkdir -p /etc/containers
35
+ - sudo mkdir -p /etc/cni/net.d
36
+ - sudo mkdir -p /opt/cni/bin
37
+ - sed -i -e 's/build.sh/build_linux.sh/' Makefile
38
+ - make install.cni.sudo
35
39
- echo -e '[registries.search]\nregistries = ["docker.io"]\n\n' | sudo tee /etc/containers/registries.conf
36
40
- sudo curl https://raw.githubusercontent.com/kubernetes-sigs/cri-o/$CRIO_VERSION/test/policy.json -o /etc/containers/policy.json
37
41
# install runc
Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ pipeline {
8
8
environment {
9
9
GO111MODULE = " on"
10
10
REG = " cloud-native-image-registry.westus.cloudapp.azure.com/"
11
- RUNC_VERSION = " v1.0.0-rc8 "
12
- CRIO_VERSION = " v1.14.6 "
13
- BUILDAH_VERSION = " v1.10 .0"
14
- GO_VERSION = " 1.13.5 "
11
+ RUNC_VERSION = " v1.0.0-rc10 "
12
+ CRIO_VERSION = " v1.17.0 "
13
+ BUILDAH_VERSION = " v1.14 .0"
14
+ GO_VERSION = " 1.13.7 "
15
15
GO_TAR = " go${ GO_VERSION} .linux-amd64.tar.gz"
16
16
GOROOT = " /usr/local/go"
17
17
GOPATH = " /tmp/go"
@@ -61,6 +61,10 @@ pipeline {
61
61
sh ' make buildah TAGS=""'
62
62
sh " sudo cp buildah /usr/local/bin"
63
63
sh " sudo mkdir -p /etc/containers"
64
+ sh " sudo mkdir -p /etc/cni/net.d"
65
+ sh " sudo mkdir -p /opt/cni/bin"
66
+ sh " sed -i -e 's/build.sh/build_linux.sh/' Makefile"
67
+ sh " make install.cni.sudo"
64
68
sh ''' echo '[registries.search]' > registries.conf'''
65
69
sh ''' echo 'registries = ["docker.io"]' >> registries.conf'''
66
70
sh " sudo mv registries.conf /etc/containers/registries.conf"
You can’t perform that action at this time.
0 commit comments