2 - airship-jobs: &airship-jobs
4 current-parameters: true
6 - airship-params: &airship-params
24 name: airship-build_tag
37 name: airship-EXTERNAL_NETWORK
40 name: EXTERNAL_NETWORK
43 - airship-containers: &airship-containers
44 name: 'airship-containers'
47 container: '{container}'
48 functest_tag: '{functest_tag}'
50 - airship-run-containers: &airship-run-containers
51 name: 'airship-run-containers'
52 <<: *airship-containers
56 name: airship-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: airship-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 --dns 172.17.0.2 \
83 -e S3_ENDPOINT_URL=https://storage.googleapis.com \
84 -e S3_DST_URL=s3://artifacts.opnfv.org/airship/$BUILD_TAG/$JOB_NAME-$BUILD_ID \
85 -e HTTP_DST_URL=http://artifacts.opnfv.org/airship/$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=airship \
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=ovs \
96 -e FLAVOR_EXTRA_SPECS=hw:mem_page_size:large \
97 -e NEW_USER_ROLE=_member_ \
98 -e NO_TENANT_NETWORK=true \
99 -v /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file \
100 -v /home/opnfv/functest/images:/home/opnfv/functest/images \
101 -v /home/opnfv/functest/tempest_conf.yaml:/usr/lib/python3.6/\
102 site-packages/functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml \
103 -v /home/opnfv/functest/singlevm.py:/usr/lib/python3.6/\
104 site-packages/functest/core/singlevm.py \
105 $image run_tests -t {test} -r -p
108 name: airship-remove-images
112 if [ "{repo}" = "_" ]; then
113 image={container}:{functest_tag}
114 elif [ "{port}" = "None" ]; then
115 image={repo}/{container}:{functest_tag}
117 image={repo}:{port}/{container}:{functest_tag}
119 sudo docker rmi $image || true
127 sudo -H -E -u ubuntu bash -c 'tools/deploy.sh $slave deploy_site'
133 url: https://gerrit.opnfv.org/gerrit/airship
134 refspec: '+refs/changes/*:refs/changes/*'
146 name: 'airship-deploy-daily-{tag}'
159 name: 'airship-deploy-gate-{tag}'
170 name: 'airship-deploy'
173 - 'airship-deploy-daily-{tag}'
174 - 'airship-deploy-gate-{tag}'
177 name: 'airship-{repo}-{container}-{tag}-pull'
182 - airship-pull-containers:
183 <<: *airship-containers
186 name: 'airship-opnfv-functest-healthcheck-pull'
188 container: 'functest-healthcheck'
190 - 'airship-{repo}-{container}-{tag}-pull'
193 name: 'airship-opnfv-functest-smoke-pull'
195 container: 'functest-smoke'
197 - 'airship-{repo}-{container}-{tag}-pull'
200 name: 'airship-opnfv-functest-benchmarking-pull'
202 container: 'functest-benchmarking'
204 - 'airship-{repo}-{container}-{tag}-pull'
207 name: 'airship-opnfv-functest-vnf-pull'
209 container: 'functest-vnf'
211 - 'airship-{repo}-{container}-{tag}-pull'
214 name: 'airship-{repo}-{container}-{tag}-rmi'
219 - airship-remove-images:
220 <<: *airship-containers
223 name: 'airship-opnfv-functest-healthcheck-rmi'
225 container: 'functest-healthcheck'
227 - 'airship-{repo}-{container}-{tag}-rmi'
230 name: 'airship-opnfv-functest-smoke-rmi'
232 container: 'functest-smoke'
234 - 'airship-{repo}-{container}-{tag}-rmi'
237 name: 'airship-opnfv-functest-benchmarking-rmi'
239 container: 'functest-benchmarking'
241 - 'airship-{repo}-{container}-{tag}-rmi'
244 name: 'airship-opnfv-functest-vnf-rmi'
246 container: 'functest-vnf'
248 - 'airship-{repo}-{container}-{tag}-rmi'
251 name: 'airship-{repo}-{container}-{tag}-{test}-run'
259 - airship-EXTERNAL_NETWORK:
260 EXTERNAL_NETWORK: public
262 - airship-run-containers:
263 <<: *airship-run-containers
266 name: 'airship-opnfv-functest-healthcheck'
268 container: 'functest-healthcheck'
284 - 'airship-{repo}-{container}-{tag}-{test}-run'
287 name: 'airship-opnfv-functest-smoke'
289 container: 'functest-smoke'
309 - 'airship-{repo}-{container}-{tag}-{test}-run'
312 name: 'airship-opnfv-functest-benchmarking'
314 container: 'functest-benchmarking'
321 - 'airship-{repo}-{container}-{tag}-{test}-run'
324 name: 'airship-opnfv-functest-vnf'
326 container: 'functest-vnf'
334 - 'airship-{repo}-{container}-{tag}-{test}-run'
341 [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true
342 if [ "{repo}" = "_" ]; then
343 image={container}:{functest_tag}
344 elif [ "{port}" = "None" ]; then
345 image={repo}/{container}:{functest_tag}
347 image={repo}:{port}/{container}:{functest_tag}
349 sudo docker run --rm --dns 172.17.0.2 \
350 -e S3_ENDPOINT_URL=https://storage.googleapis.com \
351 -e S3_DST_URL=s3://artifacts.opnfv.org/airship \
352 -e HTTP_DST_URL=http://artifacts.opnfv.org/airship/ \
353 -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
354 -e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
355 -e BUILD_TAG=$BUILD_TAG \
356 -e DEPLOY_SCENARIO=ovs \
357 -e FLAVOR_EXTRA_SPECS=hw:mem_page_size:large \
358 -e NEW_USER_ROLE=_member_ \
359 -e NO_TENANT_NETWORK=true \
360 -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
361 -v /home/opnfv/functest/.boto:/root/.boto \
365 name: 'airship-{tag}-zip'
371 <<: *airship-containers
374 name: 'airship-{tag}-zip'
376 container: 'functest-healthcheck'
378 - 'airship-{tag}-zip'
381 name: 'airship-{tag}-daily'
382 project-type: multijob
384 - timed: '0 6 * * 3,6'
394 - airship-EXTERNAL_NETWORK:
395 EXTERNAL_NETWORK: public
398 use-build-blocker: true
399 blocking-level: 'NODE'
401 - '^airship-{tag}-(daily|gate)$'
406 - name: 'airship-deploy-daily-{tag}'
409 name: remove former images
411 - name: 'airship-opnfv-functest-healthcheck-{tag}-rmi'
413 - name: 'airship-opnfv-functest-smoke-{tag}-rmi'
415 - name: 'airship-opnfv-functest-benchmarking-{tag}-rmi'
417 - name: 'airship-opnfv-functest-vnf-{tag}-rmi'
420 name: pull containers
422 - name: 'airship-opnfv-functest-healthcheck-{tag}-pull'
424 - name: 'airship-opnfv-functest-smoke-{tag}-pull'
426 - name: 'airship-opnfv-functest-benchmarking-{tag}-pull'
428 - name: 'airship-opnfv-functest-vnf-{tag}-pull'
431 name: opnfv/functest-healthcheck:{functest_tag}
434 - name: 'airship-opnfv-functest-healthcheck-{tag}-connection_check-run'
436 - name: 'airship-opnfv-functest-healthcheck-{tag}-tenantnetwork1-run'
438 - name: 'airship-opnfv-functest-healthcheck-{tag}-tenantnetwork2-run'
440 - name: 'airship-opnfv-functest-healthcheck-{tag}-vmready1-run'
442 - name: 'airship-opnfv-functest-healthcheck-{tag}-vmready2-run'
444 - name: 'airship-opnfv-functest-healthcheck-{tag}-singlevm1-run'
446 - name: 'airship-opnfv-functest-healthcheck-{tag}-singlevm2-run'
448 - name: 'airship-opnfv-functest-healthcheck-{tag}-vping_ssh-run'
450 - name: 'airship-opnfv-functest-healthcheck-{tag}-vping_userdata-run'
452 - name: 'airship-opnfv-functest-healthcheck-{tag}-cinder_test-run'
454 - name: 'airship-opnfv-functest-healthcheck-{tag}-odl-run'
456 - name: 'airship-opnfv-functest-healthcheck-{tag}-tempest_smoke-run'
458 - name: 'airship-opnfv-functest-healthcheck-{tag}-tempest_horizon-run'
461 name: opnfv/functest-smoke:{functest_tag}
464 - name: 'airship-opnfv-functest-smoke-{tag}-tempest_neutron-run'
466 - name: 'airship-opnfv-functest-smoke-{tag}-tempest_cinder-run'
468 - name: 'airship-opnfv-functest-smoke-{tag}-tempest_keystone-run'
470 - name: 'airship-opnfv-functest-smoke-{tag}-tempest_heat-run'
472 - name: 'airship-opnfv-functest-smoke-{tag}-tempest_telemetry-run'
474 - name: 'airship-opnfv-functest-smoke-{tag}-rally_sanity-run'
476 - name: 'airship-opnfv-functest-smoke-{tag}-refstack_compute-run'
478 - name: 'airship-opnfv-functest-smoke-{tag}-refstack_object-run'
480 - name: 'airship-opnfv-functest-smoke-{tag}-refstack_platform-run'
482 - name: 'airship-opnfv-functest-smoke-{tag}-tempest_full-run'
484 - name: 'airship-opnfv-functest-smoke-{tag}-tempest_scenario-run'
486 - name: 'airship-opnfv-functest-smoke-{tag}-tempest_slow-run'
488 - name: 'airship-opnfv-functest-smoke-{tag}-patrole-run'
490 - name: 'airship-opnfv-functest-smoke-{tag}-networking-bgpvpn-run'
492 - name: 'airship-opnfv-functest-smoke-{tag}-networking-sfc-run'
494 - name: 'airship-opnfv-functest-smoke-{tag}-tempest_barbican-run'
496 - name: 'airship-opnfv-functest-smoke-{tag}-tempest_octavia-run'
499 name: opnfv/functest-benchmarking:{functest_tag}
502 - name: 'airship-opnfv-functest-benchmarking-{tag}-rally_full-run'
504 - name: 'airship-opnfv-functest-benchmarking-{tag}-rally_jobs-run'
506 - name: 'airship-opnfv-functest-benchmarking-{tag}-vmtp-run'
508 - name: 'airship-opnfv-functest-benchmarking-{tag}-shaker-run'
511 name: opnfv/functest-vnf:{functest_tag}
513 execution-type: SEQUENTIALLY
515 - name: 'airship-opnfv-functest-vnf-{tag}-cloudify-run'
517 - name: 'airship-opnfv-functest-vnf-{tag}-cloudify_ims-run'
519 - name: 'airship-opnfv-functest-vnf-{tag}-heat_ims-run'
521 - name: 'airship-opnfv-functest-vnf-{tag}-vyos_vrouter-run'
523 - name: 'airship-opnfv-functest-vnf-{tag}-juju_epc-run'
526 name: dump all campaign data
528 - name: 'airship-{tag}-zip'
532 name: airship-patchset-created
535 server-name: 'gerrit.opnfv.org'
537 - patchset-created-event
538 - comment-added-contains-event:
539 comment-contains-value: 'recheck'
540 - comment-added-contains-event:
541 comment-contains-value: 'reverify'
543 - project-compare-type: 'ANT'
544 project-pattern: 'airship'
546 - branch-compare-type: 'ANT'
547 branch-pattern: '**/{branch}'
555 name: 'airship-{tag}-gate'
556 project-type: multijob
558 - airship-patchset-created:
567 - airship-EXTERNAL_NETWORK:
568 EXTERNAL_NETWORK: public
571 use-build-blocker: true
572 blocking-level: 'NODE'
574 - '^airship-{tag}-(daily|gate)$'
579 - name: 'airship-deploy-gate-{tag}'
582 name: remove former images
584 - name: 'airship-opnfv-functest-healthcheck-{tag}-rmi'
586 - name: 'airship-opnfv-functest-smoke-{tag}-rmi'
589 name: pull containers
591 - name: 'airship-opnfv-functest-healthcheck-{tag}-pull'
593 - name: 'airship-opnfv-functest-smoke-{tag}-pull'
596 name: opnfv/functest-healthcheck:{functest_tag}
598 - name: 'airship-opnfv-functest-healthcheck-{tag}-connection_check-run'
600 - name: 'airship-opnfv-functest-healthcheck-{tag}-vmready1-run'
602 - name: 'airship-opnfv-functest-healthcheck-{tag}-vmready2-run'
604 - name: 'airship-opnfv-functest-healthcheck-{tag}-singlevm1-run'
606 - name: 'airship-opnfv-functest-healthcheck-{tag}-singlevm2-run'
608 - name: 'airship-opnfv-functest-healthcheck-{tag}-vping_ssh-run'
610 - name: 'airship-opnfv-functest-healthcheck-{tag}-cinder_test-run'
613 name: opnfv/functest-smoke:{functest_tag}
615 - name: 'airship-opnfv-functest-smoke-{tag}-tempest_keystone-run'
622 - 'airship-{tag}-daily'
623 - 'airship-{tag}-gate'
635 regex: ^airship-[a-z]+-(daily|check|gate)$