1 # jenkins job templates for Fuel
10 #--------------------------------
12 #--------------------------------
17 brahmaputra: &brahmaputra
19 branch: 'stable/{stream}'
20 gs-pathname: '/{stream}'
21 #--------------------------------
22 # POD, INSTALLER, AND BRANCH MAPPING
23 #--------------------------------
25 #--------------------------------
35 #--------------------------------
37 #--------------------------------
44 #--------------------------------
46 #--------------------------------
49 - 'os-odl_l2-nofeature-ha':
50 auto-trigger-name: 'fuel-{scenario}-{pod}-{stream}-trigger'
51 - 'os-odl_l3-nofeature-ha':
52 auto-trigger-name: 'fuel-{scenario}-{pod}-{stream}-trigger'
53 - 'os-onos-nofeature-ha':
54 auto-trigger-name: 'fuel-{scenario}-{pod}-{stream}-trigger'
56 auto-trigger-name: 'fuel-{scenario}-{pod}-{stream}-trigger'
58 auto-trigger-name: 'fuel-{scenario}-{pod}-{stream}-trigger'
59 - 'os-nosdn-nofeature-ha':
60 auto-trigger-name: 'fuel-{scenario}-{pod}-{stream}-trigger'
61 - 'os-odl_l2-bgpvpn-ha':
62 auto-trigger-name: 'brahmaputra-trigger-daily-disabled'
63 - 'os-nosdn-kvm_ovs-ha':
64 auto-trigger-name: 'brahmaputra-trigger-daily-disabled'
66 auto-trigger-name: 'brahmaputra-trigger-daily-disabled'
68 - 'os-odl_l2-nofeature-noha':
69 auto-trigger-name: 'brahmaputra-trigger-daily-disabled'
70 - 'os-odl_l3-nofeature-noha':
71 auto-trigger-name: 'brahmaputra-trigger-daily-disabled'
72 - 'os-onos-nofeature-noha':
73 auto-trigger-name: 'brahmaputra-trigger-daily-disabled'
74 - 'os-nosdn-nofeature-noha':
75 auto-trigger-name: 'brahmaputra-trigger-daily-disabled'
76 - 'os-nosdn-kvm-noha':
77 auto-trigger-name: 'brahmaputra-trigger-daily-disabled'
78 - 'os-nosdn-kvm_ovs-noha':
79 auto-trigger-name: 'brahmaputra-trigger-daily-disabled'
80 - 'os-nosdn-ovs-noha':
81 auto-trigger-name: 'brahmaputra-trigger-daily-disabled'
82 - 'os-odl_l2-bgpvpn-noha':
83 auto-trigger-name: 'brahmaputra-trigger-daily-disabled'
86 - 'fuel-{scenario}-{pod}-daily-{stream}'
87 - 'fuel-deploy-{pod}-daily-{stream}'
89 ########################
91 ########################
93 name: 'fuel-{scenario}-{pod}-daily-{stream}'
103 use-build-blocker: true
105 - 'fuel-os-.*?-{pod}-daily-{stream}'
110 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
113 - '{auto-trigger-name}'
118 - '{installer}-defaults'
120 installer: '{installer}'
122 name: DEPLOY_SCENARIO
123 default: '{scenario}'
125 gs-pathname: '{gs-pathname}'
129 - project: 'fuel-deploy-{pod}-daily-{stream}'
130 current-parameters: false
131 predefined-parameters:
132 DEPLOY_SCENARIO={scenario}
136 - project: 'functest-fuel-{pod}-daily-{stream}'
137 current-parameters: false
138 predefined-parameters:
139 DEPLOY_SCENARIO={scenario}
143 build-step-failure-threshold: 'never'
144 failure-threshold: 'never'
145 unstable-threshold: 'FAILURE'
147 - project: 'yardstick-fuel-{pod}-daily-{stream}'
148 current-parameters: false
149 predefined-parameters:
150 DEPLOY_SCENARIO={scenario}
154 build-step-failure-threshold: 'never'
155 failure-threshold: 'never'
156 unstable-threshold: 'FAILURE'
159 name: 'fuel-deploy-{pod}-daily-{stream}'
169 use-build-blocker: true
171 - 'fuel-deploy-{pod}-daily-{stream}'
172 - 'fuel-deploy-generic-daily-.*'
178 - '{installer}-defaults'
180 installer: '{installer}'
182 name: DEPLOY_SCENARIO
183 default: 'os-odl_l2-nofeature-ha'
185 gs-pathname: '{gs-pathname}'
189 credentials-id: '{ssh-credentials}'
195 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
199 !include-raw-escape: ./fuel-download-artifact.sh
201 !include-raw-escape: ./fuel-deploy.sh
205 recipients: jonas.bjurel@ericsson.com stefan.k.berg@ericsson.com
207 ########################
209 ########################
211 name: fuel-ci-parameter
214 name: BUILD_DIRECTORY
215 default: $WORKSPACE/build_output
216 description: "Directory where the build artifact will be located upon the completion of the build."
218 name: CACHE_DIRECTORY
219 default: $HOME/opnfv/cache/$INSTALLER_TYPE
220 description: "Directory where the cache to be used during the build is located."
223 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
224 description: "URL to Google Storage."
225 ########################
227 ########################
228 # os-nosdn-nofeature-ha trigger
230 name: 'fuel-os-nosdn-nofeature-ha-opnfv-jump-2-master-trigger'
234 name: 'fuel-os-nosdn-nofeature-ha-ericsson-pod1-master-trigger'
238 name: 'fuel-os-nosdn-nofeature-ha-ericsson-pod2-master-trigger'
242 name: 'fuel-os-nosdn-nofeature-ha-virtual-master-trigger'
246 name: 'fuel-os-nosdn-nofeature-ha-opnfv-jump-2-brahmaputra-trigger'
250 name: 'fuel-os-nosdn-nofeature-ha-ericsson-pod1-brahmaputra-trigger'
254 name: 'fuel-os-nosdn-nofeature-ha-ericsson-pod2-brahmaputra-trigger'
258 name: 'fuel-os-nosdn-nofeature-ha-virtual-brahmaputra-trigger'
262 # os-nosdn-kvm-ha trigger
264 name: 'fuel-os-nosdn-kvm-ha-opnfv-jump-2-master-trigger'
268 name: 'fuel-os-nosdn-kvm-ha-ericsson-pod1-master-trigger'
272 name: 'fuel-os-nosdn-kvm-ha-ericsson-pod2-master-trigger'
276 name: 'fuel-os-nosdn-kvm-ha-virtual-master-trigger'
280 name: 'fuel-os-nosdn-kvm-ha-opnfv-jump-2-brahmaputra-trigger'
284 name: 'fuel-os-nosdn-kvm-ha-ericsson-pod1-brahmaputra-trigger'
288 name: 'fuel-os-nosdn-kvm-ha-ericsson-pod2-brahmaputra-trigger'
292 name: 'fuel-os-nosdn-kvm-ha-virtual-brahmaputra-trigger'
296 # os-odl_l2-nofeature-ha trigger
298 name: 'fuel-os-odl_l2-nofeature-ha-opnfv-jump-2-master-trigger'
300 - timed: '0 10 * * *'
302 name: 'fuel-os-odl_l2-nofeature-ha-ericsson-pod1-master-trigger'
306 name: 'fuel-os-odl_l2-nofeature-ha-ericsson-pod2-master-trigger'
310 name: 'fuel-os-odl_l2-nofeature-ha-virtual-master-trigger'
314 name: 'fuel-os-odl_l2-nofeature-ha-opnfv-jump-2-brahmaputra-trigger'
318 name: 'fuel-os-odl_l2-nofeature-ha-ericsson-pod1-brahmaputra-trigger'
322 name: 'fuel-os-odl_l2-nofeature-ha-ericsson-pod2-brahmaputra-trigger'
324 - timed: '0 10 * * *'
326 name: 'fuel-os-odl_l2-nofeature-ha-virtual-brahmaputra-trigger'
330 # os-odl_l3-nofeature-ha trigger
332 name: 'fuel-os-odl_l3-nofeature-ha-opnfv-jump-2-master-trigger'
334 - timed: '0 14 * * *'
336 name: 'fuel-os-odl_l3-nofeature-ha-ericsson-pod1-master-trigger'
340 name: 'fuel-os-odl_l3-nofeature-ha-ericsson-pod2-master-trigger'
344 name: 'fuel-os-odl_l3-nofeature-ha-virtual-master-trigger'
348 name: 'fuel-os-odl_l3-nofeature-ha-opnfv-jump-2-brahmaputra-trigger'
352 name: 'fuel-os-odl_l3-nofeature-ha-ericsson-pod1-brahmaputra-trigger'
356 name: 'fuel-os-odl_l3-nofeature-ha-ericsson-pod2-brahmaputra-trigger'
358 - timed: '0 14 * * *'
360 name: 'fuel-os-odl_l3-nofeature-ha-virtual-brahmaputra-trigger'
364 # os-onos-nofeature-ha trigger
366 name: 'fuel-os-onos-nofeature-ha-opnfv-jump-2-master-trigger'
368 - timed: '0 18 * * *'
370 name: 'fuel-os-onos-nofeature-ha-ericsson-pod1-master-trigger'
374 name: 'fuel-os-onos-nofeature-ha-ericsson-pod2-master-trigger'
378 name: 'fuel-os-onos-nofeature-ha-virtual-master-trigger'
382 name: 'fuel-os-onos-nofeature-ha-opnfv-jump-2-brahmaputra-trigger'
386 name: 'fuel-os-onos-nofeature-ha-ericsson-pod1-brahmaputra-trigger'
390 name: 'fuel-os-onos-nofeature-ha-ericsson-pod2-brahmaputra-trigger'
392 - timed: '0 18 * * *'
394 name: 'fuel-os-onos-nofeature-ha-virtual-brahmaputra-trigger'
399 # os-nosdn-ovs-ha trigger
401 name: 'fuel-os-nosdn-ovs-ha-opnfv-jump-2-master-trigger'
403 - timed: '0 22 * * *'
405 name: 'fuel-os-nosdn-ovs-ha-ericsson-pod1-master-trigger'
409 name: 'fuel-os-nosdn-ovs-ha-ericsson-pod2-master-trigger'
413 name: 'fuel-os-nosdn-ovs-ha-virtual-master-trigger'
417 name: 'fuel-os-nosdn-ovs-ha-opnfv-jump-2-brahmaputra-trigger'
421 name: 'fuel-os-nosdn-ovs-ha-ericsson-pod1-brahmaputra-trigger'
425 name: 'fuel-os-nosdn-ovs-ha-ericsson-pod2-brahmaputra-trigger'
427 - timed: '0 22 * * *'
429 name: 'fuel-os-nosdn-ovs-ha-virtual-brahmaputra-trigger'