2 # jenkins job templates for Armband
7 # -------------------------------
9 # -------------------------------
17 branch: 'stable/{stream}'
18 gs-pathname: '/{stream}'
20 # -------------------------------
22 # -------------------------------
25 deploy-type: 'baremetal'
26 slave-label: 'armband-{deploy-type}'
29 deploy-type: 'virtual'
30 slave-label: 'armband-{deploy-type}'
31 # -------------------------------
32 # POD, INSTALLER, AND BRANCH MAPPING
33 # -------------------------------
35 # -------------------------------
37 # -------------------------------
39 # yamllint disable rule:key-duplicates
46 # -------------------------------
48 # -------------------------------
55 # yamllint enable rule:key-duplicates
56 # -------------------------------
58 # -------------------------------
61 - 'os-nosdn-nofeature-ha':
62 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
63 - 'os-odl-nofeature-ha':
64 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
65 - 'os-ovn-nofeature-ha':
66 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
68 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
71 - 'os-nosdn-nofeature-noha':
72 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
75 - '{installer}-{scenario}-{pod}-daily-{stream}'
76 - '{installer}-deploy-{pod}-daily-{stream}'
78 ########################
80 ########################
82 name: '{installer}-{scenario}-{pod}-daily-{stream}'
84 disabled: '{obj:disabled}'
96 use-build-blocker: true
98 - '{installer}-os-.*?-{pod}-daily-.*'
104 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
107 - '{auto-trigger-name}'
113 - '{installer}-defaults':
114 gs-pathname: '{gs-pathname}'
115 - '{slave-label}-defaults':
116 installer: '{installer}'
118 name: DEPLOY_SCENARIO
119 default: '{scenario}'
123 - project: '{installer}-deploy-{pod}-daily-{stream}'
124 current-parameters: false
125 predefined-parameters:
126 DEPLOY_SCENARIO={scenario}
130 - project: 'functest-{installer}-{pod}-arm-daily-{stream}'
131 current-parameters: false
132 predefined-parameters:
133 DEPLOY_SCENARIO={scenario}
137 build-step-failure-threshold: 'never'
138 failure-threshold: 'never'
139 unstable-threshold: 'FAILURE'
141 - project: 'yardstick-{installer}-{pod}-daily-{stream}'
142 current-parameters: false
143 predefined-parameters:
144 DEPLOY_SCENARIO={scenario}
148 build-step-failure-threshold: 'never'
149 failure-threshold: 'never'
150 unstable-threshold: 'FAILURE'
151 # 1.here the stream means the SUT stream, dovetail stream is defined in its own job
152 # 2.testsuite proposed_tests here is for new test cases planning to add into OVP
153 # 3.run proposed_tests on Monday, Wednesday and Friday against ha scenario
154 # 4.testsuite default here is for the test cases already added into OVP
155 # 5.run default testsuite on Tuesday against ha scenario
156 # 6.not used for release criteria or compliance,
157 # only to debug the dovetail tool bugs with arm pods
161 - condition-kind: regex-match
164 - condition-kind: day-of-week
165 day-selector: select-days
171 - project: 'dovetail-{installer}-{pod}-proposed_tests-{stream}'
172 current-parameters: false
173 predefined-parameters:
174 DEPLOY_SCENARIO={scenario}
178 build-step-failure-threshold: 'never'
179 failure-threshold: 'never'
180 unstable-threshold: 'FAILURE'
184 - condition-kind: regex-match
187 - condition-kind: day-of-week
188 day-selector: select-days
194 - project: 'dovetail-{installer}-{pod}-default-{stream}'
195 current-parameters: false
196 predefined-parameters:
197 DEPLOY_SCENARIO={scenario}
201 build-step-failure-threshold: 'never'
202 failure-threshold: 'never'
203 unstable-threshold: 'FAILURE'
204 # Armband uses Fuel's log collection project job, no need to duplicate
208 condition-kind: regex-match
213 - project: 'fuel-collect-logs-{deploy-type}-daily-{stream}'
214 current-parameters: false
215 predefined-parameters:
216 DEPLOY_SCENARIO={scenario}
220 build-step-failure-threshold: 'never'
221 failure-threshold: 'never'
222 unstable-threshold: 'FAILURE'
225 name: '{installer}-deploy-{pod}-daily-{stream}'
237 use-build-blocker: true
239 - '{installer}-deploy-{pod}-daily-{stream}'
240 - '{installer}-deploy-generic-daily-.*'
247 - '{installer}-defaults':
248 gs-pathname: '{gs-pathname}'
249 - '{slave-label}-defaults':
250 installer: '{installer}'
253 name: DEPLOY_SCENARIO
254 default: 'os-odl-nofeature-ha'
261 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
264 - track-begin-timestamp
266 !include-raw-escape: ../fuel/fuel-deploy.sh
270 recipients: armband@enea.com
271 - email-jenkins-admins-on-failure
272 - report-provision-result
274 ########################
276 ########################
278 # ----------------------------------------------------------------
279 # Enea Armband CI Baremetal Triggers running against master branch
280 # ----------------------------------------------------------------
282 name: 'fuel-os-nosdn-nofeature-ha-armband-baremetal-master-trigger'
286 name: 'fuel-os-nosdn-nofeature-noha-armband-baremetal-master-trigger'
290 name: 'fuel-os-odl-nofeature-ha-armband-baremetal-master-trigger'
292 - timed: '0 1 * * 3,7'
294 name: 'fuel-os-ovn-nofeature-ha-armband-baremetal-master-trigger'
298 name: 'fuel-os-nosdn-ovs-ha-armband-baremetal-master-trigger'
301 # ---------------------------------------------------------------------
302 # Enea Armband CI Baremetal Triggers running against fraser branch
303 # ---------------------------------------------------------------------
305 name: 'fuel-os-nosdn-nofeature-ha-armband-baremetal-fraser-trigger'
309 name: 'fuel-os-nosdn-nofeature-noha-armband-baremetal-fraser-trigger'
313 name: 'fuel-os-odl-nofeature-ha-armband-baremetal-fraser-trigger'
317 name: 'fuel-os-ovn-nofeature-ha-armband-baremetal-fraser-trigger'
321 name: 'fuel-os-nosdn-ovs-ha-armband-baremetal-fraser-trigger'
325 # --------------------------------------------------------------
326 # Enea Armband CI Virtual Triggers running against master branch
327 # --------------------------------------------------------------
329 name: 'fuel-os-nosdn-nofeature-ha-armband-virtual-master-trigger'
333 name: 'fuel-os-nosdn-nofeature-noha-armband-virtual-master-trigger'
337 name: 'fuel-os-odl-nofeature-ha-armband-virtual-master-trigger'
341 name: 'fuel-os-ovn-nofeature-ha-armband-virtual-master-trigger'
345 name: 'fuel-os-nosdn-ovs-ha-armband-virtual-master-trigger'
348 # -------------------------------------------------------------------
349 # Enea Armband CI Virtual Triggers running against fraser branch
350 # -------------------------------------------------------------------
352 name: 'fuel-os-nosdn-nofeature-ha-armband-virtual-fraser-trigger'
356 name: 'fuel-os-nosdn-nofeature-noha-armband-virtual-fraser-trigger'
360 name: 'fuel-os-odl-nofeature-ha-armband-virtual-fraser-trigger'
364 name: 'fuel-os-ovn-nofeature-ha-armband-virtual-fraser-trigger'
368 name: 'fuel-os-nosdn-ovs-ha-armband-virtual-fraser-trigger'