5 - '{project-name}-ci-jobs'
9 - 'builder-verify-image-protection'
10 - 'builder-cleanup-old-images'
11 - 'builder-delete-orphaned-nodes'
12 - 'builder-delete-stale-nodes'
13 - 'builder-delete-stale-stacks'
14 # Automation for docs and jobs
15 - 'builder-update-image-list'
17 # The following values are only specified here
18 # so that code blocks look similar to other projects.
19 project: 'releng/builder'
23 build-node: centos7-builder-2c-8g
24 archive-artifacts: '**/*.log'
29 # packer jobs templates are defined in global-jjb
31 - '{project-name}-packer-jobs'
32 project: 'releng/builder'
35 archive-artifacts: '**/*.log'
36 build-node: centos7-builder-2c-8g
45 - devstack-pre-pip-newton:
47 - devstack-pre-pip-ocata:
49 - devstack-pre-pip-pike:
67 templates: mininet-ovs-2.5
69 templates: mininet-ovs-2.6
70 - platforms: ubuntu-14.04
71 templates: java-builder
72 - platforms: ubuntu-14.04
74 - platforms: ubuntu-14.04
75 templates: devstack-pre-pip-newton
76 - platforms: ubuntu-14.04
77 templates: devstack-pre-pip-ocata
78 - platforms: ubuntu-14.04
79 templates: devstack-pre-pip-pike
80 - platforms: ubuntu-14.04
82 - platforms: ubuntu-14.04
83 templates: mininet-ovs-2.5
84 - platforms: ubuntu-14.04
85 templates: mininet-ovs-2.6
86 - platforms: ubuntu-16.04
87 templates: java-builder
88 - platforms: ubuntu-16.04
90 - platforms: ubuntu-16.04
91 templates: devstack-pre-pip-newton
92 - platforms: ubuntu-16.04
93 templates: devstack-pre-pip-ocata
94 - platforms: ubuntu-16.04
95 templates: devstack-pre-pip-pike
96 - platforms: ubuntu-16.04
98 - platforms: ubuntu-16.04
100 - platforms: ubuntu-16.04
106 name: builder-check-poms
107 node: centos7-builder-2c-8g
109 project-type: freestyle
112 - opendaylight-infra-properties:
113 build-days-to-keep: 14
116 - opendaylight-infra-parameters:
117 os-cloud: '{os-cloud}'
120 refspec: 'refs/heads/{branch}'
121 artifacts: '{archive-artifacts}'
124 - opendaylight-infra-wrappers:
125 build-timeout: '{build-timeout}'
131 - shell: !include-raw-escape: check-poms.sh
134 - email-notification:
135 email-recipients: '{email-recipients}'
136 email-prefix: '[releng]'
141 name: 'builder-verify-image-protection'
142 project-type: freestyle
143 node: centos7-builder-2c-8g
146 - opendaylight-infra-properties:
147 build-days-to-keep: 7
150 - opendaylight-infra-parameters:
151 os-cloud: '{os-cloud}'
154 refspec: 'refs/heads/{branch}'
155 artifacts: '{archive-artifacts}'
162 - opendaylight-infra-wrappers:
163 build-timeout: '{build-timeout}'
164 # Listed after to override openstack-infra-wrappers clouds.yaml definition
165 - config-file-provider:
167 - file-id: clouds-yaml
168 target: '$HOME/.config/openstack/clouds.yaml'
174 - shell: !include-raw-escape:
175 - opendaylight-infra-check-image-protection.sh
178 - email-notification:
179 email-recipients: '{email-recipients}'
180 email-prefix: '[releng]'
185 name: 'builder-cleanup-old-images'
186 project-type: freestyle
187 node: centos7-builder-2c-8g
190 - opendaylight-infra-properties:
191 build-days-to-keep: 7
194 - opendaylight-infra-parameters:
195 os-cloud: '{os-cloud}'
198 refspec: 'refs/heads/{branch}'
199 artifacts: '{archive-artifacts}'
206 - opendaylight-infra-wrappers:
207 build-timeout: '{build-timeout}'
208 # Listed after to override openstack-infra-wrappers clouds.yaml definition
209 - config-file-provider:
211 - file-id: clouds-yaml
212 target: '$HOME/.config/openstack/clouds.yaml'
215 # Cleanup images on a weekly schedule
219 - shell: !include-raw-escape:
220 - global-jjb/shell/lftools-install.sh
221 - opendaylight-infra-cleanup-old-images.sh
224 - email-notification:
225 email-recipients: '{email-recipients}'
226 email-prefix: '[releng]'
231 name: builder-delete-orphaned-nodes
232 project-type: freestyle
233 node: centos7-builder-2c-8g
236 - opendaylight-infra-properties:
237 build-days-to-keep: 7
240 - opendaylight-infra-parameters:
241 os-cloud: '{os-cloud}'
244 refspec: 'refs/heads/{branch}'
245 artifacts: '{archive-artifacts}'
248 default: 'https://jenkins.opendaylight.org/releng https://jenkins.opendaylight.org/sandbox'
249 description: 'Space separated list of Jenkins URLs to check for active builds'
252 - opendaylight-infra-wrappers:
253 build-timeout: '{build-timeout}'
256 # Attempt to clear up servers every 30 mins in case we have orphaned servers
257 - timed: '0,30 * * * *'
260 - shell: !include-raw-escape: opendaylight-infra-cleanup-orphaned-nodes.sh
263 - email-notification:
264 email-recipients: '{email-recipients}'
265 email-prefix: '[releng]'
270 name: 'builder-delete-stale-nodes'
271 project-type: freestyle
272 node: centos7-builder-2c-8g
275 - opendaylight-infra-properties:
276 build-days-to-keep: 7
279 - opendaylight-infra-parameters:
280 os-cloud: '{os-cloud}'
283 refspec: 'refs/heads/{branch}'
284 artifacts: '{archive-artifacts}'
287 - opendaylight-infra-wrappers:
288 build-timeout: '{build-timeout}'
291 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
292 - timed: '0,30 * * * *'
295 - shell: !include-raw-escape:
296 - global-jjb/shell/lftools-install.sh
297 - opendaylight-infra-cleanup-stale-nodes.sh
300 - email-notification:
301 email-recipients: '{email-recipients}'
302 email-prefix: '[releng]'
307 name: 'builder-delete-stale-stacks'
308 project-type: freestyle
309 node: centos7-builder-2c-8g
312 - opendaylight-infra-properties:
313 build-days-to-keep: 7
316 - opendaylight-infra-parameters:
317 os-cloud: '{os-cloud}'
320 refspec: 'refs/heads/{branch}'
321 artifacts: '{archive-artifacts}'
324 default: 'https://jenkins.opendaylight.org/releng https://jenkins.opendaylight.org/sandbox'
325 description: 'Space separated list of Jenkins URLs to check for active builds'
328 - opendaylight-infra-wrappers:
329 build-timeout: '{build-timeout}'
332 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
333 - timed: '0,30 * * * *'
336 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
339 - email-notification:
340 email-recipients: '{email-recipients}'
341 email-prefix: '[releng]'
346 name: 'builder-update-image-list'
347 project-type: freestyle
348 node: centos7-builder-2c-8g
351 - opendaylight-infra-properties:
352 build-days-to-keep: 7
355 - opendaylight-infra-parameters:
359 refspec: 'refs/heads/{branch}'
360 artifacts: '{archive-artifacts}'
367 - opendaylight-infra-wrappers:
368 build-timeout: '{build-timeout}'
369 # Listed after to override openstack-infra-wrappers clouds.yaml definition
370 - config-file-provider:
372 - file-id: clouds-yaml
373 target: '$HOME/.config/openstack/clouds.yaml'
376 # Update image list every Monday to Friday at 11:00 UTC
377 - timed: '0 11 * * 1-5'
380 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
381 - opendaylight-infra-push-gerrit-patch:
383 gerrit-topic: 'releng-update-cloud-image-list'
384 gerrit-commit-message: 'Update cloud image list docs'
387 - email-notification:
388 email-recipients: '{email-recipients}'
389 email-prefix: '[releng]'