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-benchmarking-cntt-pull'
211 container: 'functest-benchmarking-cntt'
213 - 'cntt-{repo}-{container}-{tag}-pull'
216 name: 'cntt-opnfv-functest-vnf-pull'
218 container: 'functest-vnf'
220 - 'cntt-{repo}-{container}-{tag}-pull'
223 name: 'cntt-{repo}-{container}-{tag}-rmi'
228 - cntt-remove-images:
232 name: 'cntt-opnfv-functest-healthcheck-rmi'
234 container: 'functest-healthcheck'
236 - 'cntt-{repo}-{container}-{tag}-rmi'
239 name: 'cntt-opnfv-functest-smoke-rmi'
241 container: 'functest-smoke'
243 - 'cntt-{repo}-{container}-{tag}-rmi'
246 name: 'cntt-opnfv-functest-smoke-cntt-rmi'
248 container: 'functest-smoke-cntt'
250 - 'cntt-{repo}-{container}-{tag}-rmi'
253 name: 'cntt-opnfv-functest-benchmarking-rmi'
255 container: 'functest-benchmarking'
257 - 'cntt-{repo}-{container}-{tag}-rmi'
260 name: 'cntt-opnfv-functest-benchmarking-cntt-rmi'
262 container: 'functest-benchmarking-cntt'
264 - 'cntt-{repo}-{container}-{tag}-rmi'
267 name: 'cntt-opnfv-functest-vnf-rmi'
269 container: 'functest-vnf'
271 - 'cntt-{repo}-{container}-{tag}-rmi'
274 name: 'cntt-{repo}-{container}-{tag}-{test}-run'
282 - cntt-EXTERNAL_NETWORK:
283 EXTERNAL_NETWORK: public
285 - cntt-run-containers:
286 <<: *cntt-run-containers
289 name: 'cntt-opnfv-functest-healthcheck'
291 container: 'functest-healthcheck'
307 - 'cntt-{repo}-{container}-{tag}-{test}-run'
310 name: 'cntt-opnfv-functest-smoke'
312 container: 'functest-smoke'
332 - 'cntt-{repo}-{container}-{tag}-{test}-run'
335 name: 'cntt-opnfv-functest-smoke-cntt'
337 container: 'functest-smoke-cntt'
339 - tempest_neutron_cntt
340 - tempest_cinder_cntt
341 - tempest_keystone_cntt
345 - tempest_scenario_cntt
348 - 'cntt-{repo}-{container}-{tag}-{test}-run'
351 name: 'cntt-opnfv-functest-benchmarking'
353 container: 'functest-benchmarking'
360 - 'cntt-{repo}-{container}-{tag}-{test}-run'
363 name: 'cntt-opnfv-functest-benchmarking-cntt'
365 container: 'functest-benchmarking-cntt'
370 - 'cntt-{repo}-{container}-{tag}-{test}-run'
373 name: 'cntt-opnfv-functest-vnf'
375 container: 'functest-vnf'
383 - 'cntt-{repo}-{container}-{tag}-{test}-run'
390 [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true
391 if [ "{repo}" = "_" ]; then
392 image={container}:{functest_tag}
393 elif [ "{port}" = "None" ]; then
394 image={repo}/{container}:{functest_tag}
396 image={repo}:{port}/{container}:{functest_tag}
398 sudo docker run --rm \
399 -e S3_ENDPOINT_URL=https://storage.googleapis.com \
400 -e S3_DST_URL=s3://artifacts.opnfv.org/cntt \
401 -e HTTP_DST_URL=http://artifacts.opnfv.org/cntt/ \
402 -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
403 -e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
404 -e BUILD_TAG=$BUILD_TAG \
405 -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
406 -v /home/opnfv/functest/.boto:/root/.boto \
410 name: 'cntt-{tag}-zip'
419 name: 'cntt-{tag}-zip'
421 container: 'functest-healthcheck'
426 name: 'cntt-{tag}-daily'
427 project-type: multijob
439 - cntt-EXTERNAL_NETWORK:
440 EXTERNAL_NETWORK: public
443 use-build-blocker: true
444 blocking-level: 'NODE'
446 - '^cntt-{tag}-(daily|gate)$'
451 - name: 'cntt-deploy-daily-{tag}'
454 name: remove former images
456 - name: 'cntt-opnfv-functest-healthcheck-{tag}-rmi'
458 - name: 'cntt-opnfv-functest-smoke-{tag}-rmi'
460 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-rmi'
462 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rmi'
464 - name: 'cntt-opnfv-functest-benchmarking-cntt-{tag}-rmi'
466 - name: 'cntt-opnfv-functest-vnf-{tag}-rmi'
469 name: pull containers
471 - name: 'cntt-opnfv-functest-healthcheck-{tag}-pull'
473 - name: 'cntt-opnfv-functest-smoke-{tag}-pull'
475 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-pull'
477 - name: 'cntt-opnfv-functest-benchmarking-{tag}-pull'
479 - name: 'cntt-opnfv-functest-benchmarking-cntt-{tag}-pull'
481 - name: 'cntt-opnfv-functest-vnf-{tag}-pull'
484 name: opnfv/functest-healthcheck:{functest_tag}
487 - name: 'cntt-opnfv-functest-healthcheck-{tag}-connection_check-run'
489 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork1-run'
491 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork2-run'
493 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready1-run'
495 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready2-run'
497 - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm1-run'
499 - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm2-run'
501 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_ssh-run'
503 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_userdata-run'
505 - name: 'cntt-opnfv-functest-healthcheck-{tag}-cinder_test-run'
507 - name: 'cntt-opnfv-functest-healthcheck-{tag}-odl-run'
509 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tempest_smoke-run'
511 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tempest_horizon-run'
514 name: opnfv/functest-smoke:{functest_tag}
517 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_neutron-run'
519 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_cinder-run'
521 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_keystone-run'
523 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_heat-run'
525 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_telemetry-run'
527 - name: 'cntt-opnfv-functest-smoke-{tag}-rally_sanity-run'
529 - name: 'cntt-opnfv-functest-smoke-{tag}-refstack_compute-run'
531 - name: 'cntt-opnfv-functest-smoke-{tag}-refstack_object-run'
533 - name: 'cntt-opnfv-functest-smoke-{tag}-refstack_platform-run'
535 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_full-run'
537 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_scenario-run'
539 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_slow-run'
541 - name: 'cntt-opnfv-functest-smoke-{tag}-patrole-run'
543 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-bgpvpn-run'
545 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-sfc-run'
547 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_barbican-run'
549 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_octavia-run'
552 name: opnfv/functest-smoke-cntt:{tag}
555 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_neutron_cntt-run'
557 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_cinder_cntt-run'
559 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_keystone_cntt-run'
561 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_heat_cntt-run'
563 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-rally_sanity_cntt-run'
565 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_full_cntt-run'
567 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_scenario_cntt-run'
569 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_slow_cntt-run'
572 name: opnfv/functest-benchmarking:{functest_tag}
575 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rally_full-run'
577 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rally_jobs-run'
579 - name: 'cntt-opnfv-functest-benchmarking-{tag}-vmtp-run'
581 - name: 'cntt-opnfv-functest-benchmarking-{tag}-shaker-run'
584 name: opnfv/functest-benchmarking-cntt:{functest_tag}
587 - name: 'cntt-opnfv-functest-benchmarking-cntt-{tag}-rally_full_cntt-run'
589 - name: 'cntt-opnfv-functest-benchmarking-cntt-{tag}-rally_jobs_cntt-run'
592 name: opnfv/functest-vnf:{functest_tag}
594 execution-type: SEQUENTIALLY
596 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify-run'
598 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify_ims-run'
600 - name: 'cntt-opnfv-functest-vnf-{tag}-heat_ims-run'
602 - name: 'cntt-opnfv-functest-vnf-{tag}-vyos_vrouter-run'
604 - name: 'cntt-opnfv-functest-vnf-{tag}-juju_epc-run'
607 name: dump all campaign data
609 - name: 'cntt-{tag}-zip'
613 name: cntt-patchset-created
616 server-name: 'gerrit.opnfv.org'
618 - patchset-created-event
619 - comment-added-contains-event:
620 comment-contains-value: 'recheck'
621 - comment-added-contains-event:
622 comment-contains-value: 'reverify'
624 - project-compare-type: 'ANT'
625 project-pattern: 'airship'
627 - branch-compare-type: 'ANT'
628 branch-pattern: '**/{branch}'
636 name: 'cntt-{tag}-gate'
637 project-type: multijob
639 - cntt-patchset-created:
648 - cntt-EXTERNAL_NETWORK:
649 EXTERNAL_NETWORK: public
652 use-build-blocker: true
653 blocking-level: 'NODE'
655 - '^cntt-{tag}-(daily|gate)$'
660 - name: 'cntt-deploy-gate-{tag}'
663 name: remove former images
665 - name: 'cntt-opnfv-functest-healthcheck-{tag}-rmi'
667 - name: 'cntt-opnfv-functest-smoke-{tag}-rmi'
669 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-rmi'
671 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rmi'
673 - name: 'cntt-opnfv-functest-benchmarking-cntt-{tag}-rmi'
675 - name: 'cntt-opnfv-functest-vnf-{tag}-rmi'
678 name: pull containers
680 - name: 'cntt-opnfv-functest-healthcheck-{tag}-pull'
682 - name: 'cntt-opnfv-functest-smoke-{tag}-pull'
684 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-pull'
686 - name: 'cntt-opnfv-functest-benchmarking-{tag}-pull'
688 - name: 'cntt-opnfv-functest-benchmarking-cntt-{tag}-pull'
690 - name: 'cntt-opnfv-functest-vnf-{tag}-pull'
693 name: opnfv/functest-healthcheck:{functest_tag}
695 - name: 'cntt-opnfv-functest-healthcheck-{tag}-connection_check-run'
697 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork1-run'
699 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork2-run'
701 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready1-run'
703 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready2-run'
705 - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm1-run'
707 - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm2-run'
709 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_ssh-run'
711 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_userdata-run'
713 - name: 'cntt-opnfv-functest-healthcheck-{tag}-cinder_test-run'
715 - name: 'cntt-opnfv-functest-healthcheck-{tag}-odl-run'
718 name: opnfv/functest-smoke:{functest_tag}
720 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_scenario-run'
722 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-bgpvpn-run'
724 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-sfc-run'
726 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_barbican-run'
729 name: opnfv/functest-benchmarking:{functest_tag}
731 - name: 'cntt-opnfv-functest-benchmarking-{tag}-vmtp-run'
733 - name: 'cntt-opnfv-functest-benchmarking-{tag}-shaker-run'
736 name: opnfv/functest-vnf:{functest_tag}
738 execution-type: SEQUENTIALLY
740 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify-run'
742 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify_ims-run'
744 - name: 'cntt-opnfv-functest-vnf-{tag}-heat_ims-run'
746 - name: 'cntt-opnfv-functest-vnf-{tag}-vyos_vrouter-run'
748 - name: 'cntt-opnfv-functest-vnf-{tag}-juju_epc-run'
768 regex: ^cntt-[a-z]+-(daily|check|gate)$