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'
328 - 'cntt-{repo}-{container}-{tag}-{test}-run'
331 name: 'cntt-opnfv-functest-smoke-cntt'
333 container: 'functest-smoke-cntt'
335 - tempest_neutron_cntt
336 - tempest_cinder_cntt
337 - tempest_keystone_cntt
341 - tempest_scenario_cntt
344 - 'cntt-{repo}-{container}-{tag}-{test}-run'
347 name: 'cntt-opnfv-functest-benchmarking'
349 container: 'functest-benchmarking'
356 - 'cntt-{repo}-{container}-{tag}-{test}-run'
359 name: 'cntt-opnfv-functest-benchmarking-cntt'
361 container: 'functest-benchmarking-cntt'
366 - 'cntt-{repo}-{container}-{tag}-{test}-run'
369 name: 'cntt-opnfv-functest-vnf'
371 container: 'functest-vnf'
379 - 'cntt-{repo}-{container}-{tag}-{test}-run'
386 [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true
387 if [ "{repo}" = "_" ]; then
388 image={container}:{functest_tag}
389 elif [ "{port}" = "None" ]; then
390 image={repo}/{container}:{functest_tag}
392 image={repo}:{port}/{container}:{functest_tag}
394 sudo docker run --rm \
395 -e S3_ENDPOINT_URL=https://storage.googleapis.com \
396 -e S3_DST_URL=s3://artifacts.opnfv.org/cntt \
397 -e HTTP_DST_URL=http://artifacts.opnfv.org/cntt/ \
398 -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
399 -e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
400 -e BUILD_TAG=$BUILD_TAG \
401 -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
402 -v /home/opnfv/functest/.boto:/root/.boto \
406 name: 'cntt-{tag}-zip'
415 name: 'cntt-{tag}-zip'
417 container: 'functest-healthcheck'
422 name: 'cntt-{tag}-daily'
424 project-type: multijob
436 - cntt-EXTERNAL_NETWORK:
437 EXTERNAL_NETWORK: public
440 use-build-blocker: true
441 blocking-level: 'NODE'
443 - '^cntt-{tag}-(daily|gate)$'
448 - name: 'cntt-deploy-daily-{tag}'
451 name: remove former images
453 - name: 'cntt-opnfv-functest-healthcheck-{tag}-rmi'
455 - name: 'cntt-opnfv-functest-smoke-{tag}-rmi'
457 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-rmi'
459 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rmi'
461 - name: 'cntt-opnfv-functest-benchmarking-cntt-{tag}-rmi'
463 - name: 'cntt-opnfv-functest-vnf-{tag}-rmi'
466 name: pull containers
468 - name: 'cntt-opnfv-functest-healthcheck-{tag}-pull'
470 - name: 'cntt-opnfv-functest-smoke-{tag}-pull'
472 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-pull'
474 - name: 'cntt-opnfv-functest-benchmarking-{tag}-pull'
476 - name: 'cntt-opnfv-functest-benchmarking-cntt-{tag}-pull'
478 - name: 'cntt-opnfv-functest-vnf-{tag}-pull'
481 name: opnfv/functest-healthcheck:{functest_tag}
484 - name: 'cntt-opnfv-functest-healthcheck-{tag}-connection_check-run'
486 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork1-run'
488 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork2-run'
490 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready1-run'
492 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready2-run'
494 - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm1-run'
496 - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm2-run'
498 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_ssh-run'
500 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_userdata-run'
502 - name: 'cntt-opnfv-functest-healthcheck-{tag}-cinder_test-run'
504 - name: 'cntt-opnfv-functest-healthcheck-{tag}-odl-run'
506 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tempest_smoke-run'
508 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tempest_horizon-run'
511 name: opnfv/functest-smoke:{functest_tag}
514 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_neutron-run'
516 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_cinder-run'
518 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_keystone-run'
520 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_heat-run'
522 - name: 'cntt-opnfv-functest-smoke-{tag}-rally_sanity-run'
524 - name: 'cntt-opnfv-functest-smoke-{tag}-refstack_defcore-run'
526 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_full-run'
528 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_scenario-run'
530 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_slow-run'
532 - name: 'cntt-opnfv-functest-smoke-{tag}-patrole-run'
534 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-bgpvpn-run'
536 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-sfc-run'
538 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_barbican-run'
541 name: opnfv/functest-smoke-cntt:{tag}
544 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_neutron_cntt-run'
546 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_cinder_cntt-run'
548 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_keystone_cntt-run'
550 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_heat_cntt-run'
552 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-rally_sanity_cntt-run'
554 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_full_cntt-run'
556 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_scenario_cntt-run'
558 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_slow_cntt-run'
561 name: opnfv/functest-benchmarking:{functest_tag}
564 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rally_full-run'
566 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rally_jobs-run'
568 - name: 'cntt-opnfv-functest-benchmarking-{tag}-vmtp-run'
570 - name: 'cntt-opnfv-functest-benchmarking-{tag}-shaker-run'
573 name: opnfv/functest-benchmarking-cntt:{functest_tag}
576 - name: 'cntt-opnfv-functest-benchmarking-cntt-{tag}-rally_full_cntt-run'
578 - name: 'cntt-opnfv-functest-benchmarking-cntt-{tag}-rally_jobs_cntt-run'
581 name: opnfv/functest-vnf:{functest_tag}
583 execution-type: SEQUENTIALLY
585 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify-run'
587 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify_ims-run'
589 - name: 'cntt-opnfv-functest-vnf-{tag}-heat_ims-run'
591 - name: 'cntt-opnfv-functest-vnf-{tag}-vyos_vrouter-run'
593 - name: 'cntt-opnfv-functest-vnf-{tag}-juju_epc-run'
596 name: dump all campaign data
598 - name: 'cntt-{tag}-zip'
602 name: cntt-patchset-created
605 server-name: 'gerrit.opnfv.org'
607 - patchset-created-event
608 - comment-added-contains-event:
609 comment-contains-value: 'recheck'
610 - comment-added-contains-event:
611 comment-contains-value: 'reverify'
613 - project-compare-type: 'ANT'
614 project-pattern: 'airship'
616 - branch-compare-type: 'ANT'
617 branch-pattern: '**/{branch}'
625 name: 'cntt-{tag}-gate'
627 project-type: multijob
629 - cntt-patchset-created:
638 - cntt-EXTERNAL_NETWORK:
639 EXTERNAL_NETWORK: public
642 use-build-blocker: true
643 blocking-level: 'NODE'
645 - '^cntt-{tag}-(daily|gate)$'
650 - name: 'cntt-deploy-gate-{tag}'
653 name: remove former images
655 - name: 'cntt-opnfv-functest-healthcheck-{tag}-rmi'
657 - name: 'cntt-opnfv-functest-smoke-{tag}-rmi'
659 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-rmi'
661 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rmi'
663 - name: 'cntt-opnfv-functest-benchmarking-cntt-{tag}-rmi'
665 - name: 'cntt-opnfv-functest-vnf-{tag}-rmi'
668 name: pull containers
670 - name: 'cntt-opnfv-functest-healthcheck-{tag}-pull'
672 - name: 'cntt-opnfv-functest-smoke-{tag}-pull'
674 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-pull'
676 - name: 'cntt-opnfv-functest-benchmarking-{tag}-pull'
678 - name: 'cntt-opnfv-functest-benchmarking-cntt-{tag}-pull'
680 - name: 'cntt-opnfv-functest-vnf-{tag}-pull'
683 name: opnfv/functest-healthcheck:{functest_tag}
685 - name: 'cntt-opnfv-functest-healthcheck-{tag}-connection_check-run'
687 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork1-run'
689 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork2-run'
691 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready1-run'
693 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready2-run'
695 - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm1-run'
697 - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm2-run'
699 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_ssh-run'
701 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_userdata-run'
703 - name: 'cntt-opnfv-functest-healthcheck-{tag}-cinder_test-run'
705 - name: 'cntt-opnfv-functest-healthcheck-{tag}-odl-run'
708 name: opnfv/functest-smoke:{functest_tag}
710 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_scenario-run'
712 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-bgpvpn-run'
714 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-sfc-run'
716 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_barbican-run'
719 name: opnfv/functest-benchmarking:{functest_tag}
721 - name: 'cntt-opnfv-functest-benchmarking-{tag}-vmtp-run'
723 - name: 'cntt-opnfv-functest-benchmarking-{tag}-shaker-run'
726 name: opnfv/functest-vnf:{functest_tag}
728 execution-type: SEQUENTIALLY
730 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify-run'
732 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify_ims-run'
734 - name: 'cntt-opnfv-functest-vnf-{tag}-heat_ims-run'
736 - name: 'cntt-opnfv-functest-vnf-{tag}-vyos_vrouter-run'
738 - name: 'cntt-opnfv-functest-vnf-{tag}-juju_epc-run'
758 regex: ^cntt-[a-z]+-(daily|check|gate)$