2 # jenkins job templates for Fuel
11 # -------------------------------
13 # -------------------------------
19 functest_docker_tag: iruya
22 branch: 'stable/{stream}'
24 gs-pathname: '/{stream}'
25 functest_docker_tag: '{stream}'
26 # -------------------------------
27 # POD, INSTALLER, AND BRANCH MAPPING
28 # -------------------------------
30 # -------------------------------
33 slave-label: fuel-baremetal
36 slave-label: fuel-virtual
39 slave-label: fuel-baremetal
42 slave-label: fuel-virtual
44 # -------------------------------
46 # -------------------------------
51 slave-label: itri-pod1
54 # -------------------------------
56 # -------------------------------
59 - 'os-nosdn-nofeature-ha':
60 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
61 - 'os-odl-nofeature-ha':
62 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
63 - 'os-ovn-nofeature-ha':
64 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
66 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
68 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
70 - 'os-nosdn-nofeature-noha':
71 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
72 - 'os-odl-nofeature-noha':
73 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
75 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
76 - 'os-odl-bgpvpn-noha':
77 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
78 - 'os-ovn-nofeature-noha':
79 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
81 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
82 - 'os-nosdn-ovs-noha':
83 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
84 - 'os-nosdn-fdio-noha':
85 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
86 - 'k8-calico-nofeature-noha':
87 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
90 - 'fuel-{scenario}-{pod}-daily-{stream}'
91 - 'fuel-deploy-{pod}-daily-{stream}'
92 - 'fuel-collect-logs-{pod}-daily-{stream}'
94 ########################
96 ########################
98 name: 'fuel-{scenario}-{pod}-daily-{stream}'
100 disabled: '{obj:disabled}'
112 use-build-blocker: true
114 - 'fuel-(os|k8)-.*?-{pod}-daily-.*'
116 blocking-level: 'NODE'
120 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
123 - '{auto-trigger-name}'
129 - '{installer}-defaults':
130 gs-pathname: '{gs-pathname}'
131 - '{slave-label}-defaults':
132 installer: '{installer}'
134 name: DEPLOY_SCENARIO
135 default: '{scenario}'
138 - description-setter:
139 description: "Built on $NODE_NAME"
141 - project: 'fuel-deploy-{pod}-daily-{stream}'
142 current-parameters: false
143 predefined-parameters: |
144 DEPLOY_SCENARIO={scenario}
145 INSTALLER_VERSION={stream}
149 - project: 'functest-fuel-{pod}-daily-{stream}'
150 current-parameters: false
151 predefined-parameters: |
152 DEPLOY_SCENARIO={scenario}
153 INSTALLER_VERSION={stream}
154 DOCKER_TAG={functest_docker_tag}
158 build-step-failure-threshold: 'never'
159 failure-threshold: 'never'
160 unstable-threshold: 'FAILURE'
162 - project: 'yardstick-fuel-{pod}-daily-{stream}'
163 current-parameters: false
164 predefined-parameters: |
165 DEPLOY_SCENARIO={scenario}
166 INSTALLER_VERSION={stream}
170 build-step-failure-threshold: 'never'
171 failure-threshold: 'never'
172 unstable-threshold: 'FAILURE'
173 # 1.here the stream means the SUT stream, dovetail stream is defined in its own job
174 # 2.testsuite default here is for the test cases already added into OVP
175 # 3.run default testsuite mandatory test cases against ha scenario
176 # 4.run default testsuite optional test cases against ha scenario twice one week
177 # 5.run proposed_tests testsuite optional test cases against ha scenario
178 # 6.not used for release criteria or compliance, only to debug the dovetail tool bugs
182 - condition-kind: regex-match
187 - project: 'dovetail-fuel-{pod}-default-mandatory-{stream}'
188 current-parameters: false
189 predefined-parameters: |
190 DEPLOY_SCENARIO={scenario}
191 INSTALLER_VERSION={stream}
195 build-step-failure-threshold: 'never'
196 failure-threshold: 'never'
197 unstable-threshold: 'FAILURE'
198 - project: 'dovetail-fuel-{pod}-proposed_tests-optional-{stream}'
199 current-parameters: false
200 predefined-parameters: |
201 DEPLOY_SCENARIO={scenario}
202 INSTALLER_VERSION={stream}
206 build-step-failure-threshold: 'never'
207 failure-threshold: 'never'
208 unstable-threshold: 'FAILURE'
212 - condition-kind: regex-match
215 - condition-kind: day-of-week
216 day-selector: select-days
223 - project: 'dovetail-fuel-{pod}-default-optional-{stream}'
224 current-parameters: false
225 predefined-parameters: |
226 DEPLOY_SCENARIO={scenario}
227 INSTALLER_VERSION={stream}
231 build-step-failure-threshold: 'never'
232 failure-threshold: 'never'
233 unstable-threshold: 'FAILURE'
235 - project: 'fuel-collect-logs-{pod}-daily-{stream}'
236 current-parameters: false
237 predefined-parameters: |
238 DEPLOY_SCENARIO={scenario}
239 INSTALLER_VERSION={stream}
243 build-step-failure-threshold: 'never'
244 failure-threshold: 'never'
245 unstable-threshold: 'FAILURE'
249 - email-jenkins-admins-on-failure
252 name: 'fuel-deploy-{pod}-daily-{stream}'
254 disabled: '{obj:disabled}'
266 use-build-blocker: true
268 - 'fuel-deploy-{pod}-daily-.*'
269 blocking-level: 'NODE'
275 - '{installer}-defaults':
276 gs-pathname: '{gs-pathname}'
277 - '{slave-label}-defaults':
278 installer: '{installer}'
281 name: DEPLOY_SCENARIO
282 default: 'os-odl-nofeature-ha'
289 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
292 - description-setter:
293 description: "Built on $NODE_NAME"
294 - track-begin-timestamp
296 !include-raw-escape: ./fuel-deploy.sh
300 - email-jenkins-admins-on-failure
301 - report-provision-result
304 name: 'fuel-collect-logs-{pod}-daily-{stream}'
306 disabled: '{obj:disabled}'
317 - '{installer}-defaults':
318 gs-pathname: '{gs-pathname}'
319 - '{slave-label}-defaults':
320 installer: '{installer}'
322 name: DEPLOY_SCENARIO
323 default: 'os-odl-nofeature-ha'
330 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
333 - description-setter:
334 description: "Built on $NODE_NAME"
336 !include-raw-escape: ./fuel-logs.sh
339 - email-jenkins-admins-on-failure
341 ########################
343 ########################
344 # ----------------------------------------------
345 # Triggers for job running on fuel-baremetal against master branch
346 # ----------------------------------------------
349 name: 'fuel-os-nosdn-nofeature-ha-baremetal-daily-master-trigger'
351 - timed: '5 20 * * 1,2,4,6,7'
353 name: 'fuel-os-odl-nofeature-ha-baremetal-daily-master-trigger'
357 name: 'fuel-os-nosdn-ovs-ha-baremetal-daily-master-trigger'
361 name: 'fuel-os-ovn-nofeature-ha-baremetal-daily-master-trigger'
365 name: 'fuel-os-nosdn-fdio-ha-baremetal-daily-master-trigger'
371 name: 'fuel-os-nosdn-nofeature-noha-baremetal-daily-master-trigger'
375 name: 'fuel-os-odl-nofeature-noha-baremetal-daily-master-trigger'
379 name: 'fuel-os-odl-sfc-noha-baremetal-daily-master-trigger'
383 name: 'fuel-os-odl-bgpvpn-noha-baremetal-daily-master-trigger'
387 name: 'fuel-os-ovn-nofeature-noha-baremetal-daily-master-trigger'
391 name: 'fuel-os-odl-ovs-noha-baremetal-daily-master-trigger'
395 name: 'fuel-os-nosdn-ovs-noha-baremetal-daily-master-trigger'
399 name: 'fuel-os-nosdn-fdio-noha-baremetal-daily-master-trigger'
401 - timed: '5 20 * * 3,5'
403 name: 'fuel-k8-calico-nofeature-noha-baremetal-daily-master-trigger'
406 # ----------------------------------------------
407 # Triggers for job running on fuel-baremetal against iruya branch
408 # ----------------------------------------------
411 name: 'fuel-os-nosdn-nofeature-ha-baremetal-daily-iruya-trigger'
413 - timed: '0 20 * * 1,4,7'
415 name: 'fuel-os-odl-nofeature-ha-baremetal-daily-iruya-trigger'
419 name: 'fuel-os-ovn-nofeature-ha-baremetal-daily-iruya-trigger'
423 name: 'fuel-os-nosdn-ovs-ha-baremetal-daily-iruya-trigger'
427 name: 'fuel-os-nosdn-fdio-ha-baremetal-daily-iruya-trigger'
432 name: 'fuel-os-nosdn-nofeature-noha-baremetal-daily-iruya-trigger'
436 name: 'fuel-os-odl-nofeature-noha-baremetal-daily-iruya-trigger'
440 name: 'fuel-os-odl-sfc-noha-baremetal-daily-iruya-trigger'
444 name: 'fuel-os-odl-bgpvpn-noha-baremetal-daily-iruya-trigger'
448 name: 'fuel-os-ovn-nofeature-noha-baremetal-daily-iruya-trigger'
450 - timed: '0 20 * * 6'
452 name: 'fuel-os-odl-ovs-noha-baremetal-daily-iruya-trigger'
454 - timed: '0 20 * * 2'
456 name: 'fuel-os-nosdn-ovs-noha-baremetal-daily-iruya-trigger'
460 name: 'fuel-os-nosdn-fdio-noha-baremetal-daily-iruya-trigger'
462 - timed: '0 20 * * 3,5'
464 name: 'fuel-k8-calico-nofeature-noha-baremetal-daily-iruya-trigger'
467 # ----------------------------------------------
468 # Triggers for job running on fuel-virtual against master branch
469 # ----------------------------------------------
471 name: 'fuel-os-nosdn-nofeature-ha-virtual-daily-master-trigger'
475 name: 'fuel-os-odl-nofeature-ha-virtual-daily-master-trigger'
479 name: 'fuel-os-ovn-nofeature-ha-virtual-daily-master-trigger'
483 name: 'fuel-os-nosdn-ovs-ha-virtual-daily-master-trigger'
487 name: 'fuel-os-nosdn-fdio-ha-virtual-daily-master-trigger'
492 name: 'fuel-os-nosdn-nofeature-noha-virtual-daily-master-trigger'
494 - timed: '5 13 * * *'
496 name: 'fuel-os-odl-nofeature-noha-virtual-daily-master-trigger'
498 - timed: '5 18 * * *'
500 name: 'fuel-os-odl-sfc-noha-virtual-daily-master-trigger'
502 - timed: '5 4 * * 1,4'
504 name: 'fuel-os-odl-bgpvpn-noha-virtual-daily-master-trigger'
506 - timed: '5 6 * * 2,5'
508 name: 'fuel-os-ovn-nofeature-noha-virtual-daily-master-trigger'
510 - timed: '5 23 * * *'
512 name: 'fuel-os-odl-ovs-noha-virtual-daily-master-trigger'
516 name: 'fuel-os-nosdn-ovs-noha-virtual-daily-master-trigger'
520 name: 'fuel-os-nosdn-fdio-noha-virtual-daily-master-trigger'
522 - timed: '5 20 * * *'
524 name: 'fuel-k8-calico-nofeature-noha-virtual-daily-master-trigger'
526 - timed: '5 16 * * *'
527 # ----------------------------------------------
528 # Triggers for job running on fuel-virtual against iruya branch
529 # ----------------------------------------------
531 name: 'fuel-os-nosdn-nofeature-ha-virtual-daily-iruya-trigger'
535 name: 'fuel-os-odl-nofeature-ha-virtual-daily-iruya-trigger'
539 name: 'fuel-os-ovn-nofeature-ha-virtual-daily-iruya-trigger'
543 name: 'fuel-os-nosdn-ovs-ha-virtual-daily-iruya-trigger'
547 name: 'fuel-os-nosdn-fdio-ha-virtual-daily-iruya-trigger'
552 name: 'fuel-os-nosdn-nofeature-noha-virtual-daily-iruya-trigger'
554 - timed: '0 13 * * *'
556 name: 'fuel-os-odl-nofeature-noha-virtual-daily-iruya-trigger'
558 - timed: '0 18 * * *'
560 name: 'fuel-os-odl-sfc-noha-virtual-daily-iruya-trigger'
562 - timed: '0 4 * * 1,4'
564 name: 'fuel-os-odl-bgpvpn-noha-virtual-daily-iruya-trigger'
566 - timed: '0 7 * * 2,5'
568 name: 'fuel-os-ovn-nofeature-noha-virtual-daily-iruya-trigger'
570 - timed: '0 23 * * *'
572 name: 'fuel-os-odl-ovs-noha-virtual-daily-iruya-trigger'
576 name: 'fuel-os-nosdn-ovs-noha-virtual-daily-iruya-trigger'
580 name: 'fuel-os-nosdn-fdio-noha-virtual-daily-iruya-trigger'
582 - timed: '0 13 * * 6,7'
584 name: 'fuel-k8-calico-nofeature-noha-virtual-daily-iruya-trigger'
586 - timed: '5 13 * * 6,7'
587 # ----------------------------------------------
588 # ZTE POD1 Triggers running against master branch
589 # ----------------------------------------------
591 name: 'fuel-os-nosdn-nofeature-ha-zte-pod1-daily-master-trigger'
593 - timed: '0 10 * * *'
595 name: 'fuel-os-odl-nofeature-ha-zte-pod1-daily-master-trigger'
599 name: 'fuel-os-ovn-nofeature-ha-zte-pod1-daily-master-trigger'
603 name: 'fuel-os-nosdn-ovs-ha-zte-pod1-daily-master-trigger'
607 name: 'fuel-os-nosdn-fdio-ha-zte-pod1-daily-master-trigger'
612 name: 'fuel-os-nosdn-nofeature-noha-zte-pod1-daily-master-trigger'
616 name: 'fuel-os-odl-nofeature-noha-zte-pod1-daily-master-trigger'
620 name: 'fuel-os-odl-sfc-noha-zte-pod1-daily-master-trigger'
624 name: 'fuel-os-odl-bgpvpn-noha-zte-pod1-daily-master-trigger'
628 name: 'fuel-os-ovn-nofeature-noha-zte-pod1-daily-master-trigger'
632 name: 'fuel-os-odl-ovs-noha-zte-pod1-daily-master-trigger'
636 name: 'fuel-os-nosdn-ovs-noha-zte-pod1-daily-master-trigger'
640 name: 'fuel-os-nosdn-fdio-noha-zte-pod1-daily-master-trigger'
644 name: 'fuel-k8-calico-nofeature-noha-zte-pod1-daily-master-trigger'
647 # ----------------------------------------------
648 # ITRI POD1 Triggers running against master branch
649 # ----------------------------------------------
651 name: 'fuel-os-nosdn-nofeature-ha-itri-pod1-daily-master-trigger'
653 - timed: '0 13 * * 1'
655 name: 'fuel-os-odl-nofeature-ha-itri-pod1-daily-master-trigger'
657 - timed: '0 17 * * 1'
659 name: 'fuel-os-ovn-nofeature-ha-itri-pod1-daily-master-trigger'
661 - timed: '0 13 * * 2'
663 name: 'fuel-os-nosdn-ovs-ha-itri-pod1-daily-master-trigger'
665 - timed: '0 17 * * 2'
667 name: 'fuel-os-nosdn-fdio-ha-itri-pod1-daily-master-trigger'
672 name: 'fuel-os-nosdn-nofeature-noha-itri-pod1-daily-master-trigger'
674 - timed: '0 13 * * 3'
676 name: 'fuel-os-odl-nofeature-noha-itri-pod1-daily-master-trigger'
678 - timed: '0 17 * * 3'
680 name: 'fuel-os-odl-sfc-noha-itri-pod1-daily-master-trigger'
682 - timed: '0 13 * * 4'
684 name: 'fuel-os-odl-bgpvpn-noha-itri-pod1-daily-master-trigger'
688 name: 'fuel-os-ovn-nofeature-noha-itri-pod1-daily-master-trigger'
690 - timed: '0 17 * * 4'
692 name: 'fuel-os-odl-ovs-noha-itri-pod1-daily-master-trigger'
694 - timed: '0 13 * * 5'
696 name: 'fuel-os-nosdn-ovs-noha-itri-pod1-daily-master-trigger'
698 - timed: '0 17 * * 5'
700 name: 'fuel-os-nosdn-fdio-noha-itri-pod1-daily-master-trigger'
704 name: 'fuel-k8-calico-nofeature-noha-itri-pod1-daily-master-trigger'
706 - timed: '0 13 * * 6'