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/$JOB_NAME-$BUILD_ID \
85 -e HTTP_DST_URL=http://artifacts.opnfv.org/cntt/$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'
356 name: 'cntt-{tag}-daily'
357 project-type: multijob
369 - cntt-EXTERNAL_NETWORK:
370 EXTERNAL_NETWORK: public
373 use-build-blocker: true
374 blocking-level: 'NODE'
376 - '^cntt-{tag}-(daily|gate)$'
381 - name: 'cntt-deploy-daily-{tag}'
384 name: remove former images
386 - name: 'cntt-opnfv-functest-healthcheck-{tag}-rmi'
388 - name: 'cntt-opnfv-functest-smoke-{tag}-rmi'
390 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-rmi'
392 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rmi'
394 - name: 'cntt-opnfv-functest-vnf-{tag}-rmi'
397 name: pull containers
399 - name: 'cntt-opnfv-functest-healthcheck-{tag}-pull'
401 - name: 'cntt-opnfv-functest-smoke-{tag}-pull'
403 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-pull'
405 - name: 'cntt-opnfv-functest-benchmarking-{tag}-pull'
407 - name: 'cntt-opnfv-functest-vnf-{tag}-pull'
410 name: opnfv/functest-healthcheck:{functest_tag}
413 - name: 'cntt-opnfv-functest-healthcheck-{tag}-connection_check-run'
415 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork1-run'
417 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork2-run'
419 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready1-run'
421 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready2-run'
423 - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm1-run'
425 - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm2-run'
427 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_ssh-run'
429 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_userdata-run'
431 - name: 'cntt-opnfv-functest-healthcheck-{tag}-cinder_test-run'
433 - name: 'cntt-opnfv-functest-healthcheck-{tag}-odl-run'
435 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tempest_smoke-run'
438 name: opnfv/functest-smoke:{functest_tag}
441 - name: 'cntt-opnfv-functest-smoke-{tag}-neutron-tempest-plugin-api-run'
443 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_cinder-run'
445 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_keystone-run'
447 - name: 'cntt-opnfv-functest-smoke-{tag}-rally_sanity-run'
449 - name: 'cntt-opnfv-functest-smoke-{tag}-refstack_defcore-run'
451 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_full-run'
453 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_scenario-run'
455 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_slow-run'
457 - name: 'cntt-opnfv-functest-smoke-{tag}-patrole-run'
459 - name: 'cntt-opnfv-functest-smoke-{tag}-neutron_trunk-run'
461 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-bgpvpn-run'
463 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-sfc-run'
465 - name: 'cntt-opnfv-functest-smoke-{tag}-barbican-run'
468 name: opnfv/functest-smoke-cntt:{tag}
471 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-neutron-tempest-plugin-api-run'
473 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_cinder-run'
475 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_keystone-run'
477 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-rally_sanity-run'
479 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_full-run'
481 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_scenario-run'
483 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_slow-run'
486 name: opnfv/functest-benchmarking:{functest_tag}
489 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rally_full-run'
491 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rally_jobs-run'
493 - name: 'cntt-opnfv-functest-benchmarking-{tag}-vmtp-run'
495 - name: 'cntt-opnfv-functest-benchmarking-{tag}-shaker-run'
498 name: opnfv/functest-vnf:{functest_tag}
500 execution-type: SEQUENTIALLY
502 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify-run'
504 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify_ims-run'
506 - name: 'cntt-opnfv-functest-vnf-{tag}-heat_ims-run'
508 - name: 'cntt-opnfv-functest-vnf-{tag}-vyos_vrouter-run'
510 - name: 'cntt-opnfv-functest-vnf-{tag}-juju_epc-run'
514 name: cntt-patchset-created
517 server-name: 'gerrit.opnfv.org'
519 - patchset-created-event
520 - comment-added-contains-event:
521 comment-contains-value: 'recheck'
522 - comment-added-contains-event:
523 comment-contains-value: 'reverify'
525 - project-compare-type: 'ANT'
526 project-pattern: 'airship'
528 - branch-compare-type: 'ANT'
529 branch-pattern: '**/{branch}'
537 name: 'cntt-{tag}-gate'
538 project-type: multijob
541 - cntt-patchset-created:
550 - cntt-EXTERNAL_NETWORK:
551 EXTERNAL_NETWORK: public
554 use-build-blocker: true
555 blocking-level: 'NODE'
557 - '^cntt-{tag}-(daily|gate)$'
562 - name: 'cntt-deploy-gate-{tag}'
565 name: remove former images
567 - name: 'cntt-opnfv-functest-healthcheck-{tag}-rmi'
569 - name: 'cntt-opnfv-functest-smoke-{tag}-rmi'
571 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-rmi'
573 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rmi'
575 - name: 'cntt-opnfv-functest-vnf-{tag}-rmi'
578 name: pull containers
580 - name: 'cntt-opnfv-functest-healthcheck-{tag}-pull'
582 - name: 'cntt-opnfv-functest-smoke-{tag}-pull'
584 - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-pull'
586 - name: 'cntt-opnfv-functest-benchmarking-{tag}-pull'
588 - name: 'cntt-opnfv-functest-vnf-{tag}-pull'
591 name: opnfv/functest-healthcheck:{functest_tag}
593 - name: 'cntt-opnfv-functest-healthcheck-{tag}-connection_check-run'
595 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork1-run'
597 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork2-run'
599 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready1-run'
601 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready2-run'
603 - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm1-run'
605 - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm2-run'
607 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_ssh-run'
609 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_userdata-run'
611 - name: 'cntt-opnfv-functest-healthcheck-{tag}-cinder_test-run'
613 - name: 'cntt-opnfv-functest-healthcheck-{tag}-odl-run'
616 name: opnfv/functest-smoke:{functest_tag}
618 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_scenario-run'
620 - name: 'cntt-opnfv-functest-smoke-{tag}-neutron_trunk-run'
622 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-bgpvpn-run'
624 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-sfc-run'
626 - name: 'cntt-opnfv-functest-smoke-{tag}-barbican-run'
629 name: opnfv/functest-benchmarking:{functest_tag}
631 - name: 'cntt-opnfv-functest-benchmarking-{tag}-vmtp-run'
633 - name: 'cntt-opnfv-functest-benchmarking-{tag}-shaker-run'
636 name: opnfv/functest-vnf:{functest_tag}
638 execution-type: SEQUENTIALLY
640 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify-run'
642 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify_ims-run'
644 - name: 'cntt-opnfv-functest-vnf-{tag}-heat_ims-run'
646 - name: 'cntt-opnfv-functest-vnf-{tag}-vyos_vrouter-run'
648 - name: 'cntt-opnfv-functest-vnf-{tag}-juju_epc-run'
668 regex: ^cntt-[a-z]+-(daily|check|gate)$