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-.*'
204 - '{installer}-defaults'
205 - '{slave-label}-defaults':
206 installer: '{installer}'
208 name: DEPLOY_SCENARIO
209 default: 'os-odl_l2-nofeature-ha'
210 - armband-ci-parameter:
211 gs-pathname: '{gs-pathname}'
218 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
222 !include-raw-escape: ./armband-download-artifact.sh
224 !include-raw-escape: ./armband-deploy.sh
228 recipients: armband@enea.com
230 ########################
232 ########################
234 name: armband-ci-parameter
237 name: BUILD_DIRECTORY
238 default: $WORKSPACE/build_output
239 description: "Directory where the build artifact will be located upon the completion of the build."
241 name: CACHE_DIRECTORY
242 default: $HOME/opnfv/cache/$INSTALLER_TYPE
243 description: "Directory where the cache to be used during the build is located."
246 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
247 description: "URL to Google Storage."
249 ########################
251 ########################
253 #-----------------------------------------------------------------
254 # Enea Armband CI Baremetal Triggers running against master branch
255 #-----------------------------------------------------------------
257 name: 'fuel-os-odl_l2-nofeature-ha-armband-baremetal-master-trigger'
259 - timed: '0 8 * * 1,3,5,7'
261 name: 'fuel-os-nosdn-nofeature-ha-armband-baremetal-master-trigger'
263 - timed: '0 16 * * 2,7'
265 name: 'fuel-os-odl_l3-nofeature-ha-armband-baremetal-master-trigger'
267 - timed: '0 16 * * 1,4,6'
269 name: 'fuel-os-odl_l2-bgpvpn-ha-armband-baremetal-master-trigger'
271 - timed: '0 8 * * 2,4,6'
273 name: 'fuel-os-odl_l2-nofeature-noha-armband-baremetal-master-trigger'
275 - timed: '0 16 * * 3,5'
277 name: 'fuel-os-odl_l2-sfc-ha-armband-baremetal-master-trigger'
281 name: 'fuel-os-odl_l2-sfc-noha-armband-baremetal-master-trigger'
285 #----------------------------------------------------------------------
286 # Enea Armband CI Baremetal Triggers running against colorado branch
287 #----------------------------------------------------------------------
289 name: 'fuel-os-odl_l2-nofeature-ha-armband-baremetal-colorado-trigger'
293 name: 'fuel-os-nosdn-nofeature-ha-armband-baremetal-colorado-trigger'
297 name: 'fuel-os-odl_l2-bgpvpn-ha-armband-baremetal-colorado-trigger'
301 name: 'fuel-os-odl_l3-nofeature-ha-armband-baremetal-colorado-trigger'
305 name: 'fuel-os-odl_l2-nofeature-noha-armband-baremetal-colorado-trigger'
309 name: 'fuel-os-odl_l2-sfc-ha-armband-baremetal-colorado-trigger'
313 name: 'fuel-os-odl_l2-sfc-noha-armband-baremetal-colorado-trigger'
316 #---------------------------------------------------------------
317 # Enea Armband CI Virtual Triggers running against master branch
318 #---------------------------------------------------------------
320 name: 'fuel-os-odl_l2-nofeature-ha-armband-virtual-master-trigger'
324 name: 'fuel-os-nosdn-nofeature-ha-armband-virtual-master-trigger'
328 name: 'fuel-os-odl_l3-nofeature-ha-armband-virtual-master-trigger'
332 name: 'fuel-os-odl_l2-bgpvpn-ha-armband-virtual-master-trigger'
336 name: 'fuel-os-odl_l2-nofeature-noha-armband-virtual-master-trigger'
340 name: 'fuel-os-odl_l2-sfc-ha-armband-virtual-master-trigger'
344 name: 'fuel-os-odl_l2-sfc-noha-armband-virtual-master-trigger'
347 #--------------------------------------------------------------------
348 # Enea Armband CI Virtual Triggers running against colorado branch
349 #--------------------------------------------------------------------
351 name: 'fuel-os-odl_l2-nofeature-ha-armband-virtual-colorado-trigger'
355 name: 'fuel-os-nosdn-nofeature-ha-armband-virtual-colorado-trigger'
359 name: 'fuel-os-odl_l3-nofeature-ha-armband-virtual-colorado-trigger'
363 name: 'fuel-os-odl_l2-bgpvpn-ha-armband-virtual-colorado-trigger'
367 name: 'fuel-os-odl_l2-nofeature-noha-armband-virtual-colorado-trigger'
371 name: 'fuel-os-odl_l2-sfc-ha-armband-virtual-colorado-trigger'
375 name: 'fuel-os-odl_l2-sfc-noha-armband-virtual-colorado-trigger'
378 #----------------------------------------------------------
379 # Enea Armband POD 2 Triggers running against master branch
380 #----------------------------------------------------------
382 name: 'fuel-os-odl_l2-nofeature-ha-arm-pod2-master-trigger'
386 name: 'fuel-os-nosdn-nofeature-ha-arm-pod2-master-trigger'
390 name: 'fuel-os-odl_l3-nofeature-ha-arm-pod2-master-trigger'
394 name: 'fuel-os-odl_l2-bgpvpn-ha-arm-pod2-master-trigger'
398 name: 'fuel-os-odl_l2-nofeature-noha-arm-pod2-master-trigger'
402 name: 'fuel-os-odl_l2-sfc-ha-arm-pod2-master-trigger'
406 name: 'fuel-os-odl_l2-sfc-noha-arm-pod2-master-trigger'
409 #---------------------------------------------------------------
410 # Enea Armband POD 2 Triggers running against colorado branch
411 #---------------------------------------------------------------
413 name: 'fuel-os-odl_l2-nofeature-ha-arm-pod2-colorado-trigger'
417 name: 'fuel-os-nosdn-nofeature-ha-arm-pod2-colorado-trigger'
421 name: 'fuel-os-odl_l3-nofeature-ha-arm-pod2-colorado-trigger'
425 name: 'fuel-os-odl_l2-bgpvpn-ha-arm-pod2-colorado-trigger'
429 name: 'fuel-os-odl_l2-nofeature-noha-arm-pod2-colorado-trigger'
433 name: 'fuel-os-odl_l2-sfc-ha-arm-pod2-colorado-trigger'
437 name: 'fuel-os-odl_l2-sfc-noha-arm-pod2-colorado-trigger'
440 #----------------------------------------------------------
441 # Enea Armband POD 3 Triggers running against master branch
442 #----------------------------------------------------------
444 name: 'fuel-os-odl_l2-nofeature-ha-arm-pod3-master-trigger'
448 name: 'fuel-os-nosdn-nofeature-ha-arm-pod3-master-trigger'
452 name: 'fuel-os-odl_l3-nofeature-ha-arm-pod3-master-trigger'
456 name: 'fuel-os-odl_l2-bgpvpn-ha-arm-pod3-master-trigger'
460 name: 'fuel-os-odl_l2-nofeature-noha-arm-pod3-master-trigger'
464 name: 'fuel-os-odl_l2-sfc-ha-arm-pod3-master-trigger'
468 name: 'fuel-os-odl_l2-sfc-noha-arm-pod3-master-trigger'
471 #---------------------------------------------------------------
472 # Enea Armband POD 3 Triggers running against colorado branch
473 #---------------------------------------------------------------
475 name: 'fuel-os-odl_l2-nofeature-ha-arm-pod3-colorado-trigger'
479 name: 'fuel-os-nosdn-nofeature-ha-arm-pod3-colorado-trigger'
483 name: 'fuel-os-odl_l3-nofeature-ha-arm-pod3-colorado-trigger'
487 name: 'fuel-os-odl_l2-bgpvpn-ha-arm-pod3-colorado-trigger'
491 name: 'fuel-os-odl_l2-nofeature-noha-arm-pod3-colorado-trigger'
495 name: 'fuel-os-odl_l2-sfc-ha-arm-pod3-colorado-trigger'
499 name: 'fuel-os-odl_l2-sfc-noha-arm-pod3-colorado-trigger'