2 - functest-defaultparameters: &functest-defaultparameters
3 name: 'functest-defaultparameters'
11 name: '{repo}-functest-{container}-{tag}-pull'
13 - functest-virtual-defaults
15 - shell: sudo docker pull {repo}/functest-{container}:{tag}
18 name: repo-functest-container-tag-pull
19 <<: *functest-defaultparameters
28 - '{repo}-functest-{container}-{tag}-pull'
30 - functest-pulljobs: &functest-pulljobs
31 name: 'functest-pulljobs'
33 - name: '{repo}-functest-healthcheck-{tag}-pull'
34 - name: '{repo}-functest-smoke-{tag}-pull'
35 - name: '{repo}-functest-benchmarking-{tag}-pull'
36 - name: '{repo}-functest-components-{tag}-pull'
37 - name: '{repo}-functest-vnf-{tag}-pull'
38 - name: '{repo}-functest-features-{tag}-pull'
40 - functest-buildparameters: &functest-buildparameters
41 name: 'functest-buildparameters'
43 - functest-virtual-defaults
49 name: '{repo}-functest-{container}-{test}-{tag}-run'
51 - functest-virtual-defaults
54 sudo docker run --rm \
55 -e EXTERNAL_NETWORK=public1 \
56 -v /home/opnfv/functest/results/$JOB_NAME-$BUILD_ID:\
57 /home/opnfv/functest/results \
58 -v /home/opnfv/functest/openstack.creds:\
59 /home/opnfv/functest/conf/env_file \
60 -v /home/opnfv/functest/images:/home/opnfv/functest/images \
61 -v /home/opnfv/functest/tempest_blacklist.yaml:\
62 /usr/lib/python2.7/site-packages/functest/opnfv_tests/openstack/\
63 tempest/custom_tests/blacklist.yaml \
64 -v /home/opnfv/functest/rally_blacklist.yaml:\
65 /usr/lib/python2.7/site-packages/functest/opnfv_tests/openstack/\
66 rally/blacklist.yaml \
67 {repo}/functest-{container}:{tag} run_tests -t {test}
70 name: repo-functest-healthcheck-test-tag-run
71 <<: *functest-defaultparameters
72 container: healthcheck
88 - '{repo}-functest-{container}-{test}-{tag}-run'
90 - functest-healthcheckjobs: &functest-healthcheckjobs
91 name: 'functest-healthcheckjobs'
93 - name: '{repo}-functest-healthcheck-connection_check-{tag}-run'
94 - name: '{repo}-functest-healthcheck-tenantnetwork1-{tag}-run'
95 - name: '{repo}-functest-healthcheck-tenantnetwork2-{tag}-run'
96 - name: '{repo}-functest-healthcheck-vmready1-{tag}-run'
97 - name: '{repo}-functest-healthcheck-vmready2-{tag}-run'
98 - name: '{repo}-functest-healthcheck-singlevm1-{tag}-run'
99 - name: '{repo}-functest-healthcheck-singlevm2-{tag}-run'
100 - name: '{repo}-functest-healthcheck-vping_ssh-{tag}-run'
101 - name: '{repo}-functest-healthcheck-vping_userdata-{tag}-run'
102 - name: '{repo}-functest-healthcheck-cinder_test-{tag}-run'
103 - name: '{repo}-functest-healthcheck-odl-{tag}-run'
104 - name: '{repo}-functest-healthcheck-api_check-{tag}-run'
105 - name: '{repo}-functest-healthcheck-snaps_health_check-{tag}-run'
108 name: repo-functest-smoke-test-tag-run
109 <<: *functest-defaultparameters
113 - neutron-tempest-plugin-api
124 - '{repo}-functest-{container}-{test}-{tag}-run'
126 - functest-smokejobs: &functest-smokejobs
127 name: 'functest-smokejobs'
129 - name: '{repo}-functest-smoke-tempest_smoke-{tag}-run'
130 - name: '{repo}-functest-smoke-neutron-tempest-plugin-api-{tag}-run'
131 - name: '{repo}-functest-smoke-rally_sanity-{tag}-run'
132 - name: '{repo}-functest-smoke-rally_jobs-{tag}-run'
133 - name: '{repo}-functest-smoke-refstack_defcore-{tag}-run'
134 - name: '{repo}-functest-smoke-patrole-{tag}-run'
135 - name: '{repo}-functest-smoke-snaps_smoke-{tag}-run'
136 - name: '{repo}-functest-smoke-neutron_trunk-{tag}-run'
137 - name: '{repo}-functest-smoke-networking-bgpvpn-{tag}-run'
138 - name: '{repo}-functest-smoke-networking-sfc-{tag}-run'
139 - name: '{repo}-functest-smoke-barbican-{tag}-run'
142 name: repo-functest-benchmarking-test-tag-run'
143 <<: *functest-defaultparameters
144 container: benchmarking
149 - '{repo}-functest-{container}-{test}-{tag}-run'
151 - functest-benchmarkingjobs: &functest-benchmarkingjobs
152 name: 'functest-benchmarkingjobs'
154 - name: '{repo}-functest-benchmarking-vmtp-{tag}-run'
155 - name: '{repo}-functest-benchmarking-shaker-{tag}-run'
158 name: repo-functest-components-test-tag-run
159 <<: *functest-defaultparameters
160 container: components
165 - '{repo}-functest-{container}-{test}-{tag}-run'
167 - functest-componentsjobs: &functest-componentsjobs
168 name: 'functest-componentsjobs'
170 - name: '{repo}-functest-components-tempest_full-{tag}-run'
171 - name: '{repo}-functest-components-tempest_scenario-{tag}-run'
174 name: repo-functest-vnf-{test}-{tag}-run
175 <<: *functest-defaultparameters
184 - '{repo}-functest-{container}-{test}-{tag}-run'
186 - functest-vnfjobs: &functest-vnfjobs
187 name: 'functest-vnfjobs'
189 - name: '{repo}-functest-vnf-cloudify-{tag}-run'
190 - name: '{repo}-functest-vnf-cloudify_ims-{tag}-run'
191 - name: '{repo}-functest-vnf-heat_ims-{tag}-run'
192 - name: '{repo}-functest-vnf-vyos_vrouter-{tag}-run'
193 - name: '{repo}-functest-vnf-juju_epc-{tag}-run'
196 name: repo-functest-features-test-tag-run
197 <<: *functest-defaultparameters
200 - doctor-notification
207 - '{repo}-functest-{container}-{test}-{tag}-run'
209 - functest-featuresjobs: &functest-featuresjobs
210 name: 'functest-featuresjobs'
212 - name: '{repo}-functest-features-doctor-notification-{tag}-run'
213 - name: '{repo}-functest-features-bgpvpn-{tag}-run'
214 - name: '{repo}-functest-features-functest-odl-sfc-{tag}-run'
215 - name: '{repo}-functest-features-barometercollectd-{tag}-run'
216 - name: '{repo}-functest-features-vgpu-{tag}-run'
217 - name: '{repo}-functest-features-stor4nfv_os-{tag}-run'
220 name: '{repo}-functest-{tag}-daily'
221 <<: *functest-defaultparameters
222 project-type: multijob
224 - functest-virtual-defaults
227 name: pull containers
228 <<: *functest-pulljobs
231 <<: *functest-healthcheckjobs
234 <<: *functest-smokejobs
237 <<: *functest-benchmarkingjobs
240 <<: *functest-componentsjobs
243 <<: *functest-vnfjobs
246 <<: *functest-featuresjobs
249 name: repo-functest-tag-daily
250 <<: *functest-defaultparameters
252 - '{repo}-functest-{tag}-daily'
255 name: functest-gerrit
258 url: https://gerrit.opnfv.org/gerrit/functest
259 refspec: '+refs/changes/*:refs/changes/*'
264 name: '{repo}-functest-{container}-{tag}-build'
265 <<: *functest-buildparameters
270 case "{container}" in
274 args="--build-arg BRANCH=${{branch}}" ;;
276 cd docker/$(echo {container} |cut -d\- -f 2)
278 ${{args}} --pull=false --no-cache --force-rm=true \
279 -t {repo}/functest-{container}:{tag} .
282 name: repo-functest-container-tag-build
283 <<: *functest-defaultparameters
294 - '{repo}-functest-{container}-{tag}-build'
296 - functest-projectparameters: &functest-projectparameters
297 name: 'functest-projectparameters'
298 current-parameters: true
301 name: '{repo}-functest-{tag}-gate'
302 project-type: multijob
303 <<: *functest-buildparameters
306 name: build functest-core
308 - name: '{repo}-functest-core-{tag}-build'
309 <<: *functest-projectparameters
311 name: build functest-tempest
313 - name: '{repo}-functest-tempest-{tag}-build'
314 <<: *functest-projectparameters
316 name: build all remaining contrainers
318 - name: '{repo}-functest-healthcheck-{tag}-build'
319 <<: *functest-projectparameters
320 - name: '{repo}-functest-smoke-{tag}-build'
321 <<: *functest-projectparameters
322 - name: '{repo}-functest-benchmarking-{tag}-build'
323 <<: *functest-projectparameters
324 - name: '{repo}-functest-components-{tag}-build'
325 <<: *functest-projectparameters
326 - name: '{repo}-functest-vnf-{tag}-build'
327 <<: *functest-projectparameters
328 - name: '{repo}-functest-features-{tag}-build'
329 <<: *functest-projectparameters
332 <<: *functest-healthcheckjobs
335 <<: *functest-smokejobs
338 <<: *functest-benchmarkingjobs
341 <<: *functest-componentsjobs
344 <<: *functest-vnfjobs
347 <<: *functest-featuresjobs
350 name: repo-functest-tag-gate
351 <<: *functest-defaultparameters
353 - '{repo}-functest-{tag}-gate'