2 - cntt-jobs: &cntt-jobs
4 current-parameters: true
6 - cntt-params: &cntt-params
23 - cntt-containers: &cntt-containers
24 name: 'cntt-containers'
27 container: '{container}'
28 functest_tag: '{functest_tag}'
30 - cntt-run-containers: &cntt-run-containers
31 name: 'cntt-run-containers'
36 name: cntt-pull-containers
40 if [ "{repo}" = "_" ]; then
41 image={container}:{functest_tag}
42 elif [ "{port}" = "None" ]; then
43 image={repo}/{container}:{functest_tag}
45 image={repo}:{port}/{container}:{functest_tag}
47 sudo docker pull $image
50 name: cntt-run-containers
54 [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true
55 if [ "{repo}" = "_" ]; then
56 image={container}:{functest_tag}
57 elif [ "{port}" = "None" ]; then
58 image={repo}/{container}:{functest_tag}
60 image={repo}:{port}/{container}:{functest_tag}
62 sudo docker run --rm \
63 -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
64 -e NODE_NAME=intel-pod10 \
65 -e INSTALLER_TYPE=cntt \
66 -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
68 -e EXTERNAL_NETWORK=public \
69 -e DEPLOY_SCENARIO=os-nosdn-nofeature-ha \
70 -v /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file \
71 -v /home/opnfv/functest/images:/home/opnfv/functest/images \
72 -v /home/opnfv/functest/tempest_conf.yaml:/usr/lib/python2.7/\
73 site-packages/functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml \
74 $image run_tests -t {test} -r
76 gsutil -m cp -r $WORKSPACE/ \
77 gs://artifacts.opnfv.org/cntt/$JOB_NAME-$BUILD_ID > /dev/null 2>&1
78 find $WORKSPACE -type f \
80 "http://artifacts.opnfv.org/cntt/$JOB_NAME-$BUILD_ID/%P\n"
84 name: cntt-remove-images
88 if [ "{repo}" = "_" ]; then
89 image={container}:{functest_tag}
90 elif [ "{port}" = "None" ]; then
91 image={repo}/{container}:{functest_tag}
93 image={repo}:{port}/{container}:{functest_tag}
95 sudo docker rmi $image || true
103 sudo -H -E -u ubuntu bash -c 'tools/deploy.sh deploy_site'
109 url: https://gerrit.opnfv.org/gerrit/airship
110 refspec: '+refs/changes/*:refs/changes/*'
122 name: 'cntt-deploy-daily-{tag}'
136 name: 'cntt-deploy-gate-{tag}'
150 - 'cntt-deploy-daily-{tag}'
151 - 'cntt-deploy-gate-{tag}'
154 name: 'cntt-{repo}-{container}-{tag}-pull'
159 - cntt-pull-containers:
163 name: 'cntt-opnfv-functest-healthcheck-pull'
165 container: 'functest-healthcheck'
167 - 'cntt-{repo}-{container}-{tag}-pull'
170 name: 'cntt-opnfv-functest-smoke-pull'
172 container: 'functest-smoke'
174 - 'cntt-{repo}-{container}-{tag}-pull'
177 name: 'cntt-opnfv-functest-benchmarking-pull'
179 container: 'functest-benchmarking'
181 - 'cntt-{repo}-{container}-{tag}-pull'
184 name: 'cntt-opnfv-functest-vnf-pull'
186 container: 'functest-vnf'
188 - 'cntt-{repo}-{container}-{tag}-pull'
191 name: 'cntt-{repo}-{container}-{tag}-rmi'
196 - cntt-remove-images:
200 name: 'cntt-opnfv-functest-healthcheck-rmi'
202 container: 'functest-healthcheck'
204 - 'cntt-{repo}-{container}-{tag}-rmi'
207 name: 'cntt-opnfv-functest-smoke-rmi'
209 container: 'functest-smoke'
211 - 'cntt-{repo}-{container}-{tag}-rmi'
214 name: 'cntt-opnfv-functest-benchmarking-rmi'
216 container: 'functest-benchmarking'
218 - 'cntt-{repo}-{container}-{tag}-rmi'
221 name: 'cntt-opnfv-functest-vnf-rmi'
223 container: 'functest-vnf'
225 - 'cntt-{repo}-{container}-{tag}-rmi'
228 name: 'cntt-{repo}-{container}-{tag}-{test}-run'
233 - cntt-run-containers:
234 <<: *cntt-run-containers
237 name: 'cntt-opnfv-functest-healthcheck'
239 container: 'functest-healthcheck'
254 - 'cntt-{repo}-{container}-{tag}-{test}-run'
257 name: 'cntt-opnfv-functest-smoke'
259 container: 'functest-smoke'
261 - neutron-tempest-plugin-api
272 - 'cntt-{repo}-{container}-{tag}-{test}-run'
275 name: 'cntt-opnfv-functest-benchmarking'
277 container: 'functest-benchmarking'
284 - 'cntt-{repo}-{container}-{tag}-{test}-run'
287 name: 'cntt-opnfv-functest-vnf'
289 container: 'functest-vnf'
297 - 'cntt-{repo}-{container}-{tag}-{test}-run'
300 name: 'cntt-{tag}-daily'
301 project-type: multijob
311 use-build-blocker: true
312 blocking-level: 'NODE'
314 - '^cntt-{tag}-(daily|gate)$'
319 - name: 'cntt-deploy-daily-{tag}'
322 name: remove former images
324 - name: 'cntt-opnfv-functest-healthcheck-{tag}-rmi'
326 - name: 'cntt-opnfv-functest-smoke-{tag}-rmi'
328 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rmi'
330 - name: 'cntt-opnfv-functest-vnf-{tag}-rmi'
333 name: pull containers
335 - name: 'cntt-opnfv-functest-healthcheck-{tag}-pull'
337 - name: 'cntt-opnfv-functest-smoke-{tag}-pull'
339 - name: 'cntt-opnfv-functest-benchmarking-{tag}-pull'
341 - name: 'cntt-opnfv-functest-vnf-{tag}-pull'
344 name: opnfv/functest-healthcheck:{functest_tag}
347 - name: 'cntt-opnfv-functest-healthcheck-{tag}-connection_check-run'
349 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork1-run'
351 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork2-run'
353 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready1-run'
355 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready2-run'
357 - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm1-run'
359 - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm2-run'
361 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_ssh-run'
363 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_userdata-run'
365 - name: 'cntt-opnfv-functest-healthcheck-{tag}-cinder_test-run'
367 - name: 'cntt-opnfv-functest-healthcheck-{tag}-odl-run'
369 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tempest_smoke-run'
372 name: opnfv/functest-smoke:{functest_tag}
375 - name: 'cntt-opnfv-functest-smoke-{tag}-neutron-tempest-plugin-api-run'
377 - name: 'cntt-opnfv-functest-smoke-{tag}-rally_sanity-run'
379 - name: 'cntt-opnfv-functest-smoke-{tag}-refstack_defcore-run'
381 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_full-run'
383 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_scenario-run'
385 - name: 'cntt-opnfv-functest-smoke-{tag}-patrole-run'
387 - name: 'cntt-opnfv-functest-smoke-{tag}-neutron_trunk-run'
389 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-bgpvpn-run'
391 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-sfc-run'
393 - name: 'cntt-opnfv-functest-smoke-{tag}-barbican-run'
396 name: opnfv/functest-benchmarking:{functest_tag}
399 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rally_full-run'
401 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rally_jobs-run'
403 - name: 'cntt-opnfv-functest-benchmarking-{tag}-vmtp-run'
405 - name: 'cntt-opnfv-functest-benchmarking-{tag}-shaker-run'
408 name: opnfv/functest-vnf:{functest_tag}
410 execution-type: SEQUENTIALLY
412 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify-run'
414 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify_ims-run'
416 - name: 'cntt-opnfv-functest-vnf-{tag}-heat_ims-run'
418 - name: 'cntt-opnfv-functest-vnf-{tag}-vyos_vrouter-run'
420 - name: 'cntt-opnfv-functest-vnf-{tag}-juju_epc-run'
424 name: cntt-patchset-created
427 server-name: 'gerrit.opnfv.org'
429 - patchset-created-event
430 - comment-added-contains-event:
431 comment-contains-value: 'recheck'
432 - comment-added-contains-event:
433 comment-contains-value: 'reverify'
435 - project-compare-type: 'ANT'
436 project-pattern: 'airship'
438 - branch-compare-type: 'ANT'
439 branch-pattern: '**/{branch}'
447 name: 'cntt-{tag}-gate'
448 project-type: multijob
451 - cntt-patchset-created:
458 use-build-blocker: true
459 blocking-level: 'NODE'
461 - '^cntt-{tag}-(daily|gate)$'
466 - name: 'cntt-deploy-gate-{tag}'
469 name: remove former images
471 - name: 'cntt-opnfv-functest-healthcheck-{tag}-rmi'
473 - name: 'cntt-opnfv-functest-smoke-{tag}-rmi'
475 - name: 'cntt-opnfv-functest-benchmarking-{tag}-rmi'
477 - name: 'cntt-opnfv-functest-vnf-{tag}-rmi'
480 name: pull containers
482 - name: 'cntt-opnfv-functest-healthcheck-{tag}-pull'
484 - name: 'cntt-opnfv-functest-smoke-{tag}-pull'
486 - name: 'cntt-opnfv-functest-benchmarking-{tag}-pull'
488 - name: 'cntt-opnfv-functest-vnf-{tag}-pull'
491 name: opnfv/functest-healthcheck:{functest_tag}
493 - name: 'cntt-opnfv-functest-healthcheck-{tag}-connection_check-run'
495 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork1-run'
497 - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork2-run'
499 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready1-run'
501 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready2-run'
503 - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm1-run'
505 - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm2-run'
507 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_ssh-run'
509 - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_userdata-run'
511 - name: 'cntt-opnfv-functest-healthcheck-{tag}-cinder_test-run'
513 - name: 'cntt-opnfv-functest-healthcheck-{tag}-odl-run'
516 name: opnfv/functest-smoke:{functest_tag}
518 - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_scenario-run'
520 - name: 'cntt-opnfv-functest-smoke-{tag}-neutron_trunk-run'
522 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-bgpvpn-run'
524 - name: 'cntt-opnfv-functest-smoke-{tag}-networking-sfc-run'
526 - name: 'cntt-opnfv-functest-smoke-{tag}-barbican-run'
529 name: opnfv/functest-benchmarking:{functest_tag}
531 - name: 'cntt-opnfv-functest-benchmarking-{tag}-vmtp-run'
533 - name: 'cntt-opnfv-functest-benchmarking-{tag}-shaker-run'
536 name: opnfv/functest-vnf:{functest_tag}
538 execution-type: SEQUENTIALLY
540 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify-run'
542 - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify_ims-run'
544 - name: 'cntt-opnfv-functest-vnf-{tag}-heat_ims-run'
546 - name: 'cntt-opnfv-functest-vnf-{tag}-vyos_vrouter-run'
548 - name: 'cntt-opnfv-functest-vnf-{tag}-juju_epc-run'
568 regex: ^cntt-[a-z]+-(daily|check|gate)$