1 # jenkins job templates for Armband
6 #--------------------------------
8 #--------------------------------
16 branch: 'stable/{stream}'
17 gs-pathname: '/{stream}'
19 #--------------------------------
20 # POD, INSTALLER, AND BRANCH MAPPING
21 #--------------------------------
23 #--------------------------------
25 #--------------------------------
28 slave-label: armband-baremetal
32 slave-label: armband-virtual
35 #--------------------------------
37 #--------------------------------
39 slave-label: armband-baremetal
43 slave-label: armband-virtual
46 #--------------------------------
48 #--------------------------------
50 #--------------------------------
59 #--------------------------------
61 #--------------------------------
70 #--------------------------------
72 #--------------------------------
75 - 'os-nosdn-nofeature-ha':
76 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
77 - 'os-odl_l2-nofeature-ha':
78 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
79 - 'os-odl_l3-nofeature-ha':
80 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
81 - 'os-odl_l2-bgpvpn-ha':
82 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
84 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
87 - 'os-odl_l2-nofeature-noha':
88 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
89 - 'os-odl_l2-sfc-noha':
90 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
93 - '{installer}-{scenario}-{pod}-daily-{stream}'
94 - '{installer}-deploy-{pod}-daily-{stream}'
96 ########################
98 ########################
100 name: '{installer}-{scenario}-{pod}-daily-{stream}'
102 disabled: '{obj:disabled}'
113 use-build-blocker: true
115 - '{installer}-os-.*?-{pod}-daily-.*'
120 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
123 - '{auto-trigger-name}'
128 - '{installer}-defaults'
129 - '{slave-label}-defaults':
130 installer: '{installer}'
132 name: DEPLOY_SCENARIO
133 default: '{scenario}'
134 - armband-ci-parameter:
135 gs-pathname: '{gs-pathname}'
139 - project: '{installer}-deploy-{pod}-daily-{stream}'
140 current-parameters: false
141 predefined-parameters:
142 DEPLOY_SCENARIO={scenario}
146 - project: 'functest-{installer}-{pod}-daily-{stream}'
147 current-parameters: false
148 predefined-parameters:
149 DEPLOY_SCENARIO={scenario}
153 build-step-failure-threshold: 'never'
154 failure-threshold: 'never'
155 unstable-threshold: 'FAILURE'
157 - project: 'yardstick-{installer}-{pod}-daily-{stream}'
158 current-parameters: false
159 predefined-parameters:
160 DEPLOY_SCENARIO={scenario}
164 build-step-failure-threshold: 'never'
165 failure-threshold: 'never'
166 unstable-threshold: 'FAILURE'
167 # 1.dovetail only master by now, not sync with A/B/C branches
168 # 2.here the stream means the SUT stream, dovetail stream is defined in its own job
169 # 3.only debug testsuite here(includes 3 basic testcase,
170 # i.e. one tempest smoke ipv6, two vping from functest)
171 # 4.not used for release criteria or compliance,
172 # only to debug the dovetail tool bugs with arm pods
174 - project: 'dovetail-{installer}-{pod}-debug-{stream}'
175 current-parameters: false
176 predefined-parameters:
177 DEPLOY_SCENARIO={scenario}
181 build-step-failure-threshold: 'never'
182 failure-threshold: 'never'
183 unstable-threshold: 'FAILURE'
186 name: '{installer}-deploy-{pod}-daily-{stream}'
197 use-build-blocker: true
199 - '{installer}-deploy-{pod}-daily-{stream}'
200 - '{installer}-deploy-generic-daily-.*'
208 - '{installer}-defaults'
209 - '{slave-label}-defaults':
210 installer: '{installer}'
212 name: DEPLOY_SCENARIO
213 default: 'os-odl_l2-nofeature-ha'
214 - armband-ci-parameter:
215 gs-pathname: '{gs-pathname}'
222 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
226 !include-raw-escape: ./armband-download-artifact.sh
228 !include-raw-escape: ./armband-deploy.sh
232 recipients: armband@enea.com
234 ########################
236 ########################
238 name: armband-ci-parameter
241 name: BUILD_DIRECTORY
242 default: $WORKSPACE/build_output
243 description: "Directory where the build artifact will be located upon the completion of the build."
245 name: CACHE_DIRECTORY
246 default: $HOME/opnfv/cache/$INSTALLER_TYPE
247 description: "Directory where the cache to be used during the build is located."
250 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
251 description: "URL to Google Storage."
253 ########################
255 ########################
257 #-----------------------------------------------------------------
258 # Enea Armband CI Baremetal Triggers running against master branch
259 #-----------------------------------------------------------------
261 name: 'fuel-os-odl_l2-nofeature-ha-armband-baremetal-master-trigger'
263 - timed: '0 8 * * 1,3,5,7'
265 name: 'fuel-os-nosdn-nofeature-ha-armband-baremetal-master-trigger'
267 - timed: '0 16 * * 2,7'
269 name: 'fuel-os-odl_l3-nofeature-ha-armband-baremetal-master-trigger'
271 - timed: '0 16 * * 1,4,6'
273 name: 'fuel-os-odl_l2-bgpvpn-ha-armband-baremetal-master-trigger'
275 - timed: '0 8 * * 2,4,6'
277 name: 'fuel-os-odl_l2-nofeature-noha-armband-baremetal-master-trigger'
279 - timed: '0 16 * * 3,5'
281 name: 'fuel-os-odl_l2-sfc-ha-armband-baremetal-master-trigger'
285 name: 'fuel-os-odl_l2-sfc-noha-armband-baremetal-master-trigger'
289 #----------------------------------------------------------------------
290 # Enea Armband CI Baremetal Triggers running against danube branch
291 #----------------------------------------------------------------------
293 name: 'fuel-os-odl_l2-nofeature-ha-armband-baremetal-danube-trigger'
297 name: 'fuel-os-nosdn-nofeature-ha-armband-baremetal-danube-trigger'
301 name: 'fuel-os-odl_l2-bgpvpn-ha-armband-baremetal-danube-trigger'
305 name: 'fuel-os-odl_l3-nofeature-ha-armband-baremetal-danube-trigger'
309 name: 'fuel-os-odl_l2-nofeature-noha-armband-baremetal-danube-trigger'
313 name: 'fuel-os-odl_l2-sfc-ha-armband-baremetal-danube-trigger'
317 name: 'fuel-os-odl_l2-sfc-noha-armband-baremetal-danube-trigger'
320 #---------------------------------------------------------------
321 # Enea Armband CI Virtual Triggers running against master branch
322 #---------------------------------------------------------------
324 name: 'fuel-os-odl_l2-nofeature-ha-armband-virtual-master-trigger'
328 name: 'fuel-os-nosdn-nofeature-ha-armband-virtual-master-trigger'
332 name: 'fuel-os-odl_l3-nofeature-ha-armband-virtual-master-trigger'
336 name: 'fuel-os-odl_l2-bgpvpn-ha-armband-virtual-master-trigger'
340 name: 'fuel-os-odl_l2-nofeature-noha-armband-virtual-master-trigger'
344 name: 'fuel-os-odl_l2-sfc-ha-armband-virtual-master-trigger'
348 name: 'fuel-os-odl_l2-sfc-noha-armband-virtual-master-trigger'
351 #--------------------------------------------------------------------
352 # Enea Armband CI Virtual Triggers running against danube branch
353 #--------------------------------------------------------------------
355 name: 'fuel-os-odl_l2-nofeature-ha-armband-virtual-danube-trigger'
359 name: 'fuel-os-nosdn-nofeature-ha-armband-virtual-danube-trigger'
363 name: 'fuel-os-odl_l3-nofeature-ha-armband-virtual-danube-trigger'
367 name: 'fuel-os-odl_l2-bgpvpn-ha-armband-virtual-danube-trigger'
371 name: 'fuel-os-odl_l2-nofeature-noha-armband-virtual-danube-trigger'
375 name: 'fuel-os-odl_l2-sfc-ha-armband-virtual-danube-trigger'
379 name: 'fuel-os-odl_l2-sfc-noha-armband-virtual-danube-trigger'
382 #----------------------------------------------------------
383 # Enea Armband POD 2 Triggers running against master branch
384 #----------------------------------------------------------
386 name: 'fuel-os-odl_l2-nofeature-ha-arm-pod2-master-trigger'
390 name: 'fuel-os-nosdn-nofeature-ha-arm-pod2-master-trigger'
394 name: 'fuel-os-odl_l3-nofeature-ha-arm-pod2-master-trigger'
398 name: 'fuel-os-odl_l2-bgpvpn-ha-arm-pod2-master-trigger'
402 name: 'fuel-os-odl_l2-nofeature-noha-arm-pod2-master-trigger'
406 name: 'fuel-os-odl_l2-sfc-ha-arm-pod2-master-trigger'
410 name: 'fuel-os-odl_l2-sfc-noha-arm-pod2-master-trigger'
413 #---------------------------------------------------------------
414 # Enea Armband POD 2 Triggers running against danube branch
415 #---------------------------------------------------------------
417 name: 'fuel-os-odl_l2-nofeature-ha-arm-pod2-danube-trigger'
421 name: 'fuel-os-nosdn-nofeature-ha-arm-pod2-danube-trigger'
425 name: 'fuel-os-odl_l3-nofeature-ha-arm-pod2-danube-trigger'
429 name: 'fuel-os-odl_l2-bgpvpn-ha-arm-pod2-danube-trigger'
433 name: 'fuel-os-odl_l2-nofeature-noha-arm-pod2-danube-trigger'
437 name: 'fuel-os-odl_l2-sfc-ha-arm-pod2-danube-trigger'
441 name: 'fuel-os-odl_l2-sfc-noha-arm-pod2-danube-trigger'
444 #----------------------------------------------------------
445 # Enea Armband POD 3 Triggers running against master branch
446 #----------------------------------------------------------
448 name: 'fuel-os-odl_l2-nofeature-ha-arm-pod3-master-trigger'
452 name: 'fuel-os-nosdn-nofeature-ha-arm-pod3-master-trigger'
456 name: 'fuel-os-odl_l3-nofeature-ha-arm-pod3-master-trigger'
460 name: 'fuel-os-odl_l2-bgpvpn-ha-arm-pod3-master-trigger'
464 name: 'fuel-os-odl_l2-nofeature-noha-arm-pod3-master-trigger'
468 name: 'fuel-os-odl_l2-sfc-ha-arm-pod3-master-trigger'
472 name: 'fuel-os-odl_l2-sfc-noha-arm-pod3-master-trigger'
475 #---------------------------------------------------------------
476 # Enea Armband POD 3 Triggers running against danube branch
477 #---------------------------------------------------------------
479 name: 'fuel-os-odl_l2-nofeature-ha-arm-pod3-danube-trigger'
483 name: 'fuel-os-nosdn-nofeature-ha-arm-pod3-danube-trigger'
487 name: 'fuel-os-odl_l3-nofeature-ha-arm-pod3-danube-trigger'
491 name: 'fuel-os-odl_l2-bgpvpn-ha-arm-pod3-danube-trigger'
495 name: 'fuel-os-odl_l2-nofeature-noha-arm-pod3-danube-trigger'
499 name: 'fuel-os-odl_l2-sfc-ha-arm-pod3-danube-trigger'
503 name: 'fuel-os-odl_l2-sfc-noha-arm-pod3-danube-trigger'