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 #--------------------------------
53 #--------------------------------
55 #--------------------------------
60 #--------------------------------
62 #--------------------------------
65 - 'os-nosdn-nofeature-ha':
66 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
67 - 'os-odl_l2-nofeature-ha':
68 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
69 - 'os-odl_l3-nofeature-ha':
70 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
71 - 'os-odl_l2-bgpvpn-ha':
72 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
75 - 'os-odl_l2-nofeature-noha':
76 auto-trigger-name: '{installer}-{scenario}-{pod}-{stream}-trigger'
79 - '{installer}-{scenario}-{pod}-daily-{stream}'
80 - '{installer}-deploy-{pod}-daily-{stream}'
82 ########################
84 ########################
86 name: '{installer}-{scenario}-{pod}-daily-{stream}'
97 use-build-blocker: true
99 - '{installer}-os-.*?-{pod}-daily-.*'
104 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
107 - '{auto-trigger-name}'
112 - '{installer}-defaults'
113 - '{slave-label}-defaults':
114 installer: '{installer}'
116 name: DEPLOY_SCENARIO
117 default: '{scenario}'
118 - armband-ci-parameter:
119 gs-pathname: '{gs-pathname}'
123 - project: '{installer}-deploy-{pod}-daily-{stream}'
124 current-parameters: false
125 predefined-parameters:
126 DEPLOY_SCENARIO={scenario}
130 - project: 'functest-{installer}-{pod}-daily-{stream}'
131 current-parameters: false
132 predefined-parameters:
133 DEPLOY_SCENARIO={scenario}
137 build-step-failure-threshold: 'never'
138 failure-threshold: 'never'
139 unstable-threshold: 'FAILURE'
141 - project: 'yardstick-{installer}-{pod}-daily-{stream}'
142 current-parameters: false
143 predefined-parameters:
144 DEPLOY_SCENARIO={scenario}
148 build-step-failure-threshold: 'never'
149 failure-threshold: 'never'
150 unstable-threshold: 'FAILURE'
153 name: '{installer}-deploy-{pod}-daily-{stream}'
164 use-build-blocker: true
166 - '{installer}-deploy-{pod}-daily-{stream}'
167 - '{installer}-deploy-generic-daily-.*'
173 - '{installer}-defaults'
174 - '{slave-label}-defaults':
175 installer: '{installer}'
177 name: DEPLOY_SCENARIO
178 default: 'os-odl_l2-nofeature-ha'
179 - armband-ci-parameter:
180 gs-pathname: '{gs-pathname}'
184 credentials-id: '{ssh-credentials}'
190 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
194 !include-raw-escape: ./armband-download-artifact.sh
196 !include-raw-escape: ./armband-deploy.sh
200 recipients: armband@enea.com
202 ########################
204 ########################
206 name: armband-ci-parameter
209 name: BUILD_DIRECTORY
210 default: $WORKSPACE/build_output
211 description: "Directory where the build artifact will be located upon the completion of the build."
213 name: CACHE_DIRECTORY
214 default: $HOME/opnfv/cache/$INSTALLER_TYPE
215 description: "Directory where the cache to be used during the build is located."
218 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
219 description: "URL to Google Storage."
221 ########################
223 ########################
225 #-----------------------------------------------------------------
226 # Enea Armband CI Baremetal Triggers running against master branch
227 #-----------------------------------------------------------------
229 name: 'fuel-os-odl_l2-nofeature-ha-armband-baremetal-master-trigger'
231 - timed: '0 0 * * 1,6'
233 name: 'fuel-os-nosdn-nofeature-ha-armband-baremetal-master-trigger'
237 name: 'fuel-os-odl_l3-nofeature-ha-armband-baremetal-master-trigger'
239 - timed: '0 0 * * 3,7'
241 name: 'fuel-os-odl_l2-bgpvpn-ha-armband-baremetal-master-trigger'
245 name: 'fuel-os-odl_l2-nofeature-noha-armband-baremetal-master-trigger'
248 #----------------------------------------------------------------------
249 # Enea Armband CI Baremetal Triggers running against colorado branch
250 #----------------------------------------------------------------------
252 name: 'fuel-os-odl_l2-nofeature-ha-armband-baremetal-colorado-trigger'
254 - timed: '0 8 * * 1,4,6'
256 name: 'fuel-os-nosdn-nofeature-ha-armband-baremetal-colorado-trigger'
258 - timed: '0 16 * * 2,5'
260 name: 'fuel-os-odl_l2-bgpvpn-ha-armband-baremetal-colorado-trigger'
262 - timed: '0 8 * * 1,3,6'
264 name: 'fuel-os-odl_l3-nofeature-ha-armband-baremetal-colorado-trigger'
266 - timed: '0 16 * * 2,4,7'
268 name: 'fuel-os-odl_l2-nofeature-noha-armband-baremetal-colorado-trigger'
270 - timed: '0 8 * * 3,5,7'
271 #---------------------------------------------------------------
272 # Enea Armband CI Virtual Triggers running against master branch
273 #---------------------------------------------------------------
275 name: 'fuel-os-odl_l2-nofeature-ha-armband-virtual-master-trigger'
279 name: 'fuel-os-nosdn-nofeature-ha-armband-virtual-master-trigger'
283 name: 'fuel-os-odl_l3-nofeature-ha-armband-virtual-master-trigger'
287 name: 'fuel-os-odl_l2-bgpvpn-ha-armband-virtual-master-trigger'
291 name: 'fuel-os-odl_l2-nofeature-noha-armband-virtual-master-trigger'
294 #--------------------------------------------------------------------
295 # Enea Armband CI Virtual Triggers running against colorado branch
296 #--------------------------------------------------------------------
298 name: 'fuel-os-odl_l2-nofeature-ha-armband-virtual-colorado-trigger'
302 name: 'fuel-os-nosdn-nofeature-ha-armband-virtual-colorado-trigger'
306 name: 'fuel-os-odl_l3-nofeature-ha-armband-virtual-colorado-trigger'
310 name: 'fuel-os-odl_l2-bgpvpn-ha-armband-virtual-colorado-trigger'
314 name: 'fuel-os-odl_l2-nofeature-noha-armband-virtual-colorado-trigger'
317 #----------------------------------------------------------
318 # Enea Armband POD 2 Triggers running against master branch
319 #----------------------------------------------------------
321 name: 'fuel-os-odl_l2-nofeature-ha-arm-pod2-master-trigger'
325 name: 'fuel-os-nosdn-nofeature-ha-arm-pod2-master-trigger'
329 name: 'fuel-os-odl_l3-nofeature-ha-arm-pod2-master-trigger'
333 name: 'fuel-os-odl_l2-bgpvpn-ha-arm-pod2-master-trigger'
337 name: 'fuel-os-odl_l2-nofeature-noha-arm-pod2-master-trigger'
340 #---------------------------------------------------------------
341 # Enea Armband POD 2 Triggers running against colorado branch
342 #---------------------------------------------------------------
344 name: 'fuel-os-odl_l2-nofeature-ha-arm-pod2-colorado-trigger'
348 name: 'fuel-os-nosdn-nofeature-ha-arm-pod2-colorado-trigger'
352 name: 'fuel-os-odl_l3-nofeature-ha-arm-pod2-colorado-trigger'
356 name: 'fuel-os-odl_l2-bgpvpn-ha-arm-pod2-colorado-trigger'
360 name: 'fuel-os-odl_l2-nofeature-noha-arm-pod2-colorado-trigger'