2 - functest-defaultparameters: &functest-defaultparameters
3 name: 'functest-defaultparameters'
14 name: '{repo}-functest-{container}-{tag}-pull'
16 - functest-virtual-defaults
18 - shell: sudo docker pull {repo}/functest-{container}:{tag}
21 name: repo-functest-container-tag-pull
22 <<: *functest-defaultparameters
31 - '{repo}-functest-{container}-{tag}-pull'
33 - functest-pulljobs: &functest-pulljobs
34 name: 'functest-pulljobs'
36 - name: '{repo}-functest-healthcheck-{tag}-pull'
37 - name: '{repo}-functest-smoke-{tag}-pull'
38 - name: '{repo}-functest-benchmarking-{tag}-pull'
39 - name: '{repo}-functest-components-{tag}-pull'
40 - name: '{repo}-functest-vnf-{tag}-pull'
41 - name: '{repo}-functest-features-{tag}-pull'
44 name: '{repo}-functest-{container}-{test}-{tag}-run'
46 - functest-virtual-defaults
49 sudo docker run --rm \
50 -e EXTERNAL_NETWORK=public1 \
51 -v /home/opnfv/functest/results/$JOB_NAME-$BUILD_ID:\
52 /home/opnfv/functest/results \
53 -v /home/opnfv/functest/openstack.creds:\
54 /home/opnfv/functest/conf/env_file \
55 -v /home/opnfv/functest/images:/home/opnfv/functest/images \
56 -v /home/opnfv/functest/tempest_blacklist.yaml:\
57 /usr/lib/python2.7/site-packages/functest/opnfv_tests/openstack/\
58 tempest/custom_tests/blacklist.yaml \
59 -v /home/opnfv/functest/rally_blacklist.yaml:\
60 /usr/lib/python2.7/site-packages/functest/opnfv_tests/openstack/\
61 rally/blacklist.yaml \
62 {repo}/functest-{container}:{tag} run_tests -t {test}
65 name: repo-functest-healthcheck-test-tag-run
66 <<: *functest-defaultparameters
67 container: healthcheck
83 - '{repo}-functest-{container}-{test}-{tag}-run'
85 - functest-healthcheckjobs: &functest-healthcheckjobs
86 name: 'functest-healthcheckjobs'
88 - name: '{repo}-functest-healthcheck-connection_check-{tag}-run'
89 - name: '{repo}-functest-healthcheck-tenantnetwork1-{tag}-run'
90 - name: '{repo}-functest-healthcheck-tenantnetwork2-{tag}-run'
91 - name: '{repo}-functest-healthcheck-vmready1-{tag}-run'
92 - name: '{repo}-functest-healthcheck-vmready2-{tag}-run'
93 - name: '{repo}-functest-healthcheck-singlevm1-{tag}-run'
94 - name: '{repo}-functest-healthcheck-singlevm2-{tag}-run'
95 - name: '{repo}-functest-healthcheck-vping_ssh-{tag}-run'
96 - name: '{repo}-functest-healthcheck-vping_userdata-{tag}-run'
97 - name: '{repo}-functest-healthcheck-cinder_test-{tag}-run'
98 - name: '{repo}-functest-healthcheck-odl-{tag}-run'
99 - name: '{repo}-functest-healthcheck-api_check-{tag}-run'
100 - name: '{repo}-functest-healthcheck-snaps_health_check-{tag}-run'
103 name: repo-functest-smoke-test-tag-run
104 <<: *functest-defaultparameters
108 - neutron-tempest-plugin-api
119 - '{repo}-functest-{container}-{test}-{tag}-run'
121 - functest-smokejobs: &functest-smokejobs
122 name: 'functest-smokejobs'
124 - name: '{repo}-functest-smoke-tempest_smoke-{tag}-run'
125 - name: '{repo}-functest-smoke-neutron-tempest-plugin-api-{tag}-run'
126 - name: '{repo}-functest-smoke-rally_sanity-{tag}-run'
127 - name: '{repo}-functest-smoke-rally_jobs-{tag}-run'
128 - name: '{repo}-functest-smoke-refstack_defcore-{tag}-run'
129 - name: '{repo}-functest-smoke-patrole-{tag}-run'
130 - name: '{repo}-functest-smoke-snaps_smoke-{tag}-run'
131 - name: '{repo}-functest-smoke-neutron_trunk-{tag}-run'
132 - name: '{repo}-functest-smoke-networking-bgpvpn-{tag}-run'
133 - name: '{repo}-functest-smoke-networking-sfc-{tag}-run'
134 - name: '{repo}-functest-smoke-barbican-{tag}-run'
137 name: repo-functest-benchmarking-test-tag-run'
138 <<: *functest-defaultparameters
139 container: benchmarking
144 - '{repo}-functest-{container}-{test}-{tag}-run'
146 - functest-benchmarkingjobs: &functest-benchmarkingjobs
147 name: 'functest-benchmarkingjobs'
149 - name: '{repo}-functest-benchmarking-vmtp-{tag}-run'
150 - name: '{repo}-functest-benchmarking-shaker-{tag}-run'
153 name: repo-functest-components-test-tag-run
154 <<: *functest-defaultparameters
155 container: components
161 - '{repo}-functest-{container}-{test}-{tag}-run'
163 - functest-componentsjobs: &functest-componentsjobs
164 name: 'functest-componentsjobs'
166 - name: '{repo}-functest-components-tempest_full-{tag}-run'
167 - name: '{repo}-functest-components-tempest_scenario-{tag}-run'
168 # - name: '{repo}-functest-components-rally_full-{tag}-run'
171 name: repo-functest-vnf-{test}-{tag}-run
172 <<: *functest-defaultparameters
181 - '{repo}-functest-{container}-{test}-{tag}-run'
183 - functest-vnfjobs: &functest-vnfjobs
184 name: 'functest-vnfjobs'
186 - name: '{repo}-functest-vnf-cloudify-{tag}-run'
187 - name: '{repo}-functest-vnf-cloudify_ims-{tag}-run'
188 - name: '{repo}-functest-vnf-heat_ims-{tag}-run'
189 - name: '{repo}-functest-vnf-vyos_vrouter-{tag}-run'
190 - name: '{repo}-functest-vnf-juju_epc-{tag}-run'
193 name: repo-functest-features-test-tag-run
194 <<: *functest-defaultparameters
197 - doctor-notification
204 - '{repo}-functest-{container}-{test}-{tag}-run'
206 - functest-featuresjobs: &functest-featuresjobs
207 name: 'functest-featuresjobs'
209 - name: '{repo}-functest-features-doctor-notification-{tag}-run'
210 - name: '{repo}-functest-features-bgpvpn-{tag}-run'
211 - name: '{repo}-functest-features-functest-odl-sfc-{tag}-run'
212 - name: '{repo}-functest-features-barometercollectd-{tag}-run'
213 - name: '{repo}-functest-features-vgpu-{tag}-run'
214 - name: '{repo}-functest-features-stor4nfv_os-{tag}-run'
217 name: '{repo}-functest-{tag}-daily'
218 <<: *functest-defaultparameters
219 project-type: multijob
224 use-build-blocker: true
226 queue-scanning: 'BUILDABLE'
228 - '{repo}-functest-.*-.*'
230 - functest-virtual-defaults
233 name: pull containers
234 <<: *functest-pulljobs
237 <<: *functest-healthcheckjobs
240 <<: *functest-smokejobs
243 <<: *functest-benchmarkingjobs
246 <<: *functest-componentsjobs
249 <<: *functest-vnfjobs
252 <<: *functest-featuresjobs
255 name: repo-functest-tag-daily
256 <<: *functest-defaultparameters
258 - '{repo}-functest-{tag}-daily'
260 - functest-gateparameters: &functest-gateparameters
261 name: 'functest-gateparameters'
263 - functest-virtual-defaults
265 - functest-checkparameters: &functest-checkparameters
266 name: 'functest-checkparameters'
268 - functest-virtual-defaults
274 name: build-containers
277 case "{container}" in
281 args="--build-arg BRANCH={ref}" ;;
283 cd docker/{container}
285 ${{args}} --pull=false --no-cache --force-rm=true \
286 -t {repo}/functest-{container}:{tag} .
292 url: https://gerrit.opnfv.org/gerrit/functest
293 refspec: '+refs/changes/*:refs/changes/*'
297 - functest-buildparameters: &functest-buildparameters
298 name: 'functest-buildparameters'
299 container: '{container}'
304 name: '{repo}-functest-{container}-{tag}-gate'
305 <<: *functest-gateparameters
312 <<: *functest-buildparameters
315 name: '{repo}-functest-{container}-{tag}-check'
316 <<: *functest-checkparameters
323 <<: *functest-buildparameters
326 name: repo-functest-container-tag-build
327 <<: *functest-defaultparameters
338 - '{repo}-functest-{container}-{tag}-gate'
339 - '{repo}-functest-{container}-{tag}-check'
341 - functest-projectparameters: &functest-projectparameters
342 name: 'functest-projectparameters'
343 current-parameters: true
346 name: '{repo}-functest-{tag}-gate'
347 project-type: multijob
348 <<: *functest-gateparameters
350 - gerrit-trigger-patchset-created:
356 use-build-blocker: true
358 queue-scanning: 'BUILDABLE'
360 - '{repo}-functest-.*-.*'
363 name: build functest-core
365 - name: '{repo}-functest-core-{tag}-gate'
366 <<: *functest-projectparameters
368 name: build functest-tempest
370 - name: '{repo}-functest-tempest-{tag}-gate'
371 <<: *functest-projectparameters
373 name: build all remaining contrainers
375 - name: '{repo}-functest-healthcheck-{tag}-gate'
376 <<: *functest-projectparameters
377 - name: '{repo}-functest-smoke-{tag}-gate'
378 <<: *functest-projectparameters
379 - name: '{repo}-functest-benchmarking-{tag}-gate'
380 <<: *functest-projectparameters
381 - name: '{repo}-functest-components-{tag}-gate'
382 <<: *functest-projectparameters
383 - name: '{repo}-functest-vnf-{tag}-gate'
384 <<: *functest-projectparameters
385 - name: '{repo}-functest-features-{tag}-gate'
386 <<: *functest-projectparameters
389 <<: *functest-healthcheckjobs
392 <<: *functest-smokejobs
395 <<: *functest-benchmarkingjobs
398 <<: *functest-componentsjobs
401 # <<: *functest-vnfjobs
404 <<: *functest-featuresjobs
407 name: '{repo}-functest-{tag}-check'
408 project-type: multijob
409 <<: *functest-checkparameters
412 use-build-blocker: true
414 queue-scanning: 'BUILDABLE'
416 - '{repo}-functest-.*-.*'
419 name: build functest-core
421 - name: '{repo}-functest-core-{tag}-check'
422 <<: *functest-projectparameters
424 name: build functest-tempest
426 - name: '{repo}-functest-tempest-{tag}-check'
427 <<: *functest-projectparameters
429 name: build all remaining contrainers
431 - name: '{repo}-functest-healthcheck-{tag}-check'
432 <<: *functest-projectparameters
433 - name: '{repo}-functest-smoke-{tag}-check'
434 <<: *functest-projectparameters
435 - name: '{repo}-functest-benchmarking-{tag}-check'
436 <<: *functest-projectparameters
437 - name: '{repo}-functest-components-{tag}-check'
438 <<: *functest-projectparameters
439 - name: '{repo}-functest-vnf-{tag}-check'
440 <<: *functest-projectparameters
441 - name: '{repo}-functest-features-{tag}-check'
442 <<: *functest-projectparameters
445 <<: *functest-healthcheckjobs
448 <<: *functest-smokejobs
451 <<: *functest-benchmarkingjobs
454 <<: *functest-componentsjobs
457 # <<: *functest-vnfjobs
460 <<: *functest-featuresjobs
463 name: repo-functest-tag-build
464 <<: *functest-defaultparameters
466 - '{repo}-functest-{tag}-gate'
467 - '{repo}-functest-{tag}-check'