5 - '{project-name}-ci-jobs'
6 - '{project-name}-verify-tox-{stream}'
9 - 'builder-verify-image-visibility'
10 - 'builder-cleanup-old-images'
11 - 'builder-delete-stale-nodes'
12 - 'builder-delete-stale-stacks'
13 # Automation for docs and jobs
14 - 'builder-update-image-list'
16 # The following values are only specified here
17 # so that code blocks look similar to other projects.
18 project: 'releng/builder'
22 build-node: centos7-java-builder-2c-4g
23 archive-artifacts: '**/*.log'
28 # packer jobs templates are defined in global-jjb
30 - '{project-name}-packer-jobs'
31 project: 'releng/builder'
34 archive-artifacts: '**/*.log'
43 - devstack-pre-pip-newton:
45 - devstack-pre-pip-ocata:
47 - devstack-pre-pip-pike:
66 templates: mininet-ovs-2.5
68 templates: mininet-ovs-2.6
69 - platforms: ubuntu-14.04
70 templates: java-builder
71 - platforms: ubuntu-14.04
73 - platforms: ubuntu-14.04
74 templates: devstack-pre-pip-newton
75 - platforms: ubuntu-14.04
76 templates: devstack-pre-pip-ocata
77 - platforms: ubuntu-14.04
78 templates: devstack-pre-pip-pike
79 - platforms: ubuntu-14.04
81 - platforms: ubuntu-14.04
83 - platforms: ubuntu-14.04
84 templates: mininet-ovs-2.5
85 - platforms: ubuntu-14.04
86 templates: mininet-ovs-2.6
87 - platforms: ubuntu-16.04
88 templates: java-builder
89 - platforms: ubuntu-16.04
91 - platforms: ubuntu-16.04
92 templates: devstack-pre-pip-newton
93 - platforms: ubuntu-16.04
94 templates: devstack-pre-pip-ocata
95 - platforms: ubuntu-16.04
96 templates: devstack-pre-pip-pike
97 - platforms: ubuntu-16.04
99 - platforms: ubuntu-16.04
101 - platforms: ubuntu-16.04
103 - platforms: ubuntu-16.04
105 - platforms: ubuntu-16.04
111 name: builder-check-poms
112 node: centos7-java-builder-2c-4g
114 project-type: freestyle
117 - opendaylight-infra-properties:
118 build-days-to-keep: 14
121 - opendaylight-infra-parameters:
122 os-cloud: '{os-cloud}'
125 refspec: 'refs/heads/{branch}'
126 artifacts: '{archive-artifacts}'
129 - opendaylight-infra-wrappers:
130 build-timeout: '{build-timeout}'
136 - shell: !include-raw-escape: check-poms.sh
139 - email-notification:
140 email-recipients: '{email-recipients}'
141 email-prefix: '[releng]'
146 name: 'builder-verify-image-visibility'
147 project-type: freestyle
148 node: centos7-java-builder-2c-4g
150 os-cloud: 'odlpriv-sandbox'
153 - opendaylight-infra-properties:
154 build-days-to-keep: 7
157 - opendaylight-infra-parameters:
158 os-cloud: '{os-cloud}'
161 refspec: 'refs/heads/{branch}'
162 artifacts: '{archive-artifacts}'
169 - opendaylight-infra-wrappers:
170 build-timeout: '{build-timeout}'
171 # Listed after to override openstack-infra-wrappers clouds.yaml definition
172 - config-file-provider:
174 - file-id: opendaylight-private-clouds-yaml
175 target: '$HOME/.config/openstack/clouds.yaml'
178 # Check images visibility on a daily schedule
182 - shell: !include-raw-escape:
183 - opendaylight-infra-check-image-visibility.sh
186 - email-notification:
187 email-recipients: '{email-recipients}'
188 email-prefix: '[releng]'
193 name: 'builder-cleanup-old-images'
194 project-type: freestyle
195 node: centos7-java-builder-2c-4g
198 - opendaylight-infra-properties:
199 build-days-to-keep: 7
202 - opendaylight-infra-parameters:
203 os-cloud: '{os-cloud}'
206 refspec: 'refs/heads/{branch}'
207 artifacts: '{archive-artifacts}'
214 - opendaylight-infra-wrappers:
215 build-timeout: '{build-timeout}'
216 # Listed after to override openstack-infra-wrappers clouds.yaml definition
217 - config-file-provider:
219 - file-id: opendaylight-private-clouds-yaml
220 target: '$HOME/.config/openstack/clouds.yaml'
223 # Cleanup images on a weekly schedule
227 - shell: !include-raw-escape:
228 - global-jjb/shell/lftools-install.sh
229 - opendaylight-infra-cleanup-old-images.sh
232 - email-notification:
233 email-recipients: '{email-recipients}'
234 email-prefix: '[releng]'
239 name: 'builder-delete-stale-nodes'
240 project-type: freestyle
241 node: centos7-java-builder-2c-4g
244 - opendaylight-infra-properties:
245 build-days-to-keep: 7
248 - opendaylight-infra-parameters:
249 os-cloud: '{os-cloud}'
252 refspec: 'refs/heads/{branch}'
253 artifacts: '{archive-artifacts}'
256 - opendaylight-infra-wrappers:
257 build-timeout: '{build-timeout}'
260 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
261 - timed: '0,30 * * * *'
264 - shell: !include-raw-escape:
265 - global-jjb/shell/lftools-install.sh
266 - opendaylight-infra-cleanup-stale-nodes.sh
269 - email-notification:
270 email-recipients: '{email-recipients}'
271 email-prefix: '[releng]'
276 name: 'builder-delete-stale-stacks'
277 project-type: freestyle
278 node: centos7-java-builder-2c-4g
281 - opendaylight-infra-properties:
282 build-days-to-keep: 7
285 - opendaylight-infra-parameters:
286 os-cloud: '{os-cloud}'
289 refspec: 'refs/heads/{branch}'
290 artifacts: '{archive-artifacts}'
293 - opendaylight-infra-wrappers:
294 build-timeout: '{build-timeout}'
297 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
298 - timed: '0,30 * * * *'
301 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
304 - email-notification:
305 email-recipients: '{email-recipients}'
306 email-prefix: '[releng]'
311 name: 'builder-update-image-list'
312 project-type: freestyle
313 node: centos7-java-builder-2c-4g
316 - opendaylight-infra-properties:
317 build-days-to-keep: 7
320 - opendaylight-infra-parameters:
324 refspec: 'refs/heads/{branch}'
325 artifacts: '{archive-artifacts}'
332 - opendaylight-infra-wrappers:
333 build-timeout: '{build-timeout}'
334 # Listed after to override openstack-infra-wrappers clouds.yaml definition
335 - config-file-provider:
337 - file-id: opendaylight-private-clouds-yaml
338 target: '$HOME/.config/openstack/clouds.yaml'
341 # Update image list every Monday to Friday at 11:00 UTC
342 - timed: '0 11 * * 1-5'
345 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
346 - opendaylight-infra-push-gerrit-patch:
348 gerrit-topic: 'releng-update-cloud-image-list'
349 gerrit-commit-message: 'Update cloud image list docs'
352 - email-notification:
353 email-recipients: '{email-recipients}'
354 email-prefix: '[releng]'