2 # jenkins job templates for Fuel
11 # -------------------------------
13 # -------------------------------
21 branch: 'stable/{stream}'
23 gs-pathname: '/{stream}'
26 branch: 'stable/{stream}'
28 gs-pathname: '/{stream}'
29 # -------------------------------
30 # POD, INSTALLER, AND BRANCH MAPPING
31 # -------------------------------
33 # -------------------------------
36 slave-label: fuel-baremetal
39 slave-label: fuel-virtual
42 slave-label: fuel-baremetal
45 slave-label: fuel-virtual
48 slave-label: fuel-baremetal
50 # -------------------------------
52 # -------------------------------
56 # -------------------------------
58 # -------------------------------
61 - 'os-nosdn-nofeature-ha':
62 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
63 - 'os-odl-nofeature-ha':
64 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
65 - 'os-ovn-nofeature-ha':
66 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
68 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
70 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
72 - 'os-nosdn-nofeature-noha':
73 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
74 - 'os-odl-nofeature-noha':
75 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
77 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
78 - 'os-odl-bgpvpn-noha':
79 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
80 - 'os-ovn-nofeature-noha':
81 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
83 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
84 - 'os-nosdn-ovs-noha':
85 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
86 - 'os-nosdn-vpp-noha':
87 auto-trigger-name: 'fuel-{scenario}-{pod}-daily-{stream}-trigger'
90 # Dovetail (and only it) should run against Fraser HA baremetal scenarios
91 - scenario: os-nosdn-nofeature-noha
93 - scenario: os-odl-nofeature-noha
95 - scenario: os-odl-sfc-noha
97 - scenario: os-odl-bgpvpn-noha
99 - scenario: os-odl-ovs-noha
101 - scenario: os-ovn-nofeature-noha
103 - scenario: os-nosdn-ovs-noha
105 - scenario: os-nosdn-vpp-noha
107 - scenario: os-ovn-nofeature-ha
109 - scenario: os-nosdn-vpp-ha
113 - 'fuel-{scenario}-{pod}-daily-{stream}'
114 - 'fuel-deploy-{pod}-daily-{stream}'
115 - 'fuel-collect-logs-{pod}-daily-{stream}'
117 ########################
119 ########################
121 name: 'fuel-{scenario}-{pod}-daily-{stream}'
123 disabled: '{obj:disabled}'
135 use-build-blocker: true
137 - 'fuel-os-.*?-{pod}-daily-.*'
139 blocking-level: 'NODE'
143 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
146 - '{auto-trigger-name}'
152 - '{installer}-defaults':
153 gs-pathname: '{gs-pathname}'
154 - '{slave-label}-defaults':
155 installer: '{installer}'
157 name: DEPLOY_SCENARIO
158 default: '{scenario}'
161 - description-setter:
162 description: "Built on $NODE_NAME"
164 - project: 'fuel-deploy-{pod}-daily-{stream}'
165 current-parameters: false
166 predefined-parameters:
167 DEPLOY_SCENARIO={scenario}
173 condition-kind: regex-match
178 - project: 'functest-fuel-{pod}-daily-{stream}'
179 current-parameters: false
180 predefined-parameters:
181 DEPLOY_SCENARIO={scenario}
185 build-step-failure-threshold: 'never'
186 failure-threshold: 'never'
187 unstable-threshold: 'FAILURE'
191 condition-kind: regex-match
196 - project: 'yardstick-fuel-{pod}-daily-{stream}'
197 current-parameters: false
198 predefined-parameters:
199 DEPLOY_SCENARIO={scenario}
203 build-step-failure-threshold: 'never'
204 failure-threshold: 'never'
205 unstable-threshold: 'FAILURE'
206 # 1.here the stream means the SUT stream, dovetail stream is defined in its own job
207 # 2.testsuite default here is for the test cases already added into OVP
208 # 3.run default testsuite mandatory test cases against ha scenario
209 # 4.run default testsuite optional test cases against ha scenario twice one week
210 # 5.not used for release criteria or compliance, only to debug the dovetail tool bugs
214 - condition-kind: regex-match
219 - project: 'dovetail-fuel-{pod}-default-mandatory-{stream}'
220 current-parameters: false
221 predefined-parameters:
222 DEPLOY_SCENARIO={scenario}
226 build-step-failure-threshold: 'never'
227 failure-threshold: 'never'
228 unstable-threshold: 'FAILURE'
232 - condition-kind: regex-match
235 - condition-kind: day-of-week
236 day-selector: select-days
243 - project: 'dovetail-fuel-{pod}-default-optional-{stream}'
244 current-parameters: false
245 predefined-parameters:
246 DEPLOY_SCENARIO={scenario}
250 build-step-failure-threshold: 'never'
251 failure-threshold: 'never'
252 unstable-threshold: 'FAILURE'
254 - project: 'fuel-collect-logs-{pod}-daily-{stream}'
255 current-parameters: false
256 predefined-parameters:
257 DEPLOY_SCENARIO={scenario}
261 build-step-failure-threshold: 'never'
262 failure-threshold: 'never'
263 unstable-threshold: 'FAILURE'
267 - email-jenkins-admins-on-failure
270 name: 'fuel-deploy-{pod}-daily-{stream}'
272 disabled: '{obj:disabled}'
284 use-build-blocker: true
286 - 'fuel-deploy-{pod}-daily-.*'
287 blocking-level: 'NODE'
293 - '{installer}-defaults':
294 gs-pathname: '{gs-pathname}'
295 - '{slave-label}-defaults':
296 installer: '{installer}'
299 name: DEPLOY_SCENARIO
300 default: 'os-odl-nofeature-ha'
307 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
310 - description-setter:
311 description: "Built on $NODE_NAME"
312 - track-begin-timestamp
314 !include-raw-escape: ./fuel-deploy.sh
318 - email-jenkins-admins-on-failure
319 - report-provision-result
322 name: 'fuel-collect-logs-{pod}-daily-{stream}'
324 disabled: '{obj:disabled}'
335 - '{installer}-defaults':
336 gs-pathname: '{gs-pathname}'
337 - '{slave-label}-defaults':
338 installer: '{installer}'
340 name: DEPLOY_SCENARIO
341 default: 'os-odl-nofeature-ha'
348 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
351 - description-setter:
352 description: "Built on $NODE_NAME"
354 !include-raw-escape: ./fuel-logs.sh
357 - email-jenkins-admins-on-failure
359 ########################
361 ########################
362 # ----------------------------------------------
363 # Triggers for job running on fuel-baremetal against master branch
364 # ----------------------------------------------
367 name: 'fuel-os-nosdn-nofeature-ha-baremetal-daily-master-trigger'
369 - timed: '5 20 * * *'
371 name: 'fuel-os-odl-nofeature-ha-baremetal-daily-master-trigger'
375 name: 'fuel-os-nosdn-ovs-ha-baremetal-daily-master-trigger'
379 name: 'fuel-os-ovn-nofeature-ha-baremetal-daily-master-trigger'
383 name: 'fuel-os-nosdn-vpp-ha-baremetal-daily-master-trigger'
389 name: 'fuel-os-nosdn-nofeature-noha-baremetal-daily-master-trigger'
393 name: 'fuel-os-odl-nofeature-noha-baremetal-daily-master-trigger'
397 name: 'fuel-os-odl-sfc-noha-baremetal-daily-master-trigger'
401 name: 'fuel-os-odl-bgpvpn-noha-baremetal-daily-master-trigger'
405 name: 'fuel-os-ovn-nofeature-noha-baremetal-daily-master-trigger'
409 name: 'fuel-os-odl-ovs-noha-baremetal-daily-master-trigger'
413 name: 'fuel-os-nosdn-ovs-noha-baremetal-daily-master-trigger'
417 name: 'fuel-os-nosdn-vpp-noha-baremetal-daily-master-trigger'
420 # ----------------------------------------------
421 # Triggers for job running on fuel-baremetal against gambia branch
422 # ----------------------------------------------
425 name: 'fuel-os-nosdn-nofeature-ha-baremetal-daily-gambia-trigger'
427 - timed: '0 20 * * *'
429 name: 'fuel-os-odl-nofeature-ha-baremetal-daily-gambia-trigger'
433 name: 'fuel-os-ovn-nofeature-ha-baremetal-daily-gambia-trigger'
437 name: 'fuel-os-nosdn-ovs-ha-baremetal-daily-gambia-trigger'
441 name: 'fuel-os-nosdn-vpp-ha-baremetal-daily-gambia-trigger'
446 name: 'fuel-os-nosdn-nofeature-noha-baremetal-daily-gambia-trigger'
450 name: 'fuel-os-odl-nofeature-noha-baremetal-daily-gambia-trigger'
454 name: 'fuel-os-odl-sfc-noha-baremetal-daily-gambia-trigger'
458 name: 'fuel-os-odl-bgpvpn-noha-baremetal-daily-gambia-trigger'
462 name: 'fuel-os-ovn-nofeature-noha-baremetal-daily-gambia-trigger'
466 name: 'fuel-os-odl-ovs-noha-baremetal-daily-gambia-trigger'
470 name: 'fuel-os-nosdn-ovs-noha-baremetal-daily-gambia-trigger'
474 name: 'fuel-os-nosdn-vpp-noha-baremetal-daily-gambia-trigger'
477 # ----------------------------------------------
478 # Triggers for job running on fuel-virtual against master branch
479 # ----------------------------------------------
481 name: 'fuel-os-nosdn-nofeature-ha-virtual-daily-master-trigger'
485 name: 'fuel-os-odl-nofeature-ha-virtual-daily-master-trigger'
489 name: 'fuel-os-ovn-nofeature-ha-virtual-daily-master-trigger'
493 name: 'fuel-os-nosdn-ovs-ha-virtual-daily-master-trigger'
497 name: 'fuel-os-nosdn-vpp-ha-virtual-daily-master-trigger'
502 name: 'fuel-os-nosdn-nofeature-noha-virtual-daily-master-trigger'
504 - timed: '5 13 * * *'
506 name: 'fuel-os-odl-nofeature-noha-virtual-daily-master-trigger'
508 - timed: '5 18 * * *'
510 name: 'fuel-os-odl-sfc-noha-virtual-daily-master-trigger'
514 name: 'fuel-os-odl-bgpvpn-noha-virtual-daily-master-trigger'
518 name: 'fuel-os-ovn-nofeature-noha-virtual-daily-master-trigger'
520 - timed: '5 23 * * *'
522 name: 'fuel-os-odl-ovs-noha-virtual-daily-master-trigger'
526 name: 'fuel-os-nosdn-ovs-noha-virtual-daily-master-trigger'
530 name: 'fuel-os-nosdn-vpp-noha-virtual-daily-master-trigger'
533 # ----------------------------------------------
534 # Triggers for job running on fuel-baremetal against fraser branch (for Dovetail)
535 # ----------------------------------------------
537 name: 'fuel-os-nosdn-nofeature-ha-baremetal-daily-fraser-trigger'
539 - timed: '5 13 * * 6,7'
541 name: 'fuel-os-odl-nofeature-ha-baremetal-daily-fraser-trigger'
543 - timed: '0 13 * * 6'
545 name: 'fuel-os-nosdn-ovs-ha-baremetal-daily-fraser-trigger'
547 - timed: '0 13 * * 7'
548 # ----------------------------------------------
549 # Triggers for job running on fuel-virtual against gambia branch
550 # ----------------------------------------------
552 name: 'fuel-os-nosdn-nofeature-ha-virtual-daily-gambia-trigger'
556 name: 'fuel-os-odl-nofeature-ha-virtual-daily-gambia-trigger'
560 name: 'fuel-os-ovn-nofeature-ha-virtual-daily-gambia-trigger'
564 name: 'fuel-os-nosdn-ovs-ha-virtual-daily-gambia-trigger'
568 name: 'fuel-os-nosdn-vpp-ha-virtual-daily-gambia-trigger'
573 name: 'fuel-os-nosdn-nofeature-noha-virtual-daily-gambia-trigger'
575 - timed: '0 13 * * *'
577 name: 'fuel-os-odl-nofeature-noha-virtual-daily-gambia-trigger'
579 - timed: '0 18 * * *'
581 name: 'fuel-os-odl-sfc-noha-virtual-daily-gambia-trigger'
585 name: 'fuel-os-odl-bgpvpn-noha-virtual-daily-gambia-trigger'
589 name: 'fuel-os-ovn-nofeature-noha-virtual-daily-gambia-trigger'
591 - timed: '0 23 * * *'
593 name: 'fuel-os-odl-ovs-noha-virtual-daily-gambia-trigger'
597 name: 'fuel-os-nosdn-ovs-noha-virtual-daily-gambia-trigger'
601 name: 'fuel-os-nosdn-vpp-noha-virtual-daily-gambia-trigger'
604 # ----------------------------------------------
605 # ZTE POD1 Triggers running against master branch
606 # ----------------------------------------------
608 name: 'fuel-os-nosdn-nofeature-ha-zte-pod1-daily-master-trigger'
610 - timed: '0 10 * * *'
612 name: 'fuel-os-odl-nofeature-ha-zte-pod1-daily-master-trigger'
616 name: 'fuel-os-ovn-nofeature-ha-zte-pod1-daily-master-trigger'
620 name: 'fuel-os-nosdn-ovs-ha-zte-pod1-daily-master-trigger'
624 name: 'fuel-os-nosdn-vpp-ha-zte-pod1-daily-master-trigger'
629 name: 'fuel-os-nosdn-nofeature-noha-zte-pod1-daily-master-trigger'
633 name: 'fuel-os-odl-nofeature-noha-zte-pod1-daily-master-trigger'
637 name: 'fuel-os-odl-sfc-noha-zte-pod1-daily-master-trigger'
641 name: 'fuel-os-odl-bgpvpn-noha-zte-pod1-daily-master-trigger'
645 name: 'fuel-os-ovn-nofeature-noha-zte-pod1-daily-master-trigger'
649 name: 'fuel-os-odl-ovs-noha-zte-pod1-daily-master-trigger'
653 name: 'fuel-os-nosdn-ovs-noha-zte-pod1-daily-master-trigger'
657 name: 'fuel-os-nosdn-vpp-noha-zte-pod1-daily-master-trigger'