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" ] && sudo 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}
368 sudo docker run --rm \
369 -e S3_ENDPOINT_URL=https://storage.googleapis.com \
370 -e S3_DST_URL=s3://artifacts.opnfv.org/cntt \
371 -e HTTP_DST_URL=http://artifacts.opnfv.org/cntt/ \
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 \
376 -v /home/opnfv/functest/.boto:/root/.boto \
380 name: 'cntt-{tag}-zip'
389 name: 'cntt-{tag}-zip'
391 container: 'functest-healthcheck'
396 name: 'cntt-{tag}-daily'
397 project-type: multijob
409 - cntt-EXTERNAL_NETWORK:
410 EXTERNAL_NETWORK: public
413 use-build-blocker: true
414 blocking-level: 'NODE'
416 - '^cntt-{tag}-(daily|gate)$'
421 - name: 'cntt-deploy-daily-{tag}'
424 name: remove former images
426 - name: 'cntt-opnfv-functest-healthcheck-{tag}-rmi'
428 - name: 'cntt-opnfv-functest-smoke-{tag}-rmi'
430 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-rmi'
432 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rmi'
434 - name: 'cntt-opnfv-functest-vnf-{tag}-rmi'
437 name: pull containers
439 - name: 'cntt-opnfv-functest-healthcheck-{tag}-pull'
441 - name: 'cntt-opnfv-functest-smoke-{tag}-pull'
443 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-pull'
445 - name: 'cntt-opnfv-functest-benchmarking-{tag}-pull'
447 - name: 'cntt-opnfv-functest-vnf-{tag}-pull'
450 name: opnfv/functest-healthcheck:{functest_tag}
453 - name: 'cntt-opnfv-functest-healthcheck-{tag}-connection_check-run'
455 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork1-run'
457 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork2-run'
459 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready1-run'
461 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready2-run'
463 - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm1-run'
465 - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm2-run'
467 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_ssh-run'
469 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_userdata-run'
471 - name: 'cntt-opnfv-functest-healthcheck-{tag}-cinder_test-run'
473 - name: 'cntt-opnfv-functest-healthcheck-{tag}-odl-run'
475 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tempest_smoke-run'
478 name: opnfv/functest-smoke:{functest_tag}
481 - name: 'cntt-opnfv-functest-smoke-{tag}-neutron-tempest-plugin-api-run'
483 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_cinder-run'
485 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_keystone-run'
487 - name: 'cntt-opnfv-functest-smoke-{tag}-rally_sanity-run'
489 - name: 'cntt-opnfv-functest-smoke-{tag}-refstack_defcore-run'
491 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_full-run'
493 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_scenario-run'
495 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_slow-run'
497 - name: 'cntt-opnfv-functest-smoke-{tag}-patrole-run'
499 - name: 'cntt-opnfv-functest-smoke-{tag}-neutron_trunk-run'
501 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-bgpvpn-run'
503 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-sfc-run'
505 - name: 'cntt-opnfv-functest-smoke-{tag}-barbican-run'
508 name: opnfv/functest-smoke-cntt:{tag}
511 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-neutron-tempest-plugin-api-run'
513 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_cinder-run'
515 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_keystone-run'
517 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-rally_sanity-run'
519 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_full-run'
521 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_scenario-run'
523 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_slow-run'
526 name: opnfv/functest-benchmarking:{functest_tag}
529 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rally_full-run'
531 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rally_jobs-run'
533 - name: 'cntt-opnfv-functest-benchmarking-{tag}-vmtp-run'
535 - name: 'cntt-opnfv-functest-benchmarking-{tag}-shaker-run'
538 name: opnfv/functest-vnf:{functest_tag}
540 execution-type: SEQUENTIALLY
542 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify-run'
544 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify_ims-run'
546 - name: 'cntt-opnfv-functest-vnf-{tag}-heat_ims-run'
548 - name: 'cntt-opnfv-functest-vnf-{tag}-vyos_vrouter-run'
550 - name: 'cntt-opnfv-functest-vnf-{tag}-juju_epc-run'
553 name: dump all campaign data
555 - name: 'cntt-{tag}-zip'
559 name: cntt-patchset-created
562 server-name: 'gerrit.opnfv.org'
564 - patchset-created-event
565 - comment-added-contains-event:
566 comment-contains-value: 'recheck'
567 - comment-added-contains-event:
568 comment-contains-value: 'reverify'
570 - project-compare-type: 'ANT'
571 project-pattern: 'airship'
573 - branch-compare-type: 'ANT'
574 branch-pattern: '**/{branch}'
582 name: 'cntt-{tag}-gate'
583 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}-networking-bgpvpn-run'
666 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-sfc-run'
668 - name: 'cntt-opnfv-functest-smoke-{tag}-barbican-run'
671 name: opnfv/functest-benchmarking:{functest_tag}
673 - name: 'cntt-opnfv-functest-benchmarking-{tag}-vmtp-run'
675 - name: 'cntt-opnfv-functest-benchmarking-{tag}-shaker-run'
678 name: opnfv/functest-vnf:{functest_tag}
680 execution-type: SEQUENTIALLY
682 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify-run'
684 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify_ims-run'
686 - name: 'cntt-opnfv-functest-vnf-{tag}-heat_ims-run'
688 - name: 'cntt-opnfv-functest-vnf-{tag}-vyos_vrouter-run'
690 - name: 'cntt-opnfv-functest-vnf-{tag}-juju_epc-run'
710 regex: ^cntt-[a-z]+-(daily|check|gate)$