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'
66 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
69 - 'os-nosdn-nofeature-noha':
70 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
73 - '{installer}-{scenario}-{pod}-daily-{stream}'
74 - '{installer}-deploy-{pod}-daily-{stream}'
76 ########################
78 ########################
80 name: '{installer}-{scenario}-{pod}-daily-{stream}'
82 disabled: '{obj:disabled}'
94 use-build-blocker: true
96 - '{installer}-os-.*?-{pod}-daily-.*'
102 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
105 - '{auto-trigger-name}'
111 - '{installer}-defaults':
112 gs-pathname: '{gs-pathname}'
113 - '{slave-label}-defaults':
114 installer: '{installer}'
116 name: DEPLOY_SCENARIO
117 default: '{scenario}'
121 - project: '{installer}-deploy-{pod}-daily-{stream}'
122 current-parameters: false
123 predefined-parameters:
124 DEPLOY_SCENARIO={scenario}
130 condition-kind: regex-match
135 - project: 'functest-{installer}-{pod}-arm-daily-{stream}'
136 current-parameters: false
137 predefined-parameters:
138 DEPLOY_SCENARIO={scenario}
142 build-step-failure-threshold: 'never'
143 failure-threshold: 'never'
144 unstable-threshold: 'FAILURE'
148 condition-kind: regex-match
153 - project: 'yardstick-{installer}-{pod}-daily-{stream}'
154 current-parameters: false
155 predefined-parameters:
156 DEPLOY_SCENARIO={scenario}
160 build-step-failure-threshold: 'never'
161 failure-threshold: 'never'
162 unstable-threshold: 'FAILURE'
163 # 1.here the stream means the SUT stream, dovetail stream is defined in its own job
164 # 2.testsuite proposed_tests here is for new test cases planning to add into OVP
165 # 3.run proposed_tests on Monday, Wednesday and Friday against ha scenario
166 # 4.testsuite default here is for the test cases already added into OVP
167 # 5.run default testsuite on Tuesday against ha scenario
168 # 6.not used for release criteria or compliance,
169 # only to debug the dovetail tool bugs with arm pods
173 - condition-kind: regex-match
176 - condition-kind: day-of-week
177 day-selector: select-days
185 - project: 'dovetail-{installer}-{pod}-proposed_tests-{stream}'
186 current-parameters: false
187 predefined-parameters:
188 DEPLOY_SCENARIO={scenario}
192 build-step-failure-threshold: 'never'
193 failure-threshold: 'never'
194 unstable-threshold: 'FAILURE'
198 - condition-kind: regex-match
201 - condition-kind: day-of-week
202 day-selector: select-days
208 - project: 'dovetail-{installer}-{pod}-default-{stream}'
209 current-parameters: false
210 predefined-parameters:
211 DEPLOY_SCENARIO={scenario}
215 build-step-failure-threshold: 'never'
216 failure-threshold: 'never'
217 unstable-threshold: 'FAILURE'
218 # Armband uses Fuel's log collection project job, no need to duplicate
222 condition-kind: regex-match
227 - project: 'fuel-collect-logs-{deploy-type}-daily-{stream}'
228 current-parameters: false
229 predefined-parameters:
230 DEPLOY_SCENARIO={scenario}
234 build-step-failure-threshold: 'never'
235 failure-threshold: 'never'
236 unstable-threshold: 'FAILURE'
239 name: '{installer}-deploy-{pod}-daily-{stream}'
251 use-build-blocker: true
253 - '{installer}-deploy-{pod}-daily-{stream}'
254 - '{installer}-deploy-generic-daily-.*'
261 - '{installer}-defaults':
262 gs-pathname: '{gs-pathname}'
263 - '{slave-label}-defaults':
264 installer: '{installer}'
266 name: DEPLOY_SCENARIO
267 default: 'os-odl-nofeature-ha'
274 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
278 !include-raw-escape: ../fuel/fuel-deploy.sh
282 recipients: armband@enea.com
283 - email-jenkins-admins-on-failure
285 ########################
287 ########################
289 # ----------------------------------------------------------------
290 # Enea Armband CI Baremetal Triggers running against master branch
291 # ----------------------------------------------------------------
293 name: 'fuel-os-nosdn-nofeature-ha-armband-baremetal-master-trigger'
295 - timed: '0 1 * * 4,6'
297 name: 'fuel-os-nosdn-nofeature-noha-armband-baremetal-master-trigger'
301 name: 'fuel-os-odl-nofeature-ha-armband-baremetal-master-trigger'
303 - timed: '0 1 * * 2,5,7'
305 name: 'fuel-os-nosdn-ovs-ha-armband-baremetal-master-trigger'
307 - timed: '0 1 * * 1,3'
308 # ---------------------------------------------------------------------
309 # Enea Armband CI Baremetal Triggers running against euphrates branch
310 # ---------------------------------------------------------------------
312 name: 'fuel-os-nosdn-nofeature-ha-armband-baremetal-euphrates-trigger'
316 name: 'fuel-os-nosdn-nofeature-noha-armband-baremetal-euphrates-trigger'
320 name: 'fuel-os-odl-nofeature-ha-armband-baremetal-euphrates-trigger'
324 name: 'fuel-os-nosdn-ovs-ha-armband-baremetal-euphrates-trigger'
328 # --------------------------------------------------------------
329 # Enea Armband CI Virtual Triggers running against master branch
330 # --------------------------------------------------------------
332 name: 'fuel-os-nosdn-nofeature-ha-armband-virtual-master-trigger'
336 name: 'fuel-os-nosdn-nofeature-noha-armband-virtual-master-trigger'
340 name: 'fuel-os-odl-nofeature-ha-armband-virtual-master-trigger'
344 name: 'fuel-os-nosdn-ovs-ha-armband-virtual-master-trigger'
347 # -------------------------------------------------------------------
348 # Enea Armband CI Virtual Triggers running against euphrates branch
349 # -------------------------------------------------------------------
351 name: 'fuel-os-nosdn-nofeature-ha-armband-virtual-euphrates-trigger'
355 name: 'fuel-os-nosdn-nofeature-noha-armband-virtual-euphrates-trigger'
359 name: 'fuel-os-odl-nofeature-ha-armband-virtual-euphrates-trigger'
363 name: 'fuel-os-nosdn-ovs-ha-armband-virtual-euphrates-trigger'