2 ########################
3 # Job configuration for joid
4 ########################
13 # -------------------------------
15 # -------------------------------
18 branch: 'stable/{stream}'
20 gs-pathname: '/{stream}'
26 # -------------------------------
27 # POD, INSTALLER, AND BRANCH MAPPING
28 # -------------------------------
30 # -------------------------------
33 slave-label: joid-baremetal
36 slave-label: joid-baremetal
38 # -------------------------------
40 # -------------------------------
42 - 'os-nosdn-nofeature-noha':
43 auto-trigger-name: 'joid-{scenario}-{pod}-{stream}-trigger'
44 - 'os-nosdn-nofeature-ha':
45 auto-trigger-name: 'joid-{scenario}-{pod}-{stream}-trigger'
47 auto-trigger-name: 'joid-{scenario}-{pod}-{stream}-trigger'
48 - 'os-nosdn-lxd-noha':
49 auto-trigger-name: 'joid-{scenario}-{pod}-{stream}-trigger'
50 - 'os-odl_l2-nofeature-ha':
51 auto-trigger-name: 'daily-trigger-disabled'
52 - 'os-odl_l2-nofeature-noha':
53 auto-trigger-name: 'daily-trigger-disabled'
54 - 'os-ocl-nofeature-ha':
55 auto-trigger-name: 'joid-{scenario}-{pod}-{stream}-trigger'
56 - 'os-ocl-nofeature-noha':
57 auto-trigger-name: 'joid-{scenario}-{pod}-{stream}-trigger'
58 - 'k8-nosdn-nofeature-noha':
59 auto-trigger-name: 'daily-trigger-disabled'
61 auto-trigger-name: 'joid-{scenario}-{pod}-{stream}-trigger'
63 auto-trigger-name: 'joid-{scenario}-{pod}-{stream}-trigger'
64 - 'os-nosdn-openbaton-ha':
65 auto-trigger-name: 'joid-{scenario}-{pod}-{stream}-trigger'
67 auto-trigger-name: 'joid-{scenario}-{pod}-{stream}-trigger'
68 - 'k8-nosdn-lb_ceph-noha':
69 auto-trigger-name: 'joid-{scenario}-{pod}-{stream}-trigger'
70 - 'k8-multus-lb-noha':
71 auto-trigger-name: 'daily-trigger-disabled'
72 - 'os-ovn-nofeature-ha':
73 auto-trigger-name: 'daily-trigger-disabled'
76 - 'joid-{scenario}-{pod}-daily-{stream}'
77 - 'joid-deploy-{pod}-daily-{stream}'
79 ########################
81 ########################
83 name: 'joid-{scenario}-{pod}-daily-{stream}'
85 disabled: '{obj:disabled}'
97 use-build-blocker: true
99 - 'joid-(os|k8)-.*?-{pod}-daily-.*'
104 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
107 - '{auto-trigger-name}'
113 - '{installer}-defaults'
114 - '{slave-label}-defaults':
115 installer: '{installer}'
117 name: DEPLOY_SCENARIO
118 default: '{scenario}'
121 - description-setter:
122 description: "POD: $NODE_NAME"
124 - project: 'joid-deploy-{pod}-daily-{stream}'
125 current-parameters: true
126 predefined-parameters:
127 DEPLOY_SCENARIO={scenario}
131 - project: 'functest-joid-{pod}-daily-{stream}'
132 current-parameters: false
133 predefined-parameters:
134 DEPLOY_SCENARIO={scenario}
138 build-step-failure-threshold: 'never'
139 failure-threshold: 'never'
140 unstable-threshold: 'FAILURE'
142 - project: 'yardstick-joid-{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'
152 # 1.dovetail only euphrates by now, not sync with A/B/C branches
153 # 2.here the stream means the SUT stream, dovetail stream is defined in
155 # 3.only debug testsuite here(includes basic testcase,
156 # i.e. one tempest smoke ipv6, two vping from functest)
157 # 4.not used for release criteria or compliance,
158 # only to debug the dovetail tool bugs with joid
160 # - project: 'dovetail-joid-{pod}-proposed_tests-{stream}'
161 # current-parameters: false
162 # predefined-parameters:
163 # DEPLOY_SCENARIO={scenario}
167 # build-step-failure-threshold: 'never'
168 # failure-threshold: 'never'
169 # unstable-threshold: 'FAILURE'
172 name: 'joid-deploy-{pod}-daily-{stream}'
174 disabled: '{obj:disabled}'
186 use-build-blocker: true
188 - 'joid-deploy-{pod}-daily-.*'
193 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
202 - '{installer}-defaults'
203 - '{slave-label}-defaults':
204 installer: '{installer}'
206 name: DEPLOY_SCENARIO
207 default: 'os-odl_l2-nofeature-ha'
213 - description-setter:
214 description: "POD: $NODE_NAME"
216 ########################
218 ########################
220 name: 'builder-macro'
224 echo "Running $INSTALLER_TYPE with controller $SDN_CONTROLLER"
226 echo "------ First Executing clean.sh ------"
230 !include-raw: ./joid-deploy.sh
232 ########################
234 ########################
235 # os-nosdn-nofeature-ha trigger - branch: euphrates
237 name: 'joid-os-nosdn-nofeature-ha-baremetal-euphrates-trigger'
240 # os-nosdn-nofeature-ha trigger - branch: master
242 name: 'joid-os-nosdn-nofeature-ha-baremetal-master-trigger'
245 # os-odl_l2-nofeature-ha trigger - branch: euphrates
247 name: 'joid-os-odl_l2-nofeature-ha-baremetal-euphrates-trigger'
250 # os-odl_l2-nofeature-ha trigger - branch: master
252 name: 'joid-os-odl_l2-nofeature-ha-baremetal-master-trigger'
255 # os-nosdn-lxd-noha trigger - branch: euphrates
257 name: 'joid-os-nosdn-lxd-noha-baremetal-euphrates-trigger'
259 - timed: '5 22 * * *'
260 # os-nosdn-lxd-noha trigger - branch: master
262 name: 'joid-os-nosdn-lxd-noha-baremetal-master-trigger'
264 - timed: '5 22 * * *'
265 # os-nosdn-lxd-ha trigger - branch: euphrates
267 name: 'joid-os-nosdn-lxd-ha-baremetal-euphrates-trigger'
269 - timed: '5 10 * * *'
270 # os-nosdn-lxd-ha trigger - branch: master
272 name: 'joid-os-nosdn-lxd-ha-baremetal-master-trigger'
274 - timed: '5 10 * * *'
275 # os-nosdn-nofeature-noha trigger - branch: euphrates
277 name: 'joid-os-nosdn-nofeature-noha-baremetal-euphrates-trigger'
280 # os-nosdn-nofeature-noha trigger - branch: master
282 name: 'joid-os-nosdn-nofeature-noha-baremetal-master-trigger'
285 # k8-nosdn-nofeature-noha trigger - branch: euphrates
287 name: 'joid-k8-nosdn-nofeature-noha-baremetal-euphrates-trigger'
289 - timed: '5 15 * * *'
290 # k8-nosdn-nofeature-noha trigger - branch: master
292 name: 'joid-k8-nosdn-nofeature-noha-baremetal-master-trigger'
294 - timed: '5 15 * * *'
295 # k8-nosdn-lb-noha trigger - branch: euphrates
297 name: 'joid-k8-nosdn-lb-noha-baremetal-euphrates-trigger'
299 - timed: '5 20 * * *'
300 # k8-nosdn-lb-noha trigger - branch: master
302 name: 'joid-k8-nosdn-lb-noha-baremetal-master-trigger'
304 - timed: '5 20 * * *'
305 # k8-ovn-lb-noha trigger - branch: euphrates
307 name: 'joid-k8-ovn-lb-noha-baremetal-euphrates-trigger'
309 - timed: '5 17 * * *'
310 # k8-ovn-lb-noha trigger - branch: master
312 name: 'joid-k8-ovn-lb-noha-baremetal-master-trigger'
314 - timed: '5 17 * * *'
315 # os-nosdn-openbaton-ha trigger - branch: euphrates
317 name: 'joid-os-nosdn-openbaton-ha-baremetal-euphrates-trigger'
319 - timed: '5 23 * * *'
320 # os-nosdn-openbaton-ha trigger - branch: master
322 name: 'joid-os-nosdn-openbaton-ha-baremetal-master-trigger'
324 - timed: '5 23 * * *'
325 # os-ocl-nofeature-ha trigger - branch: euphrates
327 name: 'joid-os-ocl-nofeature-ha-baremetal-euphrates-trigger'
329 - timed: '5 13 * * *'
330 # os-ocl-nofeature-ha trigger - branch: master
332 name: 'joid-os-ocl-nofeature-ha-baremetal-master-trigger'
334 - timed: '5 13 * * *'
335 # os-ocl-nofeature-noha trigger - branch: euphrates
337 name: 'joid-os-ocl-nofeature-noha-baremetal-euphrates-trigger'
339 - timed: '5 16 * * *'
340 # os-ocl-nofeature-noha trigger - branch: master
342 name: 'joid-os-ocl-nofeature-noha-baremetal-master-trigger'
344 - timed: '5 16 * * *'
345 # k8-canal-lb-noha trigger - branch: euphrates
347 name: 'joid-k8-canal-lb-noha-baremetal-euphrates-trigger'
349 - timed: '5 14 * * *'
350 # k8-canal-lb-noha trigger - branch: master
352 name: 'joid-k8-canal-lb-noha-baremetal-master-trigger'
354 - timed: '5 14 * * *'
355 # k8-multus-lb-noha trigger - branch: euphrates
357 name: 'joid-k8-multus-lb-noha-baremetal-euphrates-trigger'
359 - timed: '5 18 * * *'
360 # k8-multus-lb-noha trigger - branch: master
362 name: 'joid-k8-multus-lb-noha-baremetal-master-trigger'
364 - timed: '5 18 * * *'
365 # k8-nosdn-lb_ceph-noha trigger - branch: euphrates
367 name: 'joid-k8-nosdn-lb_ceph-noha-baremetal-euphrates-trigger'
369 - timed: '5 18 * * *'
370 # k8-nosdn-lb_ceph-noha trigger - branch: master
372 name: 'joid-k8-nosdn-lb_ceph-noha-baremetal-master-trigger'
374 - timed: '5 18 * * *'
375 # os-ovn-nofeature-ha trigger - branch: euphrates
377 name: 'joid-os-ovn-nofeature-ha-baremetal-euphrates-trigger'
379 - timed: '5 19 * * *'
380 # os-ovn-nofeature-ha trigger - branch: master
382 name: 'joid-os-ovn-nofeature-ha-baremetal-master-trigger'
384 - timed: '5 19 * * *'