2 - cntt-jobs: &cntt-jobs
4 current-parameters: true
6 - cntt-params: &cntt-params
37 name: cntt-EXTERNAL_NETWORK
40 name: EXTERNAL_NETWORK
43 - cntt-containers: &cntt-containers
44 name: 'cntt-containers'
47 container: '{container}'
48 functest_tag: '{functest_tag}'
50 - cntt-run-containers: &cntt-run-containers
51 name: 'cntt-run-containers'
56 name: cntt-pull-containers
60 if [ "{repo}" = "_" ]; then
61 image={container}:{functest_tag}
62 elif [ "{port}" = "None" ]; then
63 image={repo}/{container}:{functest_tag}
65 image={repo}:{port}/{container}:{functest_tag}
67 sudo docker pull $image
70 name: cntt-run-containers
74 [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true
75 if [ "{repo}" = "_" ]; then
76 image={container}:{functest_tag}
77 elif [ "{port}" = "None" ]; then
78 image={repo}/{container}:{functest_tag}
80 image={repo}:{port}/{container}:{functest_tag}
82 sudo docker run --rm \
83 -e S3_ENDPOINT_URL=https://storage.googleapis.com \
84 -e S3_DST_URL=s3://artifacts.opnfv.org/cntt/$BUILD_TAG/$JOB_NAME-$BUILD_ID \
85 -e HTTP_DST_URL=http://artifacts.opnfv.org/cntt/$BUILD_TAG/$JOB_NAME-$BUILD_ID \
86 -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
87 -e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
89 -e INSTALLER_TYPE=cntt \
90 -e BUILD_TAG=$BUILD_TAG \
91 -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
92 -v /home/opnfv/functest/.boto:/root/.boto \
94 -e EXTERNAL_NETWORK=$EXTERNAL_NETWORK \
95 -e DEPLOY_SCENARIO=os-nosdn-nofeature-ha \
96 -v /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file \
97 -v /home/opnfv/functest/images:/home/opnfv/functest/images \
98 -v /home/opnfv/functest/tempest_conf.yaml:/usr/lib/python2.7/\
99 site-packages/functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml \
100 $image run_tests -t {test} -r -p
103 name: cntt-remove-images
107 if [ "{repo}" = "_" ]; then
108 image={container}:{functest_tag}
109 elif [ "{port}" = "None" ]; then
110 image={repo}/{container}:{functest_tag}
112 image={repo}:{port}/{container}:{functest_tag}
114 sudo docker rmi $image || true
122 sudo -H -E -u opnfv bash -c 'tools/deploy.sh $slave deploy_site'
128 url: https://gerrit.opnfv.org/gerrit/airship
129 refspec: '+refs/changes/*:refs/changes/*'
141 name: 'cntt-deploy-daily-{tag}'
154 name: 'cntt-deploy-gate-{tag}'
168 - 'cntt-deploy-daily-{tag}'
169 - 'cntt-deploy-gate-{tag}'
172 name: 'cntt-{repo}-{container}-{tag}-pull'
177 - cntt-pull-containers:
181 name: 'cntt-opnfv-functest-healthcheck-pull'
183 container: 'functest-healthcheck'
185 - 'cntt-{repo}-{container}-{tag}-pull'
188 name: 'cntt-opnfv-functest-smoke-pull'
190 container: 'functest-smoke'
192 - 'cntt-{repo}-{container}-{tag}-pull'
195 name: 'cntt-opnfv-functest-smoke-cntt-pull'
197 container: 'functest-smoke-cntt'
199 - 'cntt-{repo}-{container}-{tag}-pull'
202 name: 'cntt-opnfv-functest-benchmarking-pull'
204 container: 'functest-benchmarking'
206 - 'cntt-{repo}-{container}-{tag}-pull'
209 name: 'cntt-opnfv-functest-vnf-pull'
211 container: 'functest-vnf'
213 - 'cntt-{repo}-{container}-{tag}-pull'
216 name: 'cntt-{repo}-{container}-{tag}-rmi'
221 - cntt-remove-images:
225 name: 'cntt-opnfv-functest-healthcheck-rmi'
227 container: 'functest-healthcheck'
229 - 'cntt-{repo}-{container}-{tag}-rmi'
232 name: 'cntt-opnfv-functest-smoke-rmi'
234 container: 'functest-smoke'
236 - 'cntt-{repo}-{container}-{tag}-rmi'
239 name: 'cntt-opnfv-functest-smoke-cntt-rmi'
241 container: 'functest-smoke-cntt'
243 - 'cntt-{repo}-{container}-{tag}-rmi'
246 name: 'cntt-opnfv-functest-benchmarking-rmi'
248 container: 'functest-benchmarking'
250 - 'cntt-{repo}-{container}-{tag}-rmi'
253 name: 'cntt-opnfv-functest-vnf-rmi'
255 container: 'functest-vnf'
257 - 'cntt-{repo}-{container}-{tag}-rmi'
260 name: 'cntt-{repo}-{container}-{tag}-{test}-run'
268 - cntt-EXTERNAL_NETWORK:
269 EXTERNAL_NETWORK: public
271 - cntt-run-containers:
272 <<: *cntt-run-containers
275 name: 'cntt-opnfv-functest-healthcheck'
277 container: 'functest-healthcheck'
292 - 'cntt-{repo}-{container}-{tag}-{test}-run'
295 name: 'cntt-opnfv-functest-smoke'
297 container: 'functest-smoke'
299 - neutron-tempest-plugin-api
313 - 'cntt-{repo}-{container}-{tag}-{test}-run'
316 name: 'cntt-opnfv-functest-smoke-cntt'
318 container: 'functest-smoke-cntt'
320 - neutron-tempest-plugin-api
328 - 'cntt-{repo}-{container}-{tag}-{test}-run'
331 name: 'cntt-opnfv-functest-benchmarking'
333 container: 'functest-benchmarking'
340 - 'cntt-{repo}-{container}-{tag}-{test}-run'
343 name: 'cntt-opnfv-functest-vnf'
345 container: 'functest-vnf'
353 - 'cntt-{repo}-{container}-{tag}-{test}-run'
360 [ ! -z "$WORKSPACE" ] && rm -rf $WORKSPACE/* || true
361 if [ "{repo}" = "_" ]; then
362 image={container}:{functest_tag}
363 elif [ "{port}" = "None" ]; then
364 image={repo}/{container}:{functest_tag}
366 image={repo}:{port}/{container}:{functest_tag}
369 -e S3_ENDPOINT_URL=https://storage.googleapis.com \
370 -e S3_DST_URL=s3://artifacts.opnfv.org/airship \
371 -e HTTP_DST_URL=http://artifacts.opnfv.org/airship/ \
372 -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
373 -e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
374 -e BUILD_TAG=$BUILD_TAG \
375 -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
379 name: 'cntt-{tag}-zip'
388 name: 'cntt-{tag}-zip'
390 container: 'functest-healthcheck'
395 name: 'cntt-{tag}-daily'
396 project-type: multijob
408 - cntt-EXTERNAL_NETWORK:
409 EXTERNAL_NETWORK: public
412 use-build-blocker: true
413 blocking-level: 'NODE'
415 - '^cntt-{tag}-(daily|gate)$'
420 - name: 'cntt-deploy-daily-{tag}'
423 name: remove former images
425 - name: 'cntt-opnfv-functest-healthcheck-{tag}-rmi'
427 - name: 'cntt-opnfv-functest-smoke-{tag}-rmi'
429 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-rmi'
431 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rmi'
433 - name: 'cntt-opnfv-functest-vnf-{tag}-rmi'
436 name: pull containers
438 - name: 'cntt-opnfv-functest-healthcheck-{tag}-pull'
440 - name: 'cntt-opnfv-functest-smoke-{tag}-pull'
442 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-pull'
444 - name: 'cntt-opnfv-functest-benchmarking-{tag}-pull'
446 - name: 'cntt-opnfv-functest-vnf-{tag}-pull'
449 name: opnfv/functest-healthcheck:{functest_tag}
452 - name: 'cntt-opnfv-functest-healthcheck-{tag}-connection_check-run'
454 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork1-run'
456 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork2-run'
458 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready1-run'
460 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready2-run'
462 - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm1-run'
464 - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm2-run'
466 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_ssh-run'
468 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_userdata-run'
470 - name: 'cntt-opnfv-functest-healthcheck-{tag}-cinder_test-run'
472 - name: 'cntt-opnfv-functest-healthcheck-{tag}-odl-run'
474 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tempest_smoke-run'
477 name: opnfv/functest-smoke:{functest_tag}
480 - name: 'cntt-opnfv-functest-smoke-{tag}-neutron-tempest-plugin-api-run'
482 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_cinder-run'
484 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_keystone-run'
486 - name: 'cntt-opnfv-functest-smoke-{tag}-rally_sanity-run'
488 - name: 'cntt-opnfv-functest-smoke-{tag}-refstack_defcore-run'
490 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_full-run'
492 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_scenario-run'
494 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_slow-run'
496 - name: 'cntt-opnfv-functest-smoke-{tag}-patrole-run'
498 - name: 'cntt-opnfv-functest-smoke-{tag}-neutron_trunk-run'
500 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-bgpvpn-run'
502 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-sfc-run'
504 - name: 'cntt-opnfv-functest-smoke-{tag}-barbican-run'
507 name: opnfv/functest-smoke-cntt:{tag}
510 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-neutron-tempest-plugin-api-run'
512 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_cinder-run'
514 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_keystone-run'
516 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-rally_sanity-run'
518 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_full-run'
520 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_scenario-run'
522 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_slow-run'
525 name: opnfv/functest-benchmarking:{functest_tag}
528 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rally_full-run'
530 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rally_jobs-run'
532 - name: 'cntt-opnfv-functest-benchmarking-{tag}-vmtp-run'
534 - name: 'cntt-opnfv-functest-benchmarking-{tag}-shaker-run'
537 name: opnfv/functest-vnf:{functest_tag}
539 execution-type: SEQUENTIALLY
541 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify-run'
543 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify_ims-run'
545 - name: 'cntt-opnfv-functest-vnf-{tag}-heat_ims-run'
547 - name: 'cntt-opnfv-functest-vnf-{tag}-vyos_vrouter-run'
549 - name: 'cntt-opnfv-functest-vnf-{tag}-juju_epc-run'
552 name: dump all campaign data
554 - name: 'cntt-{tag}-zip'
558 name: cntt-patchset-created
561 server-name: 'gerrit.opnfv.org'
563 - patchset-created-event
564 - comment-added-contains-event:
565 comment-contains-value: 'recheck'
566 - comment-added-contains-event:
567 comment-contains-value: 'reverify'
569 - project-compare-type: 'ANT'
570 project-pattern: 'airship'
572 - branch-compare-type: 'ANT'
573 branch-pattern: '**/{branch}'
581 name: 'cntt-{tag}-gate'
582 project-type: multijob
585 - cntt-patchset-created:
594 - cntt-EXTERNAL_NETWORK:
595 EXTERNAL_NETWORK: public
598 use-build-blocker: true
599 blocking-level: 'NODE'
601 - '^cntt-{tag}-(daily|gate)$'
606 - name: 'cntt-deploy-gate-{tag}'
609 name: remove former images
611 - name: 'cntt-opnfv-functest-healthcheck-{tag}-rmi'
613 - name: 'cntt-opnfv-functest-smoke-{tag}-rmi'
615 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-rmi'
617 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rmi'
619 - name: 'cntt-opnfv-functest-vnf-{tag}-rmi'
622 name: pull containers
624 - name: 'cntt-opnfv-functest-healthcheck-{tag}-pull'
626 - name: 'cntt-opnfv-functest-smoke-{tag}-pull'
628 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-pull'
630 - name: 'cntt-opnfv-functest-benchmarking-{tag}-pull'
632 - name: 'cntt-opnfv-functest-vnf-{tag}-pull'
635 name: opnfv/functest-healthcheck:{functest_tag}
637 - name: 'cntt-opnfv-functest-healthcheck-{tag}-connection_check-run'
639 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork1-run'
641 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork2-run'
643 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready1-run'
645 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready2-run'
647 - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm1-run'
649 - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm2-run'
651 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_ssh-run'
653 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_userdata-run'
655 - name: 'cntt-opnfv-functest-healthcheck-{tag}-cinder_test-run'
657 - name: 'cntt-opnfv-functest-healthcheck-{tag}-odl-run'
660 name: opnfv/functest-smoke:{functest_tag}
662 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_scenario-run'
664 - name: 'cntt-opnfv-functest-smoke-{tag}-neutron_trunk-run'
666 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-bgpvpn-run'
668 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-sfc-run'
670 - name: 'cntt-opnfv-functest-smoke-{tag}-barbican-run'
673 name: opnfv/functest-benchmarking:{functest_tag}
675 - name: 'cntt-opnfv-functest-benchmarking-{tag}-vmtp-run'
677 - name: 'cntt-opnfv-functest-benchmarking-{tag}-shaker-run'
680 name: opnfv/functest-vnf:{functest_tag}
682 execution-type: SEQUENTIALLY
684 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify-run'
686 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify_ims-run'
688 - name: 'cntt-opnfv-functest-vnf-{tag}-heat_ims-run'
690 - name: 'cntt-opnfv-functest-vnf-{tag}-vyos_vrouter-run'
692 - name: 'cntt-opnfv-functest-vnf-{tag}-juju_epc-run'
712 regex: ^cntt-[a-z]+-(daily|check|gate)$