1 # jenkins job templates for Armband
6 #--------------------------------
8 #--------------------------------
15 branch: 'stable/{stream}'
16 gs-pathname: '/{stream}'
17 #--------------------------------
18 # POD, INSTALLER, AND BRANCH MAPPING
19 #--------------------------------
21 #--------------------------------
23 #--------------------------------
26 slave-label: armband-baremetal
30 slave-label: armband-virtual
33 #--------------------------------
35 #--------------------------------
37 slave-label: armband-baremetal
41 slave-label: armband-virtual
44 #--------------------------------
46 #--------------------------------
48 #--------------------------------
57 #--------------------------------
59 #--------------------------------
68 #--------------------------------
70 #--------------------------------
73 - 'os-nosdn-nofeature-ha':
74 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
75 - 'os-odl_l2-nofeature-ha':
76 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
77 - 'os-odl_l3-nofeature-ha':
78 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
79 - 'os-odl_l2-bgpvpn-ha':
80 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
82 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
85 - 'os-odl_l2-nofeature-noha':
86 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
87 - 'os-odl_l2-sfc-noha':
88 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
91 - '{installer}-{scenario}-{pod}-daily-{stream}'
92 - '{installer}-deploy-{pod}-daily-{stream}'
94 ########################
96 ########################
98 name: '{installer}-{scenario}-{pod}-daily-{stream}'
109 use-build-blocker: true
111 - '{installer}-os-.*?-{pod}-daily-.*'
116 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
119 - '{auto-trigger-name}'
124 - '{installer}-defaults'
125 - '{slave-label}-defaults':
126 installer: '{installer}'
128 name: DEPLOY_SCENARIO
129 default: '{scenario}'
130 - armband-ci-parameter:
131 gs-pathname: '{gs-pathname}'
135 - project: '{installer}-deploy-{pod}-daily-{stream}'
136 current-parameters: false
137 predefined-parameters:
138 DEPLOY_SCENARIO={scenario}
142 - project: 'functest-{installer}-{pod}-daily-{stream}'
143 current-parameters: false
144 predefined-parameters:
145 DEPLOY_SCENARIO={scenario}
149 build-step-failure-threshold: 'never'
150 failure-threshold: 'never'
151 unstable-threshold: 'FAILURE'
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.dovetail only master by now, not sync with A/B/C branches
164 # 2.here the stream means the SUT stream, dovetail stream is defined in its own job
165 # 3.only debug testsuite here(includes 3 basic testcase,
166 # i.e. one tempest smoke ipv6, two vping from functest)
167 # 4.not used for release criteria or compliance,
168 # only to debug the dovetail tool bugs with arm pods
170 - project: 'dovetail-{installer}-{pod}-debug-{stream}'
171 current-parameters: false
172 predefined-parameters:
173 DEPLOY_SCENARIO={scenario}
177 build-step-failure-threshold: 'never'
178 failure-threshold: 'never'
179 unstable-threshold: 'FAILURE'
182 name: '{installer}-deploy-{pod}-daily-{stream}'
193 use-build-blocker: true
195 - '{installer}-deploy-{pod}-daily-{stream}'
196 - '{installer}-deploy-generic-daily-.*'
202 - '{installer}-defaults'
203 - '{slave-label}-defaults':
204 installer: '{installer}'
206 name: DEPLOY_SCENARIO
207 default: 'os-odl_l2-nofeature-ha'
208 - armband-ci-parameter:
209 gs-pathname: '{gs-pathname}'
216 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
220 !include-raw-escape: ./armband-download-artifact.sh
222 !include-raw-escape: ./armband-deploy.sh
226 recipients: armband@enea.com
228 ########################
230 ########################
232 name: armband-ci-parameter
235 name: BUILD_DIRECTORY
236 default: $WORKSPACE/build_output
237 description: "Directory where the build artifact will be located upon the completion of the build."
239 name: CACHE_DIRECTORY
240 default: $HOME/opnfv/cache/$INSTALLER_TYPE
241 description: "Directory where the cache to be used during the build is located."
244 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
245 description: "URL to Google Storage."
247 ########################
249 ########################
251 #-----------------------------------------------------------------
252 # Enea Armband CI Baremetal Triggers running against master branch
253 #-----------------------------------------------------------------
255 name: 'fuel-os-odl_l2-nofeature-ha-armband-baremetal-master-trigger'
259 name: 'fuel-os-nosdn-nofeature-ha-armband-baremetal-master-trigger'
263 name: 'fuel-os-odl_l3-nofeature-ha-armband-baremetal-master-trigger'
267 name: 'fuel-os-odl_l2-bgpvpn-ha-armband-baremetal-master-trigger'
271 name: 'fuel-os-odl_l2-nofeature-noha-armband-baremetal-master-trigger'
275 name: 'fuel-os-odl_l2-sfc-ha-armband-baremetal-master-trigger'
279 name: 'fuel-os-odl_l2-sfc-noha-armband-baremetal-master-trigger'
283 #----------------------------------------------------------------------
284 # Enea Armband CI Baremetal Triggers running against colorado branch
285 #----------------------------------------------------------------------
287 name: 'fuel-os-odl_l2-nofeature-ha-armband-baremetal-colorado-trigger'
289 - timed: '0 8 * * 1,3,5,7'
291 name: 'fuel-os-nosdn-nofeature-ha-armband-baremetal-colorado-trigger'
293 - timed: '0 16 * * 2,7'
295 name: 'fuel-os-odl_l2-bgpvpn-ha-armband-baremetal-colorado-trigger'
297 - timed: '0 8 * * 2,4,6'
299 name: 'fuel-os-odl_l3-nofeature-ha-armband-baremetal-colorado-trigger'
301 - timed: '0 16 * * 1,4,6'
303 name: 'fuel-os-odl_l2-nofeature-noha-armband-baremetal-colorado-trigger'
305 - timed: '0 16 * * 3,5'
307 name: 'fuel-os-odl_l2-sfc-ha-armband-baremetal-colorado-trigger'
311 name: 'fuel-os-odl_l2-sfc-noha-armband-baremetal-colorado-trigger'
314 #---------------------------------------------------------------
315 # Enea Armband CI Virtual Triggers running against master branch
316 #---------------------------------------------------------------
318 name: 'fuel-os-odl_l2-nofeature-ha-armband-virtual-master-trigger'
322 name: 'fuel-os-nosdn-nofeature-ha-armband-virtual-master-trigger'
326 name: 'fuel-os-odl_l3-nofeature-ha-armband-virtual-master-trigger'
330 name: 'fuel-os-odl_l2-bgpvpn-ha-armband-virtual-master-trigger'
334 name: 'fuel-os-odl_l2-nofeature-noha-armband-virtual-master-trigger'
338 name: 'fuel-os-odl_l2-sfc-ha-armband-virtual-master-trigger'
342 name: 'fuel-os-odl_l2-sfc-noha-armband-virtual-master-trigger'
345 #--------------------------------------------------------------------
346 # Enea Armband CI Virtual Triggers running against colorado branch
347 #--------------------------------------------------------------------
349 name: 'fuel-os-odl_l2-nofeature-ha-armband-virtual-colorado-trigger'
353 name: 'fuel-os-nosdn-nofeature-ha-armband-virtual-colorado-trigger'
357 name: 'fuel-os-odl_l3-nofeature-ha-armband-virtual-colorado-trigger'
361 name: 'fuel-os-odl_l2-bgpvpn-ha-armband-virtual-colorado-trigger'
365 name: 'fuel-os-odl_l2-nofeature-noha-armband-virtual-colorado-trigger'
369 name: 'fuel-os-odl_l2-sfc-ha-armband-virtual-colorado-trigger'
373 name: 'fuel-os-odl_l2-sfc-noha-armband-virtual-colorado-trigger'
376 #----------------------------------------------------------
377 # Enea Armband POD 2 Triggers running against master branch
378 #----------------------------------------------------------
380 name: 'fuel-os-odl_l2-nofeature-ha-arm-pod2-master-trigger'
384 name: 'fuel-os-nosdn-nofeature-ha-arm-pod2-master-trigger'
388 name: 'fuel-os-odl_l3-nofeature-ha-arm-pod2-master-trigger'
392 name: 'fuel-os-odl_l2-bgpvpn-ha-arm-pod2-master-trigger'
396 name: 'fuel-os-odl_l2-nofeature-noha-arm-pod2-master-trigger'
400 name: 'fuel-os-odl_l2-sfc-ha-arm-pod2-master-trigger'
404 name: 'fuel-os-odl_l2-sfc-noha-arm-pod2-master-trigger'
407 #---------------------------------------------------------------
408 # Enea Armband POD 2 Triggers running against colorado branch
409 #---------------------------------------------------------------
411 name: 'fuel-os-odl_l2-nofeature-ha-arm-pod2-colorado-trigger'
415 name: 'fuel-os-nosdn-nofeature-ha-arm-pod2-colorado-trigger'
419 name: 'fuel-os-odl_l3-nofeature-ha-arm-pod2-colorado-trigger'
423 name: 'fuel-os-odl_l2-bgpvpn-ha-arm-pod2-colorado-trigger'
427 name: 'fuel-os-odl_l2-nofeature-noha-arm-pod2-colorado-trigger'
431 name: 'fuel-os-odl_l2-sfc-ha-arm-pod2-colorado-trigger'
435 name: 'fuel-os-odl_l2-sfc-noha-arm-pod2-colorado-trigger'
438 #----------------------------------------------------------
439 # Enea Armband POD 3 Triggers running against master branch
440 #----------------------------------------------------------
442 name: 'fuel-os-odl_l2-nofeature-ha-arm-pod3-master-trigger'
446 name: 'fuel-os-nosdn-nofeature-ha-arm-pod3-master-trigger'
450 name: 'fuel-os-odl_l3-nofeature-ha-arm-pod3-master-trigger'
454 name: 'fuel-os-odl_l2-bgpvpn-ha-arm-pod3-master-trigger'
458 name: 'fuel-os-odl_l2-nofeature-noha-arm-pod3-master-trigger'
462 name: 'fuel-os-odl_l2-sfc-ha-arm-pod3-master-trigger'
466 name: 'fuel-os-odl_l2-sfc-noha-arm-pod3-master-trigger'
469 #---------------------------------------------------------------
470 # Enea Armband POD 3 Triggers running against colorado branch
471 #---------------------------------------------------------------
473 name: 'fuel-os-odl_l2-nofeature-ha-arm-pod3-colorado-trigger'
477 name: 'fuel-os-nosdn-nofeature-ha-arm-pod3-colorado-trigger'
481 name: 'fuel-os-odl_l3-nofeature-ha-arm-pod3-colorado-trigger'
485 name: 'fuel-os-odl_l2-bgpvpn-ha-arm-pod3-colorado-trigger'
489 name: 'fuel-os-odl_l2-nofeature-noha-arm-pod3-colorado-trigger'
493 name: 'fuel-os-odl_l2-sfc-ha-arm-pod3-colorado-trigger'
497 name: 'fuel-os-odl_l2-sfc-noha-arm-pod3-colorado-trigger'