@@ -37,11 +37,11 @@ image_build: &image_build
37
37
- image : debian:stretch
38
38
# image builds seem to need a bit more grunt (RAM) than usual. Possibly getting OOM killed, which https://github.com/moby/tool/pull/191 might help.
39
39
# NB: This will become a paid for feature at some point soon (with plenty of warning), so is not a long term solution.
40
- # small 1.0 2GB
41
- # medium (default) 2.0 4GB pass: fail:5
42
- # medium+ 3.0 6GB pass: fail:2
43
- # large 4.0 8GB pass:2 fail:
44
- # xlarge 8.0 16GB
40
+ # small 1.0 2GB
41
+ # medium (default) 2.0 4GB pass: fail:5
42
+ # medium+ 3.0 6GB pass: fail:2
43
+ # large 4.0 8GB pass:2 fail:
44
+ # xlarge 8.0 16GB
45
45
resource_class : large
46
46
steps :
47
47
- run :
@@ -99,6 +99,26 @@ image_build: &image_build
99
99
root : /workspace
100
100
paths : images
101
101
102
+ image_boot : &image_boot
103
+ docker :
104
+ - image : debian:stretch
105
+ steps :
106
+ - run :
107
+ name : Configure $PATH
108
+ command : echo 'export PATH=/workspace/bin:$PATH' >> $BASH_ENV
109
+ - run :
110
+ name : Install packages
111
+ # ca-certificates are needed for attach_workspace (and git over https)
112
+ command : apt-get update && apt-get install -y ca-certificates curl git make openssh-client strace qemu
113
+ - attach_workspace :
114
+ at : /workspace
115
+ - checkout
116
+ - run :
117
+ name : Test boot
118
+ command : |
119
+ cp /workspace/images/kube-$KUBE_RUNTIME-$KUBE_NETWORK/kube-{master,node}.iso .
120
+ ./test.exp
121
+
102
122
version : 2
103
123
jobs :
104
124
dependencies :
@@ -240,6 +260,30 @@ jobs:
240
260
- KUBE_RUNTIME : cri-containerd
241
261
- KUBE_NETWORK : bridge
242
262
263
+ boot-docker-weave :
264
+ << : *image_boot
265
+ environment :
266
+ - KUBE_RUNTIME : docker
267
+ - KUBE_NETWORK : weave
268
+
269
+ # boot-docker-bridge:
270
+ # <<: *image_boot
271
+ # environment:
272
+ # - KUBE_RUNTIME: docker
273
+ # - KUBE_NETWORK: bridge
274
+
275
+ # boot-cri-containerd-weave:
276
+ # <<: *image_boot
277
+ # environment:
278
+ # - KUBE_RUNTIME: cri-containerd
279
+ # - KUBE_NETWORK: weave
280
+
281
+ boot-cri-containerd-bridge :
282
+ << : *image_boot
283
+ environment :
284
+ - KUBE_RUNTIME : cri-containerd
285
+ - KUBE_NETWORK : bridge
286
+
243
287
push-pkgs-to-hub :
244
288
docker :
245
289
- image : debian:stretch
@@ -332,6 +376,22 @@ workflows:
332
376
- pkg-kubelet
333
377
- pkg-cri-containerd
334
378
379
+ - boot-docker-weave :
380
+ requires :
381
+ image-docker-weave
382
+
383
+ # - boot-docker-bridge:
384
+ # requires:
385
+ # image-docker-bridge
386
+
387
+ # - boot-cri-containerd-weave:
388
+ # requires:
389
+ # image-cri-containerd-weave
390
+
391
+ - boot-cri-containerd-bridge :
392
+ requires :
393
+ image-cri-containerd-bridge
394
+
335
395
- push-pkgs-to-hub :
336
396
# We want everything to have passed, which is a bit
337
397
# tedious. Some of these are already covered transitively,
@@ -346,3 +406,7 @@ workflows:
346
406
- image-docker-bridge
347
407
- image-cri-containerd-weave
348
408
- image-cri-containerd-bridge
409
+ - boot-docker-weave
410
+ # - boot-docker-bridge
411
+ # - boot-cri-containerd-weave
412
+ - boot-cri-containerd-bridge
0 commit comments