2 - functest-kubernetes-pi-jobs: &functest-kubernetes-pi-jobs
3 name: 'functest-kubernetes-pi-jobs'
4 current-parameters: true
6 - functest-kubernetes-pi-params: &functest-kubernetes-pi-params
7 name: 'functest-kubernetes-pi-params'
58 name: functest-kubernetes-pi-slave
65 name: functest-kubernetes-pi-build_tag
71 name: functest-kubernetes-pi-branch
78 name: functest-kubernetes-pi-DEPLOY_SCENARIO
82 default: k8-nosdn-nofeature-noha
84 name: functest-kubernetes-pi-DEBUG
90 - functest-kubernetes-pi-containers: &functest-kubernetes-pi-containers
91 name: 'functest-kubernetes-pi-containers'
94 container: '{container}'
97 - functest-kubernetes-pi-run-containers: &functest-kubernetes-pi-run-containers
98 name: 'functest-kubernetes-pi-run-containers'
99 <<: *functest-kubernetes-pi-containers
101 privileged: '{privileged}'
105 name: functest-kubernetes-pi-pull-containers
109 if [ "{repo}" = "_" ]; then
110 image={container}:{tag}
111 elif [ "{port}" = "None" ]; then
112 image={repo}/{container}:{tag}
114 image={repo}:{port}/{container}:{tag}
119 name: functest-kubernetes-pi-run-containers
123 [ ! -z "$WORKSPACE" ] && rm -rf $WORKSPACE/* || true
124 if [ "{repo}" = "_" ]; then
125 image={container}:{tag}
126 elif [ "{port}" = "None" ]; then
127 image={repo}/{container}:{tag}
129 image={repo}:{port}/{container}:{tag}
132 --privileged={privileged} \
133 --network={network} \
134 -e S3_ENDPOINT_URL=https://storage.googleapis.com \
135 -e S3_DST_URL=s3://artifacts.opnfv.org/functest-kubernetes/$BUILD_TAG/$JOB_NAME-$BUILD_ID \
136 -e HTTP_DST_URL=http://artifacts.opnfv.org/functest-kubernetes/$BUILD_TAG/$JOB_NAME-$BUILD_ID \
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 -e DEPLOY_SCENARIO=$DEPLOY_SCENARIO \
144 -v /home/opnfv/functest-kubernetes/config.{tag}:/root/.kube/config \
145 -v /home/opnfv/functest-kubernetes/.boto:/root/.boto \
146 $image run_tests -t {test} -p -r
149 name: functest-kubernetes-pi-remove-images
153 if [ "{repo}" = "_" ]; then
154 image={container}:{tag}
155 elif [ "{port}" = "None" ]; then
156 image={repo}/{container}:{tag}
158 image={repo}:{port}/{container}:{tag}
160 docker rmi $image || true
164 name: 'functest-kubernetes-pi-{repo}-{container}-{tag}-pull'
166 - functest-kubernetes-pi-slave:
169 - functest-kubernetes-pi-pull-containers:
170 <<: *functest-kubernetes-pi-containers
173 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-pull'
174 <<: *functest-kubernetes-pi-params
175 container: 'functest-kubernetes-healthcheck'
180 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-pull'
183 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-pull'
184 <<: *functest-kubernetes-pi-params
185 container: 'functest-kubernetes-smoke'
190 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-pull'
193 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-pull'
194 <<: *functest-kubernetes-pi-params
195 container: 'functest-kubernetes-security'
197 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-pull'
200 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-pull'
201 <<: *functest-kubernetes-pi-params
202 container: 'functest-kubernetes-benchmarking'
207 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-pull'
210 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-pull'
211 <<: *functest-kubernetes-pi-params
212 container: 'functest-kubernetes-cnf'
214 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-pull'
217 name: 'functest-kubernetes-pi-{repo}-{container}-{tag}-rmi'
219 - functest-kubernetes-pi-slave:
222 - functest-kubernetes-pi-remove-images:
223 <<: *functest-kubernetes-pi-containers
226 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-rmi'
227 <<: *functest-kubernetes-pi-params
228 container: 'functest-kubernetes-healthcheck'
233 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-rmi'
236 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-rmi'
237 <<: *functest-kubernetes-pi-params
238 container: 'functest-kubernetes-smoke'
243 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-rmi'
246 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-rmi'
247 <<: *functest-kubernetes-pi-params
248 container: 'functest-kubernetes-security'
250 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-rmi'
253 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-rmi'
254 <<: *functest-kubernetes-pi-params
255 container: 'functest-kubernetes-benchmarking'
260 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-rmi'
263 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-rmi'
264 <<: *functest-kubernetes-pi-params
265 container: 'functest-kubernetes-cnf'
267 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-rmi'
270 name: 'functest-kubernetes-pi-{repo}-{container}-{tag}-{test}-run'
272 - functest-kubernetes-pi-slave:
274 - functest-kubernetes-pi-build_tag:
276 - functest-kubernetes-pi-DEPLOY_SCENARIO:
277 DEPLOY_SCENARIO: k8-nosdn-nofeature-noha
278 - functest-kubernetes-pi-DEBUG:
281 - functest-kubernetes-pi-run-containers:
282 <<: *functest-kubernetes-pi-run-containers
285 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck'
286 <<: *functest-kubernetes-pi-params
287 container: 'functest-kubernetes-healthcheck'
296 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-{test}-run'
299 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke'
300 <<: *functest-kubernetes-pi-params
301 container: 'functest-kubernetes-smoke'
311 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-{test}-run'
314 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security'
315 <<: *functest-kubernetes-pi-params
316 container: 'functest-kubernetes-security'
323 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-{test}-run'
326 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking'
327 <<: *functest-kubernetes-pi-params
328 container: 'functest-kubernetes-benchmarking'
330 - xrally_kubernetes_full
337 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-{test}-run'
340 name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf'
341 <<: *functest-kubernetes-pi-params
342 container: 'functest-kubernetes-cnf'
347 test: cnf_conformance
349 test: cnf_conformance
351 test: cnf_conformance
353 test: cnf_conformance
355 test: cnf_conformance
357 test: cnf_conformance
359 test: cnf_conformance
361 test: cnf_conformance
363 test: cnf_conformance
365 test: cnf_conformance
367 test: cnf_conformance
369 test: cnf_conformance
371 test: cnf_conformance
373 test: cnf_conformance
375 test: cnf_conformance
379 - 'functest-kubernetes-pi-{repo}-{container}-{tag}-{test}-run'
383 name: functest-kubernetes-pi-zip
387 [ ! -z "$WORKSPACE" ] && rm -rf $WORKSPACE/* || true
388 if [ "{repo}" = "_" ]; then
389 image={container}:{tag}
390 elif [ "{port}" = "None" ]; then
391 image={repo}/{container}:{tag}
393 image={repo}:{port}/{container}:{tag}
396 -e S3_ENDPOINT_URL=https://storage.googleapis.com \
397 -e S3_DST_URL=s3://artifacts.opnfv.org/functest-kubernetes \
398 -e HTTP_DST_URL=http://artifacts.opnfv.org/functest-kubernetes \
399 -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
400 -e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
401 -e BUILD_TAG=$BUILD_TAG \
402 -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
403 -e DEPLOY_SCENARIO=$DEPLOY_SCENARIO \
405 -v /home/opnfv/functest-kubernetes/config.{tag}:/root/.kube/config \
406 -v /home/opnfv/functest-kubernetes/.boto:/root/.boto \
410 name: 'functest-kubernetes-pi-{tag}-zip'
412 - functest-kubernetes-pi-slave:
414 - functest-kubernetes-pi-build_tag:
416 - functest-kubernetes-pi-DEPLOY_SCENARIO:
417 DEPLOY_SCENARIO: k8-nosdn-nofeature-noha
418 - functest-kubernetes-pi-DEBUG:
421 - functest-kubernetes-pi-zip:
422 <<: *functest-kubernetes-pi-containers
425 name: 'functest-kubernetes-pi-{tag}-zip'
426 <<: *functest-kubernetes-pi-params
427 container: 'functest-kubernetes-security'
429 - 'functest-kubernetes-pi-{tag}-zip'
432 name: 'functest-kubernetes-pi-{tag}-daily'
433 project-type: multijob
437 - functest-kubernetes-pi-slave:
439 - functest-kubernetes-pi-build_tag:
441 - functest-kubernetes-pi-DEPLOY_SCENARIO:
442 DEPLOY_SCENARIO: k8-nosdn-nofeature-noha
443 - functest-kubernetes-pi-DEBUG:
447 use-build-blocker: true
448 blocking-level: 'GLOBAL'
450 - '^functest-kubernetes(-pi)?-(arm.*-|amd64-)*[a-z]+-(daily|gate|check)$'
453 name: remove former images
455 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-{tag}-rmi'
456 <<: *functest-kubernetes-pi-jobs
457 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-rmi'
458 <<: *functest-kubernetes-pi-jobs
459 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-{tag}-rmi'
460 <<: *functest-kubernetes-pi-jobs
461 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-{tag}-rmi'
462 <<: *functest-kubernetes-pi-jobs
463 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-{tag}-rmi'
464 <<: *functest-kubernetes-pi-jobs
466 name: pull containers
468 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-{tag}-pull'
469 <<: *functest-kubernetes-pi-jobs
470 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-pull'
471 <<: *functest-kubernetes-pi-jobs
472 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-{tag}-pull'
473 <<: *functest-kubernetes-pi-jobs
474 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-{tag}-pull'
475 <<: *functest-kubernetes-pi-jobs
476 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-{tag}-pull'
477 <<: *functest-kubernetes-pi-jobs
479 name: ollivier/functest-kubernetes-healthcheck:{tag}
481 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-{tag}-k8s_smoke-run'
482 <<: *functest-kubernetes-pi-jobs
484 name: ollivier/functest-kubernetes-smoke:{tag}
486 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-xrally_kubernetes-run'
487 <<: *functest-kubernetes-pi-jobs
488 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-k8s_conformance-run'
489 <<: *functest-kubernetes-pi-jobs
491 name: ollivier/functest-kubernetes-security:{tag}
493 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-{tag}-kube_hunter-run'
494 <<: *functest-kubernetes-pi-jobs
495 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-{tag}-kube_bench-run'
496 <<: *functest-kubernetes-pi-jobs
498 name: ollivier/functest-kubernetes-benchmarking:{tag}
500 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-{tag}-xrally_kubernetes_full-run'
501 <<: *functest-kubernetes-pi-jobs
503 name: ollivier/functest-kubernetes-cnf:{tag}
505 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-{tag}-cnf_conformance-run'
506 <<: *functest-kubernetes-pi-jobs
507 - name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-{tag}-k8s_vims-run'
508 <<: *functest-kubernetes-pi-jobs
510 name: dump all campaign data
512 - name: 'functest-kubernetes-pi-{tag}-zip'
513 <<: *functest-kubernetes-pi-jobs
517 name: 'functest-kubernetes-pi'
518 <<: *functest-kubernetes-pi-params
520 - 'functest-kubernetes-pi-{tag}-daily'
523 name: functest-kubernetes-pi
532 regex: ^functest-kubernetes-pi-(arm.*-|amd64-)*[a-z]+-daily$