1dadaa59e876d9aecf88b7081b34de3da082c206
[releng.git] / jjb / airship / cntt.yaml
1 ---
2 - cntt-jobs: &cntt-jobs
3     name: 'cntt-jobs'
4     current-parameters: true
5
6 - cntt-params: &cntt-params
7     name: 'cntt-params'
8     repo: 'opnfv'
9     port:
10     tag:
11       - latest:
12           branch: master
13           slave: intel-pod15
14           functest_tag: iruya
15
16 - parameter:
17     name: cntt-slave
18     parameters:
19       - label:
20           name: slave
21           default: '{slave}'
22
23 - parameter:
24     name: cntt-build_tag
25     parameters:
26       - random-string:
27           name: build_tag
28
29 - parameter:
30     name: cntt-DEBUG
31     parameters:
32       - string:
33           name: DEBUG
34           default: 'false'
35
36 - parameter:
37     name: cntt-EXTERNAL_NETWORK
38     parameters:
39       - string:
40           name: EXTERNAL_NETWORK
41           default: public
42
43 - cntt-containers: &cntt-containers
44     name: 'cntt-containers'
45     repo: '{repo}'
46     port: '{port}'
47     container: '{container}'
48     functest_tag: '{functest_tag}'
49
50 - cntt-run-containers: &cntt-run-containers
51     name: 'cntt-run-containers'
52     <<: *cntt-containers
53     test: '{test}'
54
55 - builder:
56     name: cntt-pull-containers
57     builders:
58       - shell: |
59           set +x
60           if [ "{repo}" = "_" ]; then
61             image={container}:{functest_tag}
62           elif [ "{port}" = "None" ]; then
63             image={repo}/{container}:{functest_tag}
64           else
65             image={repo}:{port}/{container}:{functest_tag}
66           fi
67           sudo docker pull $image
68
69 - builder:
70     name: cntt-run-containers
71     builders:
72       - shell: |
73           set +x
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}
79           else
80             image={repo}:{port}/{container}:{functest_tag}
81           fi
82           sudo docker run --rm \
83             -e S3_ENDPOINT_URL=https://storage.googleapis.com \
84             -e S3_DST_URL=s3://artifacts.opnfv.org/cntt/$BUILD_TAG/$JOB_NAME-$BUILD_ID \
85             -e HTTP_DST_URL=http://artifacts.opnfv.org/cntt/$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 \
88             -e NODE_NAME=$slave \
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 \
93             -e DEBUG=$DEBUG \
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
101
102 - builder:
103     name: cntt-remove-images
104     builders:
105       - shell: |
106           set +x
107           if [ "{repo}" = "_" ]; then
108             image={container}:{functest_tag}
109           elif [ "{port}" = "None" ]; then
110             image={repo}/{container}:{functest_tag}
111           else
112             image={repo}:{port}/{container}:{functest_tag}
113           fi
114           sudo docker rmi $image || true
115
116 - builder:
117     name: cntt-deploy
118     builders:
119       - shell: |
120           set +x
121           export TERM_OPTS=" "
122           sudo -H -E -u opnfv bash -c 'tools/deploy.sh $slave deploy_site'
123
124 - scm:
125     name: cntt-scm
126     scm:
127       - git:
128           url: https://gerrit.opnfv.org/gerrit/airship
129           refspec: '+refs/changes/*:refs/changes/*'
130           branches:
131             - '{ref}'
132
133 - parameter:
134     name: cntt-branch
135     parameters:
136       - string:
137           name: branch
138           default: '{branch}'
139
140 - job-template:
141     name: 'cntt-deploy-daily-{tag}'
142     parameters:
143       - cntt-slave:
144           slave: '{slave}'
145       - cntt-branch:
146           branch: '{branch}'
147     scm:
148       - cntt-scm:
149           ref: $branch
150     builders:
151       - cntt-deploy
152
153 - job-template:
154     name: 'cntt-deploy-gate-{tag}'
155     parameters:
156       - cntt-slave:
157           slave: '{slave}'
158     scm:
159       - cntt-scm:
160           ref: $GERRIT_REFSPEC
161     builders:
162       - cntt-deploy
163
164 - project:
165     name: 'cntt-deploy'
166     <<: *cntt-params
167     jobs:
168       - 'cntt-deploy-daily-{tag}'
169       - 'cntt-deploy-gate-{tag}'
170
171 - job-template:
172     name: 'cntt-{repo}-{container}-{tag}-pull'
173     parameters:
174       - cntt-slave:
175           slave: '{slave}'
176     builders:
177       - cntt-pull-containers:
178           <<: *cntt-containers
179
180 - project:
181     name: 'cntt-opnfv-functest-healthcheck-pull'
182     <<: *cntt-params
183     container: 'functest-healthcheck'
184     jobs:
185       - 'cntt-{repo}-{container}-{tag}-pull'
186
187 - project:
188     name: 'cntt-opnfv-functest-smoke-pull'
189     <<: *cntt-params
190     container: 'functest-smoke'
191     jobs:
192       - 'cntt-{repo}-{container}-{tag}-pull'
193
194 - project:
195     name: 'cntt-opnfv-functest-smoke-cntt-pull'
196     <<: *cntt-params
197     container: 'functest-smoke-cntt'
198     jobs:
199       - 'cntt-{repo}-{container}-{tag}-pull'
200
201 - project:
202     name: 'cntt-opnfv-functest-benchmarking-pull'
203     <<: *cntt-params
204     container: 'functest-benchmarking'
205     jobs:
206       - 'cntt-{repo}-{container}-{tag}-pull'
207
208 - project:
209     name: 'cntt-opnfv-functest-benchmarking-cntt-pull'
210     <<: *cntt-params
211     container: 'functest-benchmarking-cntt'
212     jobs:
213       - 'cntt-{repo}-{container}-{tag}-pull'
214
215 - project:
216     name: 'cntt-opnfv-functest-vnf-pull'
217     <<: *cntt-params
218     container: 'functest-vnf'
219     jobs:
220       - 'cntt-{repo}-{container}-{tag}-pull'
221
222 - job-template:
223     name: 'cntt-{repo}-{container}-{tag}-rmi'
224     parameters:
225       - cntt-slave:
226           slave: '{slave}'
227     builders:
228       - cntt-remove-images:
229           <<: *cntt-containers
230
231 - project:
232     name: 'cntt-opnfv-functest-healthcheck-rmi'
233     <<: *cntt-params
234     container: 'functest-healthcheck'
235     jobs:
236       - 'cntt-{repo}-{container}-{tag}-rmi'
237
238 - project:
239     name: 'cntt-opnfv-functest-smoke-rmi'
240     <<: *cntt-params
241     container: 'functest-smoke'
242     jobs:
243       - 'cntt-{repo}-{container}-{tag}-rmi'
244
245 - project:
246     name: 'cntt-opnfv-functest-smoke-cntt-rmi'
247     <<: *cntt-params
248     container: 'functest-smoke-cntt'
249     jobs:
250       - 'cntt-{repo}-{container}-{tag}-rmi'
251
252 - project:
253     name: 'cntt-opnfv-functest-benchmarking-rmi'
254     <<: *cntt-params
255     container: 'functest-benchmarking'
256     jobs:
257       - 'cntt-{repo}-{container}-{tag}-rmi'
258
259 - project:
260     name: 'cntt-opnfv-functest-benchmarking-cntt-rmi'
261     <<: *cntt-params
262     container: 'functest-benchmarking-cntt'
263     jobs:
264       - 'cntt-{repo}-{container}-{tag}-rmi'
265
266 - project:
267     name: 'cntt-opnfv-functest-vnf-rmi'
268     <<: *cntt-params
269     container: 'functest-vnf'
270     jobs:
271       - 'cntt-{repo}-{container}-{tag}-rmi'
272
273 - job-template:
274     name: 'cntt-{repo}-{container}-{tag}-{test}-run'
275     parameters:
276       - cntt-slave:
277           slave: '{slave}'
278       - cntt-build_tag:
279           build_tag: ''
280       - cntt-DEBUG:
281           DEBUG: 'false'
282       - cntt-EXTERNAL_NETWORK:
283           EXTERNAL_NETWORK: public
284     builders:
285       - cntt-run-containers:
286           <<: *cntt-run-containers
287
288 - project:
289     name: 'cntt-opnfv-functest-healthcheck'
290     <<: *cntt-params
291     container: 'functest-healthcheck'
292     test:
293       - connection_check
294       - tenantnetwork1
295       - tenantnetwork2
296       - vmready1
297       - vmready2
298       - singlevm1
299       - singlevm2
300       - vping_ssh
301       - vping_userdata
302       - cinder_test
303       - odl
304       - tempest_smoke
305       - tempest_horizon
306     jobs:
307       - 'cntt-{repo}-{container}-{tag}-{test}-run'
308
309 - project:
310     name: 'cntt-opnfv-functest-smoke'
311     <<: *cntt-params
312     container: 'functest-smoke'
313     test:
314       - tempest_neutron
315       - tempest_cinder
316       - tempest_keystone
317       - tempest_heat
318       - tempest_telemetry
319       - rally_sanity
320       - refstack_compute
321       - refstack_object
322       - refstack_platform
323       - tempest_full
324       - tempest_scenario
325       - tempest_slow
326       - patrole
327       - networking-bgpvpn
328       - networking-sfc
329       - tempest_barbican
330       - tempest_octavia
331     jobs:
332       - 'cntt-{repo}-{container}-{tag}-{test}-run'
333
334 - project:
335     name: 'cntt-opnfv-functest-smoke-cntt'
336     <<: *cntt-params
337     container: 'functest-smoke-cntt'
338     test:
339       - tempest_neutron_cntt
340       - tempest_cinder_cntt
341       - tempest_keystone_cntt
342       - tempest_heat_cntt
343       - rally_sanity_cntt
344       - tempest_full_cntt
345       - tempest_scenario_cntt
346       - tempest_slow_cntt
347     jobs:
348       - 'cntt-{repo}-{container}-{tag}-{test}-run'
349
350 - project:
351     name: 'cntt-opnfv-functest-benchmarking'
352     <<: *cntt-params
353     container: 'functest-benchmarking'
354     test:
355       - rally_full
356       - rally_jobs
357       - vmtp
358       - shaker
359     jobs:
360       - 'cntt-{repo}-{container}-{tag}-{test}-run'
361
362 - project:
363     name: 'cntt-opnfv-functest-benchmarking-cntt'
364     <<: *cntt-params
365     container: 'functest-benchmarking-cntt'
366     test:
367       - rally_full_cntt
368       - rally_jobs_cntt
369     jobs:
370       - 'cntt-{repo}-{container}-{tag}-{test}-run'
371
372 - project:
373     name: 'cntt-opnfv-functest-vnf'
374     <<: *cntt-params
375     container: 'functest-vnf'
376     test:
377       - cloudify
378       - cloudify_ims
379       - heat_ims
380       - vyos_vrouter
381       - juju_epc
382     jobs:
383       - 'cntt-{repo}-{container}-{tag}-{test}-run'
384
385 - builder:
386     name: cntt-zip
387     builders:
388       - shell: |
389           set +x
390           [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true
391           if [ "{repo}" = "_" ]; then
392             image={container}:{functest_tag}
393           elif [ "{port}" = "None" ]; then
394             image={repo}/{container}:{functest_tag}
395           else
396             image={repo}:{port}/{container}:{functest_tag}
397           fi
398           sudo docker run --rm \
399             -e S3_ENDPOINT_URL=https://storage.googleapis.com \
400             -e S3_DST_URL=s3://artifacts.opnfv.org/cntt \
401             -e HTTP_DST_URL=http://artifacts.opnfv.org/cntt/ \
402             -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
403             -e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
404             -e BUILD_TAG=$BUILD_TAG \
405             -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
406             -v /home/opnfv/functest/.boto:/root/.boto \
407             $image zip_campaign
408
409 - job-template:
410     name: 'cntt-{tag}-zip'
411     parameters:
412       - cntt-build_tag:
413           build_tag: ''
414     builders:
415       - cntt-zip:
416           <<: *cntt-containers
417
418 - project:
419     name: 'cntt-{tag}-zip'
420     <<: *cntt-params
421     container: 'functest-healthcheck'
422     jobs:
423       - 'cntt-{tag}-zip'
424
425 - job-template:
426     name: 'cntt-{tag}-daily'
427     project-type: multijob
428     triggers:
429       - timed: '@daily'
430     parameters:
431       - cntt-slave:
432           slave: '{slave}'
433       - cntt-build_tag:
434           build_tag: ''
435       - cntt-branch:
436           branch: 'master'
437       - cntt-DEBUG:
438           DEBUG: 'false'
439       - cntt-EXTERNAL_NETWORK:
440           EXTERNAL_NETWORK: public
441     properties:
442       - build-blocker:
443           use-build-blocker: true
444           blocking-level: 'NODE'
445           blocking-jobs:
446             - '^cntt-{tag}-(daily|gate)$'
447     builders:
448       - multijob:
449           name: deploy
450           projects:
451             - name: 'cntt-deploy-daily-{tag}'
452               <<: *cntt-jobs
453       - multijob:
454           name: remove former images
455           projects:
456             - name: 'cntt-opnfv-functest-healthcheck-{tag}-rmi'
457               <<: *cntt-jobs
458             - name: 'cntt-opnfv-functest-smoke-{tag}-rmi'
459               <<: *cntt-jobs
460             - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-rmi'
461               <<: *cntt-jobs
462             - name: 'cntt-opnfv-functest-benchmarking-{tag}-rmi'
463               <<: *cntt-jobs
464             - name: 'cntt-opnfv-functest-benchmarking-cntt-{tag}-rmi'
465               <<: *cntt-jobs
466             - name: 'cntt-opnfv-functest-vnf-{tag}-rmi'
467               <<: *cntt-jobs
468       - multijob:
469           name: pull containers
470           projects:
471             - name: 'cntt-opnfv-functest-healthcheck-{tag}-pull'
472               <<: *cntt-jobs
473             - name: 'cntt-opnfv-functest-smoke-{tag}-pull'
474               <<: *cntt-jobs
475             - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-pull'
476               <<: *cntt-jobs
477             - name: 'cntt-opnfv-functest-benchmarking-{tag}-pull'
478               <<: *cntt-jobs
479             - name: 'cntt-opnfv-functest-benchmarking-cntt-{tag}-pull'
480               <<: *cntt-jobs
481             - name: 'cntt-opnfv-functest-vnf-{tag}-pull'
482               <<: *cntt-jobs
483       - multijob:
484           name: opnfv/functest-healthcheck:{functest_tag}
485           condition: ALWAYS
486           projects:
487             - name: 'cntt-opnfv-functest-healthcheck-{tag}-connection_check-run'
488               <<: *cntt-jobs
489             - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork1-run'
490               <<: *cntt-jobs
491             - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork2-run'
492               <<: *cntt-jobs
493             - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready1-run'
494               <<: *cntt-jobs
495             - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready2-run'
496               <<: *cntt-jobs
497             - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm1-run'
498               <<: *cntt-jobs
499             - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm2-run'
500               <<: *cntt-jobs
501             - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_ssh-run'
502               <<: *cntt-jobs
503             - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_userdata-run'
504               <<: *cntt-jobs
505             - name: 'cntt-opnfv-functest-healthcheck-{tag}-cinder_test-run'
506               <<: *cntt-jobs
507             - name: 'cntt-opnfv-functest-healthcheck-{tag}-odl-run'
508               <<: *cntt-jobs
509             - name: 'cntt-opnfv-functest-healthcheck-{tag}-tempest_smoke-run'
510               <<: *cntt-jobs
511             - name: 'cntt-opnfv-functest-healthcheck-{tag}-tempest_horizon-run'
512               <<: *cntt-jobs
513       - multijob:
514           name: opnfv/functest-smoke:{functest_tag}
515           condition: ALWAYS
516           projects:
517             - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_neutron-run'
518               <<: *cntt-jobs
519             - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_cinder-run'
520               <<: *cntt-jobs
521             - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_keystone-run'
522               <<: *cntt-jobs
523             - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_heat-run'
524               <<: *cntt-jobs
525             - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_telemetry-run'
526               <<: *cntt-jobs
527             - name: 'cntt-opnfv-functest-smoke-{tag}-rally_sanity-run'
528               <<: *cntt-jobs
529             - name: 'cntt-opnfv-functest-smoke-{tag}-refstack_compute-run'
530               <<: *cntt-jobs
531             - name: 'cntt-opnfv-functest-smoke-{tag}-refstack_object-run'
532               <<: *cntt-jobs
533             - name: 'cntt-opnfv-functest-smoke-{tag}-refstack_platform-run'
534               <<: *cntt-jobs
535             - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_full-run'
536               <<: *cntt-jobs
537             - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_scenario-run'
538               <<: *cntt-jobs
539             - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_slow-run'
540               <<: *cntt-jobs
541             - name: 'cntt-opnfv-functest-smoke-{tag}-patrole-run'
542               <<: *cntt-jobs
543             - name: 'cntt-opnfv-functest-smoke-{tag}-networking-bgpvpn-run'
544               <<: *cntt-jobs
545             - name: 'cntt-opnfv-functest-smoke-{tag}-networking-sfc-run'
546               <<: *cntt-jobs
547             - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_barbican-run'
548               <<: *cntt-jobs
549             - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_octavia-run'
550               <<: *cntt-jobs
551       - multijob:
552           name: opnfv/functest-smoke-cntt:{tag}
553           condition: ALWAYS
554           projects:
555             - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_neutron_cntt-run'
556               <<: *cntt-jobs
557             - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_cinder_cntt-run'
558               <<: *cntt-jobs
559             - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_keystone_cntt-run'
560               <<: *cntt-jobs
561             - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_heat_cntt-run'
562               <<: *cntt-jobs
563             - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-rally_sanity_cntt-run'
564               <<: *cntt-jobs
565             - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_full_cntt-run'
566               <<: *cntt-jobs
567             - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_scenario_cntt-run'
568               <<: *cntt-jobs
569             - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-tempest_slow_cntt-run'
570               <<: *cntt-jobs
571       - multijob:
572           name: opnfv/functest-benchmarking:{functest_tag}
573           condition: ALWAYS
574           projects:
575             - name: 'cntt-opnfv-functest-benchmarking-{tag}-rally_full-run'
576               <<: *cntt-jobs
577             - name: 'cntt-opnfv-functest-benchmarking-{tag}-rally_jobs-run'
578               <<: *cntt-jobs
579             - name: 'cntt-opnfv-functest-benchmarking-{tag}-vmtp-run'
580               <<: *cntt-jobs
581             - name: 'cntt-opnfv-functest-benchmarking-{tag}-shaker-run'
582               <<: *cntt-jobs
583       - multijob:
584           name: opnfv/functest-benchmarking-cntt:{functest_tag}
585           condition: ALWAYS
586           projects:
587             - name: 'cntt-opnfv-functest-benchmarking-cntt-{tag}-rally_full_cntt-run'
588               <<: *cntt-jobs
589             - name: 'cntt-opnfv-functest-benchmarking-cntt-{tag}-rally_jobs_cntt-run'
590               <<: *cntt-jobs
591       - multijob:
592           name: opnfv/functest-vnf:{functest_tag}
593           condition: ALWAYS
594           execution-type: SEQUENTIALLY
595           projects:
596             - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify-run'
597               <<: *cntt-jobs
598             - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify_ims-run'
599               <<: *cntt-jobs
600             - name: 'cntt-opnfv-functest-vnf-{tag}-heat_ims-run'
601               <<: *cntt-jobs
602             - name: 'cntt-opnfv-functest-vnf-{tag}-vyos_vrouter-run'
603               <<: *cntt-jobs
604             - name: 'cntt-opnfv-functest-vnf-{tag}-juju_epc-run'
605               <<: *cntt-jobs
606       - multijob:
607           name: dump all campaign data
608           projects:
609             - name: 'cntt-{tag}-zip'
610               <<: *cntt-jobs
611
612 - trigger:
613     name: cntt-patchset-created
614     triggers:
615       - gerrit:
616           server-name: 'gerrit.opnfv.org'
617           trigger-on:
618             - patchset-created-event
619             - comment-added-contains-event:
620                 comment-contains-value: 'recheck'
621             - comment-added-contains-event:
622                 comment-contains-value: 'reverify'
623           projects:
624             - project-compare-type: 'ANT'
625               project-pattern: 'airship'
626               branches:
627                 - branch-compare-type: 'ANT'
628                   branch-pattern: '**/{branch}'
629           skip-vote:
630             successful: false
631             failed: false
632             unstable: false
633             notbuilt: false
634
635 - job-template:
636     name: 'cntt-{tag}-gate'
637     project-type: multijob
638     triggers:
639       - cntt-patchset-created:
640           branch: '{branch}'
641     parameters:
642       - cntt-slave:
643           slave: '{slave}'
644       - cntt-build_tag:
645           build_tag: ''
646       - cntt-DEBUG:
647           DEBUG: 'false'
648       - cntt-EXTERNAL_NETWORK:
649           EXTERNAL_NETWORK: public
650     properties:
651       - build-blocker:
652           use-build-blocker: true
653           blocking-level: 'NODE'
654           blocking-jobs:
655             - '^cntt-{tag}-(daily|gate)$'
656     builders:
657       - multijob:
658           name: deploy
659           projects:
660             - name: 'cntt-deploy-gate-{tag}'
661               <<: *cntt-jobs
662       - multijob:
663           name: remove former images
664           projects:
665             - name: 'cntt-opnfv-functest-healthcheck-{tag}-rmi'
666               <<: *cntt-jobs
667             - name: 'cntt-opnfv-functest-smoke-{tag}-rmi'
668               <<: *cntt-jobs
669             - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-rmi'
670               <<: *cntt-jobs
671             - name: 'cntt-opnfv-functest-benchmarking-{tag}-rmi'
672               <<: *cntt-jobs
673             - name: 'cntt-opnfv-functest-benchmarking-cntt-{tag}-rmi'
674               <<: *cntt-jobs
675             - name: 'cntt-opnfv-functest-vnf-{tag}-rmi'
676               <<: *cntt-jobs
677       - multijob:
678           name: pull containers
679           projects:
680             - name: 'cntt-opnfv-functest-healthcheck-{tag}-pull'
681               <<: *cntt-jobs
682             - name: 'cntt-opnfv-functest-smoke-{tag}-pull'
683               <<: *cntt-jobs
684             - name: 'cntt-opnfv-functest-smoke-cntt-{tag}-pull'
685               <<: *cntt-jobs
686             - name: 'cntt-opnfv-functest-benchmarking-{tag}-pull'
687               <<: *cntt-jobs
688             - name: 'cntt-opnfv-functest-benchmarking-cntt-{tag}-pull'
689               <<: *cntt-jobs
690             - name: 'cntt-opnfv-functest-vnf-{tag}-pull'
691               <<: *cntt-jobs
692       - multijob:
693           name: opnfv/functest-healthcheck:{functest_tag}
694           projects:
695             - name: 'cntt-opnfv-functest-healthcheck-{tag}-connection_check-run'
696               <<: *cntt-jobs
697             - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork1-run'
698               <<: *cntt-jobs
699             - name: 'cntt-opnfv-functest-healthcheck-{tag}-tenantnetwork2-run'
700               <<: *cntt-jobs
701             - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready1-run'
702               <<: *cntt-jobs
703             - name: 'cntt-opnfv-functest-healthcheck-{tag}-vmready2-run'
704               <<: *cntt-jobs
705             - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm1-run'
706               <<: *cntt-jobs
707             - name: 'cntt-opnfv-functest-healthcheck-{tag}-singlevm2-run'
708               <<: *cntt-jobs
709             - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_ssh-run'
710               <<: *cntt-jobs
711             - name: 'cntt-opnfv-functest-healthcheck-{tag}-vping_userdata-run'
712               <<: *cntt-jobs
713             - name: 'cntt-opnfv-functest-healthcheck-{tag}-cinder_test-run'
714               <<: *cntt-jobs
715             - name: 'cntt-opnfv-functest-healthcheck-{tag}-odl-run'
716               <<: *cntt-jobs
717       - multijob:
718           name: opnfv/functest-smoke:{functest_tag}
719           projects:
720             - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_scenario-run'
721               <<: *cntt-jobs
722             - name: 'cntt-opnfv-functest-smoke-{tag}-networking-bgpvpn-run'
723               <<: *cntt-jobs
724             - name: 'cntt-opnfv-functest-smoke-{tag}-networking-sfc-run'
725               <<: *cntt-jobs
726             - name: 'cntt-opnfv-functest-smoke-{tag}-tempest_barbican-run'
727               <<: *cntt-jobs
728       - multijob:
729           name: opnfv/functest-benchmarking:{functest_tag}
730           projects:
731             - name: 'cntt-opnfv-functest-benchmarking-{tag}-vmtp-run'
732               <<: *cntt-jobs
733             - name: 'cntt-opnfv-functest-benchmarking-{tag}-shaker-run'
734               <<: *cntt-jobs
735       - multijob:
736           name: opnfv/functest-vnf:{functest_tag}
737           condition: ALWAYS
738           execution-type: SEQUENTIALLY
739           projects:
740             - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify-run'
741               <<: *cntt-jobs
742             - name: 'cntt-opnfv-functest-vnf-{tag}-cloudify_ims-run'
743               <<: *cntt-jobs
744             - name: 'cntt-opnfv-functest-vnf-{tag}-heat_ims-run'
745               <<: *cntt-jobs
746             - name: 'cntt-opnfv-functest-vnf-{tag}-vyos_vrouter-run'
747               <<: *cntt-jobs
748             - name: 'cntt-opnfv-functest-vnf-{tag}-juju_epc-run'
749               <<: *cntt-jobs
750
751 - project:
752     name: 'cntt'
753     <<: *cntt-params
754     jobs:
755       - 'cntt-{tag}-daily'
756       - 'cntt-{tag}-gate'
757
758 - view:
759     name: cntt
760     view-type: list
761     columns:
762       - status
763       - weather
764       - job
765       - last-success
766       - last-failure
767       - last-duration
768     regex: ^cntt-[a-z]+-(daily|check|gate)$