1 ########################
2 # Job configuration for joid
3 ########################
12 #--------------------------------
14 #--------------------------------
19 brahmaputra: &brahmaputra
21 branch: 'stable/{stream}'
22 gs-pathname: '/{stream}'
23 #--------------------------------
24 # POD, INSTALLER, AND BRANCH MAPPING
25 #--------------------------------
27 #--------------------------------
30 slave-label: joid-baremetal
33 slave-label: joid-virtual
36 slave-label: joid-baremetal
39 slave-label: joid-virtual
41 #--------------------------------
43 #--------------------------------
45 slave-label: orange-pod2
48 slave-label: orange-pod2
51 slave-label: juniper-pod1
53 #--------------------------------
54 # new scenario descriptions
56 - 'os-nosdn-nofeature-noha':
57 auto-trigger-name: 'daily-trigger-disabled'
58 - 'os-nosdn-nofeature-ha':
59 auto-trigger-name: 'joid-{scenario}-{pod}-{stream}-trigger'
61 auto-trigger-name: 'daily-trigger-disabled'
62 - 'os-nosdn-lxd-noha':
63 auto-trigger-name: 'joid-{scenario}-{pod}-{stream}-trigger'
64 - 'os-odl_l2-nofeature-ha':
65 auto-trigger-name: 'joid-{scenario}-{pod}-{stream}-trigger'
66 - 'os-onos-nofeature-ha':
67 auto-trigger-name: 'joid-{scenario}-{pod}-{stream}-trigger'
68 - 'os-odl_l2-nofeature-noha':
69 auto-trigger-name: 'daily-trigger-disabled'
70 - 'os-onos-nofeature-noha':
71 auto-trigger-name: 'daily-trigger-disabled'
72 - 'os-ocl-nofeature-ha':
73 auto-trigger-name: 'daily-trigger-disabled'
74 - 'os-ocl-nofeature-noha':
75 auto-trigger-name: 'daily-trigger-disabled'
78 - 'joid-{scenario}-{pod}-daily-{stream}'
79 - 'joid-deploy-{pod}-daily-{stream}'
81 ########################
83 ########################
85 name: 'joid-{scenario}-{pod}-daily-{stream}'
96 use-build-blocker: true
98 - 'joid-os-.*?-{pod}-daily-{stream}'
103 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
106 - '{auto-trigger-name}'
111 - '{installer}-defaults'
112 - '{slave-label}-defaults':
113 installer: '{installer}'
115 name: DEPLOY_SCENARIO
116 default: '{scenario}'
119 - description-setter:
120 description: "POD: $NODE_NAME"
122 - project: 'joid-deploy-{pod}-daily-{stream}'
123 current-parameters: true
124 predefined-parameters:
125 DEPLOY_SCENARIO={scenario}
129 - project: 'yardstick-joid-{pod}-daily-{stream}'
130 current-parameters: false
131 predefined-parameters:
132 DEPLOY_SCENARIO={scenario}
136 build-step-failure-threshold: 'never'
137 failure-threshold: 'never'
138 unstable-threshold: 'FAILURE'
140 - project: 'functest-joid-{pod}-daily-{stream}'
141 current-parameters: false
142 predefined-parameters:
143 DEPLOY_SCENARIO={scenario}
147 build-step-failure-threshold: 'never'
148 failure-threshold: 'never'
149 unstable-threshold: 'FAILURE'
152 name: 'joid-deploy-{pod}-daily-{stream}'
163 use-build-blocker: true
165 - 'joid-deploy-{pod}-daily-{stream}'
170 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
178 - '{installer}-defaults'
179 - '{slave-label}-defaults':
180 installer: '{installer}'
182 name: DEPLOY_SCENARIO
183 default: 'os-odl_l2-nofeature-ha'
187 credentials-id: '{ssh-credentials}'
192 - description-setter:
193 description: "POD: $NODE_NAME"
195 ########################
197 ########################
199 name: 'builder-macro'
203 echo "Running $INSTALLER_TYPE with controller $SDN_CONTROLLER"
205 echo "------ First Executing clean.sh ------"
209 !include-raw: ./joid-deploy.sh
211 ########################
213 ########################
214 # os-nosdn-nofeature-ha trigger - branch: master
216 name: 'joid-os-nosdn-nofeature-ha-baremetal-master-trigger'
220 name: 'joid-os-nosdn-nofeature-ha-virtual-master-trigger'
224 name: 'joid-os-nosdn-nofeature-ha-orange-pod2-master-trigger'
228 name: 'joid-os-nosdn-nofeature-ha-juniper-pod1-master-trigger'
232 # os-nosdn-nofeature-ha trigger - branch: stable/brahmaputra
234 name: 'joid-os-nosdn-nofeature-ha-baremetal-brahmaputra-trigger'
238 name: 'joid-os-nosdn-nofeature-ha-virtual-brahmaputra-trigger'
242 name: 'joid-os-nosdn-nofeature-ha-orange-pod2-brahmaputra-trigger'
246 name: 'joid-os-nosdn-nofeature-ha-juniper-pod1-brahmaputra-trigger'
250 # os-odl_l2-nofeature-ha trigger - branch: master
252 name: 'joid-os-odl_l2-nofeature-ha-baremetal-master-trigger'
254 - timed: '0 10 * * *'
256 name: 'joid-os-odl_l2-nofeature-ha-virtual-master-trigger'
260 name: 'joid-os-odl_l2-nofeature-ha-orange-pod2-master-trigger'
264 name: 'joid-os-odl_l2-nofeature-ha-juniper-pod1-master-trigger'
268 # os-odl_l2-nofeature-ha trigger - branch: stable/brahmaputra
270 name: 'joid-os-odl_l2-nofeature-ha-baremetal-brahmaputra-trigger'
274 name: 'joid-os-odl_l2-nofeature-ha-virtual-brahmaputra-trigger'
278 name: 'joid-os-odl_l2-nofeature-ha-orange-pod2-brahmaputra-trigger'
282 name: 'joid-os-odl_l2-nofeature-ha-juniper-pod1-brahmaputra-trigger'
286 # os-onos-nofeature-ha trigger - branch: master
288 name: 'joid-os-onos-nofeature-ha-baremetal-master-trigger'
290 - timed: '0 18 * * *'
292 name: 'joid-os-onos-nofeature-ha-virtual-master-trigger'
296 name: 'joid-os-onos-nofeature-ha-orange-pod2-master-trigger'
300 name: 'joid-os-onos-nofeature-ha-juniper-pod1-master-trigger'
304 # os-onos-nofeature-ha trigger - branch: stable/brahmaputra
306 name: 'joid-os-onos-nofeature-ha-baremetal-brahmaputra-trigger'
310 name: 'joid-os-onos-nofeature-ha-virtual-brahmaputra-trigger'
314 name: 'joid-os-onos-nofeature-ha-orange-pod2-brahmaputra-trigger'
318 name: 'joid-os-onos-nofeature-ha-juniper-pod1-brahmaputra-trigger'
322 # os-nosdn-lxd-noha trigger - branch: master
324 name: 'joid-os-nosdn-lxd-noha-baremetal-master-trigger'
328 name: 'joid-os-nosdn-lxd-noha-virtual-master-trigger'
332 name: 'joid-os-nosdn-lxd-noha-orange-pod2-master-trigger'
336 name: 'joid-os-nosdn-lxd-noha-juniper-pod1-master-trigger'
340 # os-nosdn-lxd-noha trigger - branch: stable/brahmaputra
342 name: 'joid-os-nosdn-lxd-noha-baremetal-brahmaputra-trigger'
346 name: 'joid-os-nosdn-lxd-noha-virtual-brahmaputra-trigger'
350 name: 'joid-os-nosdn-lxd-noha-orange-pod2-brahmaputra-trigger'
354 name: 'joid-os-nosdn-lxd-noha-juniper-pod1-brahmaputra-trigger'
358 # os-nosdn-lxd-ha trigger - branch: master
360 name: 'joid-os-nosdn-lxd-ha-baremetal-master-trigger'
364 name: 'joid-os-nosdn-lxd-ha-virtual-master-trigger'
368 name: 'joid-os-nosdn-lxd-ha-orange-pod2-master-trigger'
372 name: 'joid-os-nosdn-lxd-ha-juniper-pod1-master-trigger'
376 # os-nosdn-lxd-ha trigger - branch: stable/brahmaputra
378 name: 'joid-os-nosdn-lxd-ha-baremetal-brahmaputra-trigger'
382 name: 'joid-os-nosdn-lxd-ha-virtual-brahmaputra-trigger'
386 name: 'joid-os-nosdn-lxd-ha-orange-pod2-brahmaputra-trigger'
390 name: 'joid-os-nosdn-lxd-ha-juniper-pod1-brahmaputra-trigger'