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:
61 templates: mininet-ovs-2.5
63 templates: mininet-ovs-2.6
64 - platforms: ubuntu-14.04
65 templates: devstack-pre-pip-newton
66 - platforms: ubuntu-14.04
67 templates: devstack-pre-pip-ocata
68 - platforms: ubuntu-14.04
69 templates: devstack-pre-pip-pike
70 - platforms: ubuntu-14.04
72 - platforms: ubuntu-14.04
73 templates: mininet-ovs-2.5
74 - platforms: ubuntu-14.04
75 templates: mininet-ovs-2.6
76 - platforms: ubuntu-16.04
77 templates: devstack-pre-pip-newton
78 - platforms: ubuntu-16.04
79 templates: devstack-pre-pip-ocata
80 - platforms: ubuntu-16.04
81 templates: devstack-pre-pip-pike
82 - platforms: ubuntu-16.04
84 - platforms: ubuntu-16.04
90 name: builder-check-poms
91 node: centos7-builder-2c-8g
93 project-type: freestyle
96 - opendaylight-infra-properties:
97 build-days-to-keep: 14
100 - opendaylight-infra-parameters:
101 os-cloud: '{os-cloud}'
104 refspec: 'refs/heads/{branch}'
105 artifacts: '{archive-artifacts}'
108 - opendaylight-infra-wrappers:
109 build-timeout: '{build-timeout}'
115 - shell: !include-raw-escape: check-poms.sh
118 - email-notification:
119 email-recipients: '{email-recipients}'
120 email-prefix: '[releng]'
125 name: 'builder-verify-image-protection'
126 project-type: freestyle
127 node: centos7-builder-2c-8g
130 - opendaylight-infra-properties:
131 build-days-to-keep: 7
134 - opendaylight-infra-parameters:
135 os-cloud: '{os-cloud}'
138 refspec: 'refs/heads/{branch}'
139 artifacts: '{archive-artifacts}'
146 - opendaylight-infra-wrappers:
147 build-timeout: '{build-timeout}'
148 # Listed after to override openstack-infra-wrappers clouds.yaml definition
149 - config-file-provider:
151 - file-id: clouds-yaml
152 target: '$HOME/.config/openstack/clouds.yaml'
158 - shell: !include-raw-escape:
159 - opendaylight-infra-check-image-protection.sh
162 - email-notification:
163 email-recipients: '{email-recipients}'
164 email-prefix: '[releng]'
169 name: 'builder-cleanup-old-images'
170 project-type: freestyle
171 node: centos7-builder-2c-8g
174 - opendaylight-infra-properties:
175 build-days-to-keep: 7
178 - opendaylight-infra-parameters:
179 os-cloud: '{os-cloud}'
182 refspec: 'refs/heads/{branch}'
183 artifacts: '{archive-artifacts}'
190 - opendaylight-infra-wrappers:
191 build-timeout: '{build-timeout}'
192 # Listed after to override openstack-infra-wrappers clouds.yaml definition
193 - config-file-provider:
195 - file-id: clouds-yaml
196 target: '$HOME/.config/openstack/clouds.yaml'
199 # Cleanup images on a weekly schedule
203 - shell: !include-raw-escape:
204 - global-jjb/shell/lftools-install.sh
205 - opendaylight-infra-cleanup-old-images.sh
208 - email-notification:
209 email-recipients: '{email-recipients}'
210 email-prefix: '[releng]'
215 name: builder-delete-orphaned-nodes
216 project-type: freestyle
217 node: centos7-builder-2c-8g
220 - opendaylight-infra-properties:
221 build-days-to-keep: 7
224 - opendaylight-infra-parameters:
225 os-cloud: '{os-cloud}'
228 refspec: 'refs/heads/{branch}'
229 artifacts: '{archive-artifacts}'
232 default: 'https://jenkins.opendaylight.org/releng https://jenkins.opendaylight.org/sandbox'
233 description: 'Space separated list of Jenkins URLs to check for active builds'
236 - opendaylight-infra-wrappers:
237 build-timeout: '{build-timeout}'
240 # Attempt to clear up servers every 30 mins in case we have orphaned servers
241 - timed: '0,30 * * * *'
244 - shell: !include-raw-escape: opendaylight-infra-cleanup-orphaned-nodes.sh
247 - email-notification:
248 email-recipients: '{email-recipients}'
249 email-prefix: '[releng]'
254 name: 'builder-delete-stale-nodes'
255 project-type: freestyle
256 node: centos7-builder-2c-8g
259 - opendaylight-infra-properties:
260 build-days-to-keep: 7
263 - opendaylight-infra-parameters:
264 os-cloud: '{os-cloud}'
267 refspec: 'refs/heads/{branch}'
268 artifacts: '{archive-artifacts}'
271 - opendaylight-infra-wrappers:
272 build-timeout: '{build-timeout}'
275 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
276 - timed: '0,30 * * * *'
279 - shell: !include-raw-escape:
280 - global-jjb/shell/lftools-install.sh
281 - opendaylight-infra-cleanup-stale-nodes.sh
284 - email-notification:
285 email-recipients: '{email-recipients}'
286 email-prefix: '[releng]'
291 name: 'builder-delete-stale-stacks'
292 project-type: freestyle
293 node: centos7-builder-2c-8g
296 - opendaylight-infra-properties:
297 build-days-to-keep: 7
300 - opendaylight-infra-parameters:
301 os-cloud: '{os-cloud}'
304 refspec: 'refs/heads/{branch}'
305 artifacts: '{archive-artifacts}'
308 default: 'https://jenkins.opendaylight.org/releng https://jenkins.opendaylight.org/sandbox'
309 description: 'Space separated list of Jenkins URLs to check for active builds'
312 - opendaylight-infra-wrappers:
313 build-timeout: '{build-timeout}'
316 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
317 - timed: '0,30 * * * *'
320 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
323 - email-notification:
324 email-recipients: '{email-recipients}'
325 email-prefix: '[releng]'
330 name: 'builder-update-image-list'
331 project-type: freestyle
332 node: centos7-builder-2c-8g
335 - opendaylight-infra-properties:
336 build-days-to-keep: 7
339 - opendaylight-infra-parameters:
343 refspec: 'refs/heads/{branch}'
344 artifacts: '{archive-artifacts}'
351 - opendaylight-infra-wrappers:
352 build-timeout: '{build-timeout}'
353 # Listed after to override openstack-infra-wrappers clouds.yaml definition
354 - config-file-provider:
356 - file-id: clouds-yaml
357 target: '$HOME/.config/openstack/clouds.yaml'
360 # Update image list every Monday to Friday at 11:00 UTC
361 - timed: '0 11 * * 1-5'
364 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
365 - opendaylight-infra-push-gerrit-patch:
367 gerrit-topic: 'releng-update-cloud-image-list'
368 gerrit-commit-message: 'Update cloud image list docs'
371 - email-notification:
372 email-recipients: '{email-recipients}'
373 email-prefix: '[releng]'