2 - cntt-jobs: &cntt-jobs
4 current-parameters: true
6 - cntt-params: &cntt-params
31 name: cntt-EXTERNAL_NETWORK
34 name: EXTERNAL_NETWORK
37 - cntt-containers: &cntt-containers
38 name: 'cntt-containers'
41 container: '{container}'
42 functest_tag: '{functest_tag}'
44 - cntt-run-containers: &cntt-run-containers
45 name: 'cntt-run-containers'
50 name: cntt-pull-containers
54 if [ "{repo}" = "_" ]; then
55 image={container}:{functest_tag}
56 elif [ "{port}" = "None" ]; then
57 image={repo}/{container}:{functest_tag}
59 image={repo}:{port}/{container}:{functest_tag}
61 sudo docker pull $image
64 name: cntt-run-containers
68 [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true
69 if [ "{repo}" = "_" ]; then
70 image={container}:{functest_tag}
71 elif [ "{port}" = "None" ]; then
72 image={repo}/{container}:{functest_tag}
74 image={repo}:{port}/{container}:{functest_tag}
76 sudo docker run --rm \
77 -e S3_ENDPOINT_URL=https://storage.googleapis.com \
78 -e S3_DST_URL=s3://artifacts.opnfv.org/xtesting/$JOB_NAME-$BUILD_ID \
79 -e HTTP_DST_URL=http://artifacts.opnfv.org/xtesting/$JOB_NAME-$BUILD_ID \
80 -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
81 -e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
83 -e INSTALLER_TYPE=cntt \
84 -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
85 -v /home/opnfv/functest/.boto:/root/.boto \
87 -e EXTERNAL_NETWORK=$EXTERNAL_NETWORK \
88 -e DEPLOY_SCENARIO=os-nosdn-nofeature-ha \
89 -v /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file \
90 -v /home/opnfv/functest/images:/home/opnfv/functest/images \
91 -v /home/opnfv/functest/tempest_conf.yaml:/usr/lib/python2.7/\
92 site-packages/functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml \
93 $image run_tests -t {test} -r -p
96 name: cntt-remove-images
100 if [ "{repo}" = "_" ]; then
101 image={container}:{functest_tag}
102 elif [ "{port}" = "None" ]; then
103 image={repo}/{container}:{functest_tag}
105 image={repo}:{port}/{container}:{functest_tag}
107 sudo docker rmi $image || true
115 sudo -H -E -u opnfv bash -c 'tools/deploy.sh $slave deploy_site'
121 url: https://gerrit.opnfv.org/gerrit/airship
122 refspec: '+refs/changes/*:refs/changes/*'
134 name: 'cntt-deploy-daily-{tag}'
147 name: 'cntt-deploy-gate-{tag}'
161 - 'cntt-deploy-daily-{tag}'
162 - 'cntt-deploy-gate-{tag}'
165 name: 'cntt-{repo}-{container}-{tag}-pull'
170 - cntt-pull-containers:
174 name: 'cntt-opnfv-functest-healthcheck-pull'
176 container: 'functest-healthcheck'
178 - 'cntt-{repo}-{container}-{tag}-pull'
181 name: 'cntt-opnfv-functest-smoke-pull'
183 container: 'functest-smoke'
185 - 'cntt-{repo}-{container}-{tag}-pull'
188 name: 'cntt-opnfv-functest-smoke-cntt-pull'
190 container: 'functest-smoke-cntt'
192 - 'cntt-{repo}-{container}-{tag}-pull'
195 name: 'cntt-opnfv-functest-benchmarking-pull'
197 container: 'functest-benchmarking'
199 - 'cntt-{repo}-{container}-{tag}-pull'
202 name: 'cntt-opnfv-functest-vnf-pull'
204 container: 'functest-vnf'
206 - 'cntt-{repo}-{container}-{tag}-pull'
209 name: 'cntt-{repo}-{container}-{tag}-rmi'
214 - cntt-remove-images:
218 name: 'cntt-opnfv-functest-healthcheck-rmi'
220 container: 'functest-healthcheck'
222 - 'cntt-{repo}-{container}-{tag}-rmi'
225 name: 'cntt-opnfv-functest-smoke-rmi'
227 container: 'functest-smoke'
229 - 'cntt-{repo}-{container}-{tag}-rmi'
232 name: 'cntt-opnfv-functest-smoke-cntt-rmi'
234 container: 'functest-smoke-cntt'
236 - 'cntt-{repo}-{container}-{tag}-rmi'
239 name: 'cntt-opnfv-functest-benchmarking-rmi'
241 container: 'functest-benchmarking'
243 - 'cntt-{repo}-{container}-{tag}-rmi'
246 name: 'cntt-opnfv-functest-vnf-rmi'
248 container: 'functest-vnf'
250 - 'cntt-{repo}-{container}-{tag}-rmi'
253 name: 'cntt-{repo}-{container}-{tag}-{test}-run'
259 - cntt-EXTERNAL_NETWORK:
260 EXTERNAL_NETWORK: public
262 - cntt-run-containers:
263 <<: *cntt-run-containers
266 name: 'cntt-opnfv-functest-healthcheck'
268 container: 'functest-healthcheck'
283 - 'cntt-{repo}-{container}-{tag}-{test}-run'
286 name: 'cntt-opnfv-functest-smoke'
288 container: 'functest-smoke'
290 - neutron-tempest-plugin-api
301 - 'cntt-{repo}-{container}-{tag}-{test}-run'
304 name: 'cntt-opnfv-functest-smoke-cntt'
306 container: 'functest-smoke-cntt'
308 - neutron-tempest-plugin-api
316 - 'cntt-{repo}-{container}-{tag}-{test}-run'
319 name: 'cntt-opnfv-functest-benchmarking'
321 container: 'functest-benchmarking'
328 - 'cntt-{repo}-{container}-{tag}-{test}-run'
331 name: 'cntt-opnfv-functest-vnf'
333 container: 'functest-vnf'
341 - 'cntt-{repo}-{container}-{tag}-{test}-run'
344 name: 'cntt-{tag}-daily'
345 project-type: multijob
355 - cntt-EXTERNAL_NETWORK:
356 EXTERNAL_NETWORK: public
359 use-build-blocker: true
360 blocking-level: 'NODE'
362 - '^cntt-{tag}-(daily|gate)$'
367 - name: 'cntt-deploy-daily-{tag}'
370 name: remove former images
372 - name: 'cntt-opnfv-functest-healthcheck-{tag}-rmi'
374 - name: 'cntt-opnfv-functest-smoke-{tag}-rmi'
376 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-rmi'
378 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rmi'
380 - name: 'cntt-opnfv-functest-vnf-{tag}-rmi'
383 name: pull containers
385 - name: 'cntt-opnfv-functest-healthcheck-{tag}-pull'
387 - name: 'cntt-opnfv-functest-smoke-{tag}-pull'
389 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-pull'
391 - name: 'cntt-opnfv-functest-benchmarking-{tag}-pull'
393 - name: 'cntt-opnfv-functest-vnf-{tag}-pull'
396 name: opnfv/functest-healthcheck:{functest_tag}
399 - name: 'cntt-opnfv-functest-healthcheck-{tag}-connection_check-run'
401 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork1-run'
403 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork2-run'
405 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready1-run'
407 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready2-run'
409 - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm1-run'
411 - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm2-run'
413 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_ssh-run'
415 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_userdata-run'
417 - name: 'cntt-opnfv-functest-healthcheck-{tag}-cinder_test-run'
419 - name: 'cntt-opnfv-functest-healthcheck-{tag}-odl-run'
421 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tempest_smoke-run'
424 name: opnfv/functest-smoke:{functest_tag}
427 - name: 'cntt-opnfv-functest-smoke-{tag}-neutron-tempest-plugin-api-run'
429 - name: 'cntt-opnfv-functest-smoke-{tag}-rally_sanity-run'
431 - name: 'cntt-opnfv-functest-smoke-{tag}-refstack_defcore-run'
433 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_full-run'
435 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_scenario-run'
437 - name: 'cntt-opnfv-functest-smoke-{tag}-patrole-run'
439 - name: 'cntt-opnfv-functest-smoke-{tag}-neutron_trunk-run'
441 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-bgpvpn-run'
443 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-sfc-run'
445 - name: 'cntt-opnfv-functest-smoke-{tag}-barbican-run'
448 name: opnfv/functest-smoke-cntt:{tag}
450 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-neutron-tempest-plugin-api-run'
452 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_cinder-run'
454 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_keystone-run'
456 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-rally_sanity-run'
458 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_full-run'
460 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_scenario-run'
462 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_slow-run'
465 name: opnfv/functest-benchmarking:{functest_tag}
468 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rally_full-run'
470 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rally_jobs-run'
472 - name: 'cntt-opnfv-functest-benchmarking-{tag}-vmtp-run'
474 - name: 'cntt-opnfv-functest-benchmarking-{tag}-shaker-run'
477 name: opnfv/functest-vnf:{functest_tag}
479 execution-type: SEQUENTIALLY
481 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify-run'
483 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify_ims-run'
485 - name: 'cntt-opnfv-functest-vnf-{tag}-heat_ims-run'
487 - name: 'cntt-opnfv-functest-vnf-{tag}-vyos_vrouter-run'
489 - name: 'cntt-opnfv-functest-vnf-{tag}-juju_epc-run'
493 name: cntt-patchset-created
496 server-name: 'gerrit.opnfv.org'
498 - patchset-created-event
499 - comment-added-contains-event:
500 comment-contains-value: 'recheck'
501 - comment-added-contains-event:
502 comment-contains-value: 'reverify'
504 - project-compare-type: 'ANT'
505 project-pattern: 'airship'
507 - branch-compare-type: 'ANT'
508 branch-pattern: '**/{branch}'
516 name: 'cntt-{tag}-gate'
517 project-type: multijob
520 - cntt-patchset-created:
527 - cntt-EXTERNAL_NETWORK:
528 EXTERNAL_NETWORK: public
531 use-build-blocker: true
532 blocking-level: 'NODE'
534 - '^cntt-{tag}-(daily|gate)$'
539 - name: 'cntt-deploy-gate-{tag}'
542 name: remove former images
544 - name: 'cntt-opnfv-functest-healthcheck-{tag}-rmi'
546 - name: 'cntt-opnfv-functest-smoke-{tag}-rmi'
548 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-rmi'
550 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rmi'
552 - name: 'cntt-opnfv-functest-vnf-{tag}-rmi'
555 name: pull containers
557 - name: 'cntt-opnfv-functest-healthcheck-{tag}-pull'
559 - name: 'cntt-opnfv-functest-smoke-{tag}-pull'
561 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-pull'
563 - name: 'cntt-opnfv-functest-benchmarking-{tag}-pull'
565 - name: 'cntt-opnfv-functest-vnf-{tag}-pull'
568 name: opnfv/functest-healthcheck:{functest_tag}
570 - name: 'cntt-opnfv-functest-healthcheck-{tag}-connection_check-run'
572 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork1-run'
574 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork2-run'
576 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready1-run'
578 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready2-run'
580 - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm1-run'
582 - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm2-run'
584 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_ssh-run'
586 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_userdata-run'
588 - name: 'cntt-opnfv-functest-healthcheck-{tag}-cinder_test-run'
590 - name: 'cntt-opnfv-functest-healthcheck-{tag}-odl-run'
593 name: opnfv/functest-smoke:{functest_tag}
595 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_scenario-run'
597 - name: 'cntt-opnfv-functest-smoke-{tag}-neutron_trunk-run'
599 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-bgpvpn-run'
601 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-sfc-run'
603 - name: 'cntt-opnfv-functest-smoke-{tag}-barbican-run'
606 name: opnfv/functest-smoke-cntt:{tag}
608 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-neutron-tempest-plugin-api-run'
610 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_cinder-run'
612 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_keystone-run'
614 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-rally_sanity-run'
616 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_full-run'
618 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_scenario-run'
620 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_slow-run'
623 name: opnfv/functest-benchmarking:{functest_tag}
625 - name: 'cntt-opnfv-functest-benchmarking-{tag}-vmtp-run'
627 - name: 'cntt-opnfv-functest-benchmarking-{tag}-shaker-run'
630 name: opnfv/functest-vnf:{functest_tag}
632 execution-type: SEQUENTIALLY
634 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify-run'
636 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify_ims-run'
638 - name: 'cntt-opnfv-functest-vnf-{tag}-heat_ims-run'
640 - name: 'cntt-opnfv-functest-vnf-{tag}-vyos_vrouter-run'
642 - name: 'cntt-opnfv-functest-vnf-{tag}-juju_epc-run'
662 regex: ^cntt-[a-z]+-(daily|check|gate)$