2 - functest-kubernetes-pi-containers: &functest-kubernetes-pi-containers
3 name: 'functest-kubernetes-pi-containers'
6 container: '{container}'
9 - functest-kubernetes-pi-params: &functest-kubernetes-pi-params
10 name: 'functest-kubernetes-pi-params'
39 - functest-kubernetes-pi-jobs: &functest-kubernetes-pi-jobs
40 name: 'functest-kubernetes-pi-jobs'
41 current-parameters: true
44 name: functest-kubernetes-pi-slave
51 name: functest-kubernetes-pi-build_tag
57 name: functest-kubernetes-pi-DEPLOY_SCENARIO
61 default: k8-nosdn-nofeature-noha
64 name: functest-kubernetes-pi-E2E_TEST_OPTS
68 default: container-runtime:containerd
70 - functest-kubernetes-pi-run-containers: &functest-kubernetes-pi-run-containers
71 name: 'functest-kubernetes-pi-run-containers'
72 <<: *functest-kubernetes-pi-containers
74 privileged: '{privileged}'
80 name: functest-kubernetes-pi-pull-containers
84 if [ "{repo}" = "_" ]; then
85 image={container}:{tag}
86 elif [ "{port}" = "None" ]; then
87 image={repo}/{container}:{tag}
89 image={repo}:{port}/{container}:{tag}
94 name: functest-kubernetes-pi-run-containers
98 volumes=; for i in $(echo {volumes} | tr -d '[] ' |sed "s/,/ /g" ); do volumes="-v $i $volumes"; done
99 env=; for i in $(eval echo {env} | tr -d '[] ' |sed "s/,/ /g" ); do env="-e $i $env"; done
100 [ ! -z "$WORKSPACE" ] && rm -rf $WORKSPACE/results || true
101 if [ "{repo}" = "_" ]; then
102 image={container}:{tag}
103 elif [ "{port}" = "None" ]; then
104 image={repo}/{container}:{tag}
106 image={repo}:{port}/{container}:{tag}
109 --privileged={privileged} \
110 --network={network} \
113 -e S3_ENDPOINT_URL=https://storage.googleapis.com \
114 -e S3_DST_URL=s3://artifacts.opnfv.org/functest-kubernetes/$BUILD_TAG/$JOB_NAME-$BUILD_ID \
115 -e HTTP_DST_URL=http://artifacts.opnfv.org/functest-kubernetes/$BUILD_TAG/$JOB_NAME-$BUILD_ID \
116 -v /home/opnfv/functest-kubernetes/.boto:/root/.boto \
117 -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
118 -e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
119 -e NODE_NAME=$slave \
120 -e BUILD_TAG=$BUILD_TAG \
121 -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
122 $image run_tests -t {test} -p -r
125 name: functest-kubernetes-pi-remove-images
129 if [ "{repo}" = "_" ]; then
130 image={container}:{tag}
131 elif [ "{port}" = "None" ]; then
132 image={repo}/{container}:{tag}
134 image={repo}:{port}/{container}:{tag}
136 docker rmi $image || true
139 name: 'functest-kubernetes-pi-{repo}-{container}-{tag}-pull'
141 - functest-kubernetes-pi-slave:
144 - functest-kubernetes-pi-pull-containers:
145 <<: *functest-kubernetes-pi-containers
148 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-pull'
149 <<: *functest-kubernetes-pi-params
150 container: 'functest-kubernetes-healthcheck'
152 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-pull'
155 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-pull'
156 <<: *functest-kubernetes-pi-params
157 container: 'functest-kubernetes-smoke'
159 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-pull'
162 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-pull'
163 <<: *functest-kubernetes-pi-params
164 container: 'functest-kubernetes-security'
166 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-pull'
169 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-pull'
170 <<: *functest-kubernetes-pi-params
171 container: 'functest-kubernetes-benchmarking'
173 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-pull'
176 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-pull'
177 <<: *functest-kubernetes-pi-params
178 container: 'functest-kubernetes-cnf'
180 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-pull'
183 name: 'functest-kubernetes-pi-{repo}-{container}-{tag}-rmi'
185 - functest-kubernetes-pi-slave:
188 - functest-kubernetes-pi-remove-images:
189 <<: *functest-kubernetes-pi-containers
192 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-rmi'
193 <<: *functest-kubernetes-pi-params
194 container: 'functest-kubernetes-healthcheck'
196 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-rmi'
199 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-rmi'
200 <<: *functest-kubernetes-pi-params
201 container: 'functest-kubernetes-smoke'
203 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-rmi'
206 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-rmi'
207 <<: *functest-kubernetes-pi-params
208 container: 'functest-kubernetes-security'
210 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-rmi'
213 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-rmi'
214 <<: *functest-kubernetes-pi-params
215 container: 'functest-kubernetes-benchmarking'
217 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-rmi'
220 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-rmi'
221 <<: *functest-kubernetes-pi-params
222 container: 'functest-kubernetes-cnf'
224 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-rmi'
227 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-{tag}-{test}-run'
229 - functest-kubernetes-pi-slave:
231 - functest-kubernetes-pi-build_tag:
233 - functest-kubernetes-pi-DEPLOY_SCENARIO:
234 DEPLOY_SCENARIO: k8-nosdn-nofeature-noha
235 - functest-kubernetes-pi-E2E_TEST_OPTS:
236 E2E_TEST_OPTS: container-runtime:containerd
238 - functest-kubernetes-pi-run-containers:
239 <<: *functest-kubernetes-pi-run-containers
242 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck'
243 <<: *functest-kubernetes-pi-params
245 - /home/opnfv/functest-kubernetes/config.{tag}:/root/.kube/config
247 - DEPLOY_SCENARIO=$DEPLOY_SCENARIO
248 - E2E_TEST_OPTS=$E2E_TEST_OPTS
249 container: 'functest-kubernetes-healthcheck'
256 - 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-{tag}-{test}-run'
259 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-{test}-run'
261 - functest-kubernetes-pi-slave:
263 - functest-kubernetes-pi-build_tag:
265 - functest-kubernetes-pi-DEPLOY_SCENARIO:
266 DEPLOY_SCENARIO: k8-nosdn-nofeature-noha
267 - functest-kubernetes-pi-E2E_TEST_OPTS:
268 E2E_TEST_OPTS: container-runtime:containerd
270 - functest-kubernetes-pi-run-containers:
271 <<: *functest-kubernetes-pi-run-containers
274 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke'
275 <<: *functest-kubernetes-pi-params
277 - /home/opnfv/functest-kubernetes/config.{tag}:/root/.kube/config
279 - DEPLOY_SCENARIO=$DEPLOY_SCENARIO
280 - E2E_TEST_OPTS=$E2E_TEST_OPTS
281 container: 'functest-kubernetes-smoke'
286 - k8s_conformance_serial
288 - sig_api_machinery_serial
294 - sig_cluster_lifecycle
295 - sig_instrumentation
299 - sig_scheduling_serial
320 - 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-{test}-run'
323 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-{tag}-{test}-run'
325 - functest-kubernetes-pi-slave:
327 - functest-kubernetes-pi-build_tag:
329 - functest-kubernetes-pi-DEPLOY_SCENARIO:
330 DEPLOY_SCENARIO: k8-nosdn-nofeature-noha
331 - functest-kubernetes-pi-E2E_TEST_OPTS:
332 E2E_TEST_OPTS: container-runtime:containerd
334 - functest-kubernetes-pi-run-containers:
335 <<: *functest-kubernetes-pi-run-containers
338 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security'
339 <<: *functest-kubernetes-pi-params
341 - /home/opnfv/functest-kubernetes/config.{tag}:/root/.kube/config
343 - DEPLOY_SCENARIO=$DEPLOY_SCENARIO
344 - E2E_TEST_OPTS=$E2E_TEST_OPTS
345 container: 'functest-kubernetes-security'
353 - 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-{tag}-{test}-run'
356 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-{tag}-{test}-run'
358 - functest-kubernetes-pi-slave:
360 - functest-kubernetes-pi-build_tag:
362 - functest-kubernetes-pi-DEPLOY_SCENARIO:
363 DEPLOY_SCENARIO: k8-nosdn-nofeature-noha
364 - functest-kubernetes-pi-E2E_TEST_OPTS:
365 E2E_TEST_OPTS: container-runtime:containerd
367 - functest-kubernetes-pi-run-containers:
368 <<: *functest-kubernetes-pi-run-containers
371 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking'
372 <<: *functest-kubernetes-pi-params
374 - /home/opnfv/functest-kubernetes/config.{tag}:/root/.kube/config
376 - DEPLOY_SCENARIO=$DEPLOY_SCENARIO
377 - E2E_TEST_OPTS=$E2E_TEST_OPTS
378 container: 'functest-kubernetes-benchmarking'
380 - xrally_kubernetes_full
385 - 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-{tag}-{test}-run'
388 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-{tag}-{test}-run'
390 - functest-kubernetes-pi-slave:
392 - functest-kubernetes-pi-build_tag:
394 - functest-kubernetes-pi-DEPLOY_SCENARIO:
395 DEPLOY_SCENARIO: k8-nosdn-nofeature-noha
396 - functest-kubernetes-pi-E2E_TEST_OPTS:
397 E2E_TEST_OPTS: container-runtime:containerd
399 - functest-kubernetes-pi-run-containers:
400 <<: *functest-kubernetes-pi-run-containers
403 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf'
404 <<: *functest-kubernetes-pi-params
406 - /home/opnfv/functest-kubernetes/config.{tag}:/root/.kube/config
408 - DEPLOY_SCENARIO=$DEPLOY_SCENARIO
409 - E2E_TEST_OPTS=$E2E_TEST_OPTS
410 container: 'functest-kubernetes-cnf'
418 - 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-{tag}-{test}-run'
421 name: functest-kubernetes-pi-zip
425 volumes=; for i in $(echo {volumes} | tr -d '[] ' |sed "s/,/ /g" ); do volumes="-v $i $volumes"; done
426 env=; for i in $(eval echo {env} | tr -d '[] ' |sed "s/,/ /g" ); do env="-e $i $env"; done
427 [ ! -z "$WORKSPACE" ] && rm -rf $WORKSPACE/results || true
428 if [ "{repo}" = "_" ]; then
429 image={container}:{tag}
430 elif [ "{port}" = "None" ]; then
431 image={repo}/{container}:{tag}
433 image={repo}:{port}/{container}:{tag}
438 -e S3_ENDPOINT_URL=https://storage.googleapis.com \
439 -e S3_DST_URL=s3://artifacts.opnfv.org/functest-kubernetes \
440 -e HTTP_DST_URL=http://artifacts.opnfv.org/functest-kubernetes \
441 -v /home/opnfv/functest-kubernetes/.boto:/root/.boto \
442 -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
443 -e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
444 -e BUILD_TAG=$BUILD_TAG \
445 -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
449 name: 'functest-kubernetes-pi-{tag}-zip'
451 - functest-kubernetes-pi-slave:
453 - functest-kubernetes-pi-build_tag:
455 - functest-kubernetes-pi-DEPLOY_SCENARIO:
456 DEPLOY_SCENARIO: k8-nosdn-nofeature-noha
457 - functest-kubernetes-pi-E2E_TEST_OPTS:
458 E2E_TEST_OPTS: container-runtime:containerd
460 - functest-kubernetes-pi-zip:
461 <<: *functest-kubernetes-pi-containers
466 name: 'functest-kubernetes-pi-{tag}-zip'
467 <<: *functest-kubernetes-pi-params
469 - /home/opnfv/functest-kubernetes/config.{tag}:/root/.kube/config
471 - DEPLOY_SCENARIO=$DEPLOY_SCENARIO
472 - E2E_TEST_OPTS=$E2E_TEST_OPTS
473 container: 'functest-kubernetes-healthcheck'
475 - 'functest-kubernetes-pi-{tag}-zip'
478 name: 'functest-kubernetes-pi-{tag}-daily'
479 project-type: multijob
483 - functest-kubernetes-pi-slave:
485 - functest-kubernetes-pi-build_tag:
487 - functest-kubernetes-pi-DEPLOY_SCENARIO:
488 DEPLOY_SCENARIO: k8-nosdn-nofeature-noha
489 - functest-kubernetes-pi-E2E_TEST_OPTS:
490 E2E_TEST_OPTS: container-runtime:containerd
491 # PyYAML and yamllint differ here
492 # see https://github.com/yaml/pyyaml/issues/234
493 # yamllint disable rule:indentation
497 - ^functest-kubernetes-(pi-)*{tag}-(daily|docker|review)$
498 # yamllint enable rule:indentation
501 name: remove former images
503 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-{tag}-rmi'
504 <<: *functest-kubernetes-pi-jobs
505 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-rmi'
506 <<: *functest-kubernetes-pi-jobs
507 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-{tag}-rmi'
508 <<: *functest-kubernetes-pi-jobs
509 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-{tag}-rmi'
510 <<: *functest-kubernetes-pi-jobs
511 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-{tag}-rmi'
512 <<: *functest-kubernetes-pi-jobs
514 name: pull containers
516 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-{tag}-pull'
517 <<: *functest-kubernetes-pi-jobs
518 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-pull'
519 <<: *functest-kubernetes-pi-jobs
520 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-{tag}-pull'
521 <<: *functest-kubernetes-pi-jobs
522 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-{tag}-pull'
523 <<: *functest-kubernetes-pi-jobs
524 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-{tag}-pull'
525 <<: *functest-kubernetes-pi-jobs
527 name: ollivier/functest-kubernetes-healthcheck:{tag}
529 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-{tag}-k8s_quick-run'
530 <<: *functest-kubernetes-pi-jobs
531 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-{tag}-k8s_smoke-run'
532 <<: *functest-kubernetes-pi-jobs
534 name: ollivier/functest-kubernetes-smoke:{tag}
535 execution-type: SEQUENTIALLY
537 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-xrally_kubernetes-run'
538 <<: *functest-kubernetes-pi-jobs
539 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-k8s_io-run'
540 <<: *functest-kubernetes-pi-jobs
541 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-k8s_conformance-run'
542 <<: *functest-kubernetes-pi-jobs
543 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-k8s_conformance_serial-run'
544 <<: *functest-kubernetes-pi-jobs
545 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_api_machinery-run'
546 <<: *functest-kubernetes-pi-jobs
547 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_api_machinery_serial-run'
548 <<: *functest-kubernetes-pi-jobs
549 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_apps-run'
550 <<: *functest-kubernetes-pi-jobs
551 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_apps_serial-run'
552 <<: *functest-kubernetes-pi-jobs
553 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_auth-run'
554 <<: *functest-kubernetes-pi-jobs
555 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_cli-run'
556 <<: *functest-kubernetes-pi-jobs
557 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_cli_serial-run'
558 <<: *functest-kubernetes-pi-jobs
559 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_cluster_lifecycle-run'
560 <<: *functest-kubernetes-pi-jobs
561 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_instrumentation-run'
562 <<: *functest-kubernetes-pi-jobs
563 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_network-run'
564 <<: *functest-kubernetes-pi-jobs
565 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_network_serial-run'
566 <<: *functest-kubernetes-pi-jobs
567 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_node-run'
568 <<: *functest-kubernetes-pi-jobs
569 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_scheduling_serial-run'
570 <<: *functest-kubernetes-pi-jobs
571 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_storage-run'
572 <<: *functest-kubernetes-pi-jobs
573 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_storage_serial-run'
574 <<: *functest-kubernetes-pi-jobs
576 name: ollivier/functest-kubernetes-security:{tag}
578 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-{tag}-kube_hunter-run'
579 <<: *functest-kubernetes-pi-jobs
580 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-{tag}-kube_bench_master-run'
581 <<: *functest-kubernetes-pi-jobs
582 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-{tag}-kube_bench_node-run'
583 <<: *functest-kubernetes-pi-jobs
585 name: ollivier/functest-kubernetes-benchmarking:{tag}
587 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-{tag}-xrally_kubernetes_full-run'
588 <<: *functest-kubernetes-pi-jobs
589 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-{tag}-netperf-run'
590 <<: *functest-kubernetes-pi-jobs
592 name: ollivier/functest-kubernetes-cnf:{tag}
594 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-{tag}-k8s_vims-run'
595 <<: *functest-kubernetes-pi-jobs
596 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-{tag}-helm_vims-run'
597 <<: *functest-kubernetes-pi-jobs
598 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-{tag}-cnf_testsuite-run'
599 <<: *functest-kubernetes-pi-jobs
601 name: dump all campaign data
603 - name: 'functest-kubernetes-pi-{tag}-zip'
604 <<: *functest-kubernetes-pi-jobs
607 name: 'functest-kubernetes-pi-daily'
608 <<: *functest-kubernetes-pi-params
610 - 'functest-kubernetes-pi-{tag}-daily'
613 name: functest-kubernetes-pi
622 regex: ^functest-kubernetes-pi-[a-z-0-9.]+-daily$