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'
51 - functest-kubernetes-pi-jobs: &functest-kubernetes-pi-jobs
52 name: 'functest-kubernetes-pi-jobs'
53 current-parameters: true
56 name: functest-kubernetes-pi-slave
63 name: functest-kubernetes-pi-build_tag
69 name: functest-kubernetes-pi-DEPLOY_SCENARIO
73 default: k8-nosdn-nofeature-noha
76 name: functest-kubernetes-pi-E2E_TEST_OPTS
80 default: container-runtime:containerd
82 - functest-kubernetes-pi-run-containers: &functest-kubernetes-pi-run-containers
83 name: 'functest-kubernetes-pi-run-containers'
84 <<: *functest-kubernetes-pi-containers
86 privileged: '{privileged}'
92 name: functest-kubernetes-pi-pull-containers
96 if [ "{repo}" = "_" ]; then
97 image={container}:{tag}
98 elif [ "{port}" = "None" ]; then
99 image={repo}/{container}:{tag}
101 image={repo}:{port}/{container}:{tag}
106 name: functest-kubernetes-pi-run-containers
111 if [ "{volumes}" != "None" ]; then
112 for i in $(echo {volumes} | tr -d '[]' |sed "s/, / /g" ); \
113 do volumes="-v $i $volumes"; done
116 if [ "{env}" != "None" ]; then
117 for i in $(eval echo {env} | tr -d '[]' |sed "s/, / /g" ); \
118 do env="-e $i $env"; done
120 [ ! -z "$WORKSPACE" ] && rm -rf $WORKSPACE/results || true
121 if [ "{repo}" = "_" ]; then
122 image={container}:{tag}
123 elif [ "{port}" = "None" ]; then
124 image={repo}/{container}:{tag}
126 image={repo}:{port}/{container}:{tag}
129 --privileged={privileged} \
130 --network={network} \
133 -e S3_ENDPOINT_URL=https://storage.googleapis.com \
134 -e S3_DST_URL=s3://artifacts.opnfv.org/functest-kubernetes/$BUILD_TAG/$JOB_NAME-$BUILD_ID \
135 -e HTTP_DST_URL=http://artifacts.opnfv.org/functest-kubernetes/$BUILD_TAG/$JOB_NAME-$BUILD_ID \
136 -v /home/opnfv/functest-kubernetes/.boto:/root/.boto \
137 -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
138 -e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
139 -e NODE_NAME=$slave \
140 -e BUILD_TAG=$BUILD_TAG \
141 -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
142 $image run_tests -t {test} -p -r
145 name: functest-kubernetes-pi-remove-images
149 if [ "{repo}" = "_" ]; then
150 image={container}:{tag}
151 elif [ "{port}" = "None" ]; then
152 image={repo}/{container}:{tag}
154 image={repo}:{port}/{container}:{tag}
156 docker rmi $image || true
159 name: 'functest-kubernetes-pi-{repo}-{container}-{tag}-pull'
161 - functest-kubernetes-pi-slave:
164 - functest-kubernetes-pi-pull-containers:
165 <<: *functest-kubernetes-pi-containers
168 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-pull'
169 <<: *functest-kubernetes-pi-params
170 container: 'functest-kubernetes-healthcheck'
172 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-pull'
175 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-pull'
176 <<: *functest-kubernetes-pi-params
177 container: 'functest-kubernetes-smoke'
179 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-pull'
182 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-pull'
183 <<: *functest-kubernetes-pi-params
184 container: 'functest-kubernetes-security'
186 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-pull'
189 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-pull'
190 <<: *functest-kubernetes-pi-params
191 container: 'functest-kubernetes-benchmarking'
193 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-pull'
196 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-pull'
197 <<: *functest-kubernetes-pi-params
198 container: 'functest-kubernetes-cnf'
200 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-pull'
203 name: 'functest-kubernetes-pi-{repo}-{container}-{tag}-rmi'
205 - functest-kubernetes-pi-slave:
208 - functest-kubernetes-pi-remove-images:
209 <<: *functest-kubernetes-pi-containers
212 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-rmi'
213 <<: *functest-kubernetes-pi-params
214 container: 'functest-kubernetes-healthcheck'
216 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-rmi'
219 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-rmi'
220 <<: *functest-kubernetes-pi-params
221 container: 'functest-kubernetes-smoke'
223 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-rmi'
226 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-rmi'
227 <<: *functest-kubernetes-pi-params
228 container: 'functest-kubernetes-security'
230 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-rmi'
233 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-rmi'
234 <<: *functest-kubernetes-pi-params
235 container: 'functest-kubernetes-benchmarking'
237 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-rmi'
240 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-rmi'
241 <<: *functest-kubernetes-pi-params
242 container: 'functest-kubernetes-cnf'
244 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-rmi'
247 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-{tag}-{test}-run'
249 - functest-kubernetes-pi-slave:
251 - functest-kubernetes-pi-build_tag:
253 - functest-kubernetes-pi-DEPLOY_SCENARIO:
254 DEPLOY_SCENARIO: k8-nosdn-nofeature-noha
255 - functest-kubernetes-pi-E2E_TEST_OPTS:
256 E2E_TEST_OPTS: container-runtime:containerd
258 - functest-kubernetes-pi-run-containers:
259 <<: *functest-kubernetes-pi-run-containers
262 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck'
263 <<: *functest-kubernetes-pi-params
265 - /home/opnfv/functest-kubernetes/config.{tag}:/root/.kube/config
267 - DEPLOY_SCENARIO=$DEPLOY_SCENARIO
268 - E2E_TEST_OPTS=$E2E_TEST_OPTS
269 container: 'functest-kubernetes-healthcheck'
276 - 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-{tag}-{test}-run'
279 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-{test}-run'
281 - functest-kubernetes-pi-slave:
283 - functest-kubernetes-pi-build_tag:
285 - functest-kubernetes-pi-DEPLOY_SCENARIO:
286 DEPLOY_SCENARIO: k8-nosdn-nofeature-noha
287 - functest-kubernetes-pi-E2E_TEST_OPTS:
288 E2E_TEST_OPTS: container-runtime:containerd
290 - functest-kubernetes-pi-run-containers:
291 <<: *functest-kubernetes-pi-run-containers
294 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke'
295 <<: *functest-kubernetes-pi-params
297 - /home/opnfv/functest-kubernetes/config.{tag}:/root/.kube/config
299 - DEPLOY_SCENARIO=$DEPLOY_SCENARIO
300 - E2E_TEST_OPTS=$E2E_TEST_OPTS
301 container: 'functest-kubernetes-smoke'
306 - k8s_conformance_serial
308 - sig_api_machinery_serial
312 - sig_cluster_lifecycle
313 - sig_instrumentation
316 - sig_scheduling_serial
349 - 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-{test}-run'
352 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-{tag}-{test}-run'
354 - functest-kubernetes-pi-slave:
356 - functest-kubernetes-pi-build_tag:
358 - functest-kubernetes-pi-DEPLOY_SCENARIO:
359 DEPLOY_SCENARIO: k8-nosdn-nofeature-noha
360 - functest-kubernetes-pi-E2E_TEST_OPTS:
361 E2E_TEST_OPTS: container-runtime:containerd
363 - functest-kubernetes-pi-run-containers:
364 <<: *functest-kubernetes-pi-run-containers
367 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security'
368 <<: *functest-kubernetes-pi-params
370 - /home/opnfv/functest-kubernetes/config.{tag}:/root/.kube/config
372 - DEPLOY_SCENARIO=$DEPLOY_SCENARIO
373 - E2E_TEST_OPTS=$E2E_TEST_OPTS
374 container: 'functest-kubernetes-security'
382 - 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-{tag}-{test}-run'
385 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-{tag}-{test}-run'
387 - functest-kubernetes-pi-slave:
389 - functest-kubernetes-pi-build_tag:
391 - functest-kubernetes-pi-DEPLOY_SCENARIO:
392 DEPLOY_SCENARIO: k8-nosdn-nofeature-noha
393 - functest-kubernetes-pi-E2E_TEST_OPTS:
394 E2E_TEST_OPTS: container-runtime:containerd
396 - functest-kubernetes-pi-run-containers:
397 <<: *functest-kubernetes-pi-run-containers
400 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking'
401 <<: *functest-kubernetes-pi-params
403 - /home/opnfv/functest-kubernetes/config.{tag}:/root/.kube/config
405 - DEPLOY_SCENARIO=$DEPLOY_SCENARIO
406 - E2E_TEST_OPTS=$E2E_TEST_OPTS
407 container: 'functest-kubernetes-benchmarking'
409 - xrally_kubernetes_full
414 - 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-{tag}-{test}-run'
417 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-{tag}-{test}-run'
419 - functest-kubernetes-pi-slave:
421 - functest-kubernetes-pi-build_tag:
423 - functest-kubernetes-pi-DEPLOY_SCENARIO:
424 DEPLOY_SCENARIO: k8-nosdn-nofeature-noha
425 - functest-kubernetes-pi-E2E_TEST_OPTS:
426 E2E_TEST_OPTS: container-runtime:containerd
428 - functest-kubernetes-pi-run-containers:
429 <<: *functest-kubernetes-pi-run-containers
432 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf'
433 <<: *functest-kubernetes-pi-params
435 - /home/opnfv/functest-kubernetes/config.{tag}:/root/.kube/config
437 - DEPLOY_SCENARIO=$DEPLOY_SCENARIO
438 - E2E_TEST_OPTS=$E2E_TEST_OPTS
439 container: 'functest-kubernetes-cnf'
447 - 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-{tag}-{test}-run'
450 name: functest-kubernetes-pi-zip
455 if [ "{volumes}" != "None" ]; then
456 for i in $(echo {volumes} | tr -d '[]' |sed "s/, / /g" ); \
457 do volumes="-v $i $volumes"; done
460 if [ "{env}" != "None" ]; then
461 for i in $(eval echo {env} | tr -d '[]' |sed "s/, / /g" ); \
462 do env="-e $i $env"; done
464 [ ! -z "$WORKSPACE" ] && rm -rf $WORKSPACE/results || true
465 if [ "{repo}" = "_" ]; then
466 image={container}:{tag}
467 elif [ "{port}" = "None" ]; then
468 image={repo}/{container}:{tag}
470 image={repo}:{port}/{container}:{tag}
475 -e S3_ENDPOINT_URL=https://storage.googleapis.com \
476 -e S3_DST_URL=s3://artifacts.opnfv.org/functest-kubernetes \
477 -e HTTP_DST_URL=http://artifacts.opnfv.org/functest-kubernetes \
478 -v /home/opnfv/functest-kubernetes/.boto:/root/.boto \
479 -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
480 -e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
481 -e BUILD_TAG=$BUILD_TAG \
482 -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
486 name: 'functest-kubernetes-pi-{tag}-zip'
488 - functest-kubernetes-pi-slave:
490 - functest-kubernetes-pi-build_tag:
492 - functest-kubernetes-pi-DEPLOY_SCENARIO:
493 DEPLOY_SCENARIO: k8-nosdn-nofeature-noha
494 - functest-kubernetes-pi-E2E_TEST_OPTS:
495 E2E_TEST_OPTS: container-runtime:containerd
497 - functest-kubernetes-pi-zip:
498 <<: *functest-kubernetes-pi-containers
503 name: 'functest-kubernetes-pi-{tag}-zip'
504 <<: *functest-kubernetes-pi-params
506 - /home/opnfv/functest-kubernetes/config.{tag}:/root/.kube/config
508 - DEPLOY_SCENARIO=$DEPLOY_SCENARIO
509 - E2E_TEST_OPTS=$E2E_TEST_OPTS
510 container: 'functest-kubernetes-healthcheck'
512 - 'functest-kubernetes-pi-{tag}-zip'
515 name: 'functest-kubernetes-pi-{tag}-daily'
516 project-type: multijob
520 - functest-kubernetes-pi-slave:
522 - functest-kubernetes-pi-build_tag:
524 - functest-kubernetes-pi-DEPLOY_SCENARIO:
525 DEPLOY_SCENARIO: k8-nosdn-nofeature-noha
526 - functest-kubernetes-pi-E2E_TEST_OPTS:
527 E2E_TEST_OPTS: container-runtime:containerd
528 # PyYAML and yamllint differ here
529 # see https://github.com/yaml/pyyaml/issues/234
530 # yamllint disable rule:indentation
534 - ^functest-kubernetes-(pi-)*{tag}-(daily|docker|review)$
535 # yamllint enable rule:indentation
538 name: remove former images
540 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-{tag}-rmi'
541 <<: *functest-kubernetes-pi-jobs
542 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-rmi'
543 <<: *functest-kubernetes-pi-jobs
544 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-{tag}-rmi'
545 <<: *functest-kubernetes-pi-jobs
546 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-{tag}-rmi'
547 <<: *functest-kubernetes-pi-jobs
548 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-{tag}-rmi'
549 <<: *functest-kubernetes-pi-jobs
551 name: pull containers
553 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-{tag}-pull'
554 <<: *functest-kubernetes-pi-jobs
555 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-pull'
556 <<: *functest-kubernetes-pi-jobs
557 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-{tag}-pull'
558 <<: *functest-kubernetes-pi-jobs
559 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-{tag}-pull'
560 <<: *functest-kubernetes-pi-jobs
561 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-{tag}-pull'
562 <<: *functest-kubernetes-pi-jobs
564 name: ollivier/functest-kubernetes-healthcheck:{tag}
566 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-{tag}-k8s_quick-run'
567 <<: *functest-kubernetes-pi-jobs
568 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-{tag}-k8s_smoke-run'
569 <<: *functest-kubernetes-pi-jobs
571 name: ollivier/functest-kubernetes-smoke:{tag}
572 execution-type: SEQUENTIALLY
574 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-xrally_kubernetes-run'
575 <<: *functest-kubernetes-pi-jobs
576 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-k8s_io-run'
577 <<: *functest-kubernetes-pi-jobs
578 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-k8s_conformance-run'
579 <<: *functest-kubernetes-pi-jobs
580 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-k8s_conformance_serial-run'
581 <<: *functest-kubernetes-pi-jobs
582 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_api_machinery-run'
583 <<: *functest-kubernetes-pi-jobs
584 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_api_machinery_serial-run'
585 <<: *functest-kubernetes-pi-jobs
586 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_apps-run'
587 <<: *functest-kubernetes-pi-jobs
588 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_apps_serial-run'
589 <<: *functest-kubernetes-pi-jobs
590 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_auth-run'
591 <<: *functest-kubernetes-pi-jobs
592 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_cluster_lifecycle-run'
593 <<: *functest-kubernetes-pi-jobs
594 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_instrumentation-run'
595 <<: *functest-kubernetes-pi-jobs
596 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_network-run'
597 <<: *functest-kubernetes-pi-jobs
598 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_node-run'
599 <<: *functest-kubernetes-pi-jobs
600 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_scheduling_serial-run'
601 <<: *functest-kubernetes-pi-jobs
602 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_storage-run'
603 <<: *functest-kubernetes-pi-jobs
604 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-sig_storage_serial-run'
605 <<: *functest-kubernetes-pi-jobs
607 name: ollivier/functest-kubernetes-security:{tag}
609 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-{tag}-kube_hunter-run'
610 <<: *functest-kubernetes-pi-jobs
611 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-{tag}-kube_bench_master-run'
612 <<: *functest-kubernetes-pi-jobs
613 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-{tag}-kube_bench_node-run'
614 <<: *functest-kubernetes-pi-jobs
616 name: ollivier/functest-kubernetes-benchmarking:{tag}
618 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-{tag}-xrally_kubernetes_full-run'
619 <<: *functest-kubernetes-pi-jobs
620 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-{tag}-netperf-run'
621 <<: *functest-kubernetes-pi-jobs
623 name: ollivier/functest-kubernetes-cnf:{tag}
625 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-{tag}-k8s_vims-run'
626 <<: *functest-kubernetes-pi-jobs
627 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-{tag}-helm_vims-run'
628 <<: *functest-kubernetes-pi-jobs
629 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-{tag}-cnf_testsuite-run'
630 <<: *functest-kubernetes-pi-jobs
632 name: dump all campaign data
634 - name: 'functest-kubernetes-pi-{tag}-zip'
635 <<: *functest-kubernetes-pi-jobs
638 recipients: cedric.ollivier@orange.com
641 name: 'functest-kubernetes-pi-daily'
642 <<: *functest-kubernetes-pi-params
644 - 'functest-kubernetes-pi-{tag}-daily'
647 name: functest-kubernetes-pi
656 regex: ^functest-kubernetes-pi-[a-z-0-9.]+-daily$