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'
67 - 'os-nosdn-nofeature-noha':
68 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
71 - '{installer}-{scenario}-{pod}-daily-{stream}'
72 - '{installer}-deploy-{pod}-daily-{stream}'
74 ########################
76 ########################
78 name: '{installer}-{scenario}-{pod}-daily-{stream}'
80 disabled: '{obj:disabled}'
92 use-build-blocker: true
94 - '{installer}-os-.*?-{pod}-daily-.*'
100 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
103 - '{auto-trigger-name}'
109 - '{installer}-defaults':
110 gs-pathname: '{gs-pathname}'
111 - '{slave-label}-defaults':
112 installer: '{installer}'
114 name: DEPLOY_SCENARIO
115 default: '{scenario}'
119 - project: '{installer}-deploy-{pod}-daily-{stream}'
120 current-parameters: false
121 predefined-parameters:
122 DEPLOY_SCENARIO={scenario}
128 condition-kind: regex-match
133 - project: 'functest-{installer}-{pod}-arm-daily-{stream}'
134 current-parameters: false
135 predefined-parameters:
136 DEPLOY_SCENARIO={scenario}
140 build-step-failure-threshold: 'never'
141 failure-threshold: 'never'
142 unstable-threshold: 'FAILURE'
146 condition-kind: regex-match
151 - project: 'yardstick-{installer}-{pod}-daily-{stream}'
152 current-parameters: false
153 predefined-parameters:
154 DEPLOY_SCENARIO={scenario}
158 build-step-failure-threshold: 'never'
159 failure-threshold: 'never'
160 unstable-threshold: 'FAILURE'
161 # 1.here the stream means the SUT stream, dovetail stream is defined in its own job
162 # 2.testsuite proposed_tests here is for new test cases planning to add into OVP
163 # 3.run proposed_tests on Monday, Wednesday and Friday against ha scenario
164 # 4.testsuite default here is for the test cases already added into OVP
165 # 5.run default testsuite on Tuesday against ha scenario
166 # 6.not used for release criteria or compliance,
167 # only to debug the dovetail tool bugs with arm pods
171 - condition-kind: regex-match
174 - condition-kind: day-of-week
175 day-selector: select-days
183 - project: 'dovetail-{installer}-{pod}-proposed_tests-{stream}'
184 current-parameters: false
185 predefined-parameters:
186 DEPLOY_SCENARIO={scenario}
190 build-step-failure-threshold: 'never'
191 failure-threshold: 'never'
192 unstable-threshold: 'FAILURE'
196 - condition-kind: regex-match
199 - condition-kind: day-of-week
200 day-selector: select-days
206 - project: 'dovetail-{installer}-{pod}-default-{stream}'
207 current-parameters: false
208 predefined-parameters:
209 DEPLOY_SCENARIO={scenario}
213 build-step-failure-threshold: 'never'
214 failure-threshold: 'never'
215 unstable-threshold: 'FAILURE'
216 # Armband uses Fuel's log collection project job, no need to duplicate
220 condition-kind: regex-match
225 - project: 'fuel-collect-logs-{deploy-type}-daily-{stream}'
226 current-parameters: false
227 predefined-parameters:
228 DEPLOY_SCENARIO={scenario}
232 build-step-failure-threshold: 'never'
233 failure-threshold: 'never'
234 unstable-threshold: 'FAILURE'
237 name: '{installer}-deploy-{pod}-daily-{stream}'
249 use-build-blocker: true
251 - '{installer}-deploy-{pod}-daily-{stream}'
252 - '{installer}-deploy-generic-daily-.*'
259 - '{installer}-defaults':
260 gs-pathname: '{gs-pathname}'
261 - '{slave-label}-defaults':
262 installer: '{installer}'
264 name: DEPLOY_SCENARIO
265 default: 'os-odl-nofeature-ha'
272 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
276 !include-raw-escape: ../fuel/fuel-deploy.sh
280 recipients: armband@enea.com
281 - email-jenkins-admins-on-failure
283 ########################
285 ########################
287 # ----------------------------------------------------------------
288 # Enea Armband CI Baremetal Triggers running against master branch
289 # ----------------------------------------------------------------
291 name: 'fuel-os-nosdn-nofeature-ha-armband-baremetal-master-trigger'
293 - timed: '0 1 * * 2,4,6'
295 name: 'fuel-os-nosdn-nofeature-noha-armband-baremetal-master-trigger'
299 name: 'fuel-os-odl-nofeature-ha-armband-baremetal-master-trigger'
301 - timed: '0 1 * * 1,3,5,7'
302 # ---------------------------------------------------------------------
303 # Enea Armband CI Baremetal Triggers running against euphrates branch
304 # ---------------------------------------------------------------------
306 name: 'fuel-os-nosdn-nofeature-ha-armband-baremetal-euphrates-trigger'
310 name: 'fuel-os-nosdn-nofeature-noha-armband-baremetal-euphrates-trigger'
314 name: 'fuel-os-odl-nofeature-ha-armband-baremetal-euphrates-trigger'
317 # --------------------------------------------------------------
318 # Enea Armband CI Virtual Triggers running against master branch
319 # --------------------------------------------------------------
321 name: 'fuel-os-nosdn-nofeature-ha-armband-virtual-master-trigger'
325 name: 'fuel-os-nosdn-nofeature-noha-armband-virtual-master-trigger'
329 name: 'fuel-os-odl-nofeature-ha-armband-virtual-master-trigger'
332 # -------------------------------------------------------------------
333 # Enea Armband CI Virtual Triggers running against euphrates branch
334 # -------------------------------------------------------------------
336 name: 'fuel-os-nosdn-nofeature-ha-armband-virtual-euphrates-trigger'
340 name: 'fuel-os-nosdn-nofeature-noha-armband-virtual-euphrates-trigger'
344 name: 'fuel-os-odl-nofeature-ha-armband-virtual-euphrates-trigger'