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
86 name: builder-check-poms
87 node: centos7-builder-2c-8g
89 project-type: freestyle
92 - opendaylight-infra-properties:
93 build-days-to-keep: 14
96 - opendaylight-infra-parameters:
97 os-cloud: '{os-cloud}'
100 refspec: 'refs/heads/{branch}'
101 artifacts: '{archive-artifacts}'
104 - opendaylight-infra-wrappers:
105 build-timeout: '{build-timeout}'
111 - shell: !include-raw-escape: check-poms.sh
114 - email-notification:
115 email-recipients: '{email-recipients}'
116 email-prefix: '[releng]'
121 name: 'builder-verify-image-protection'
122 project-type: freestyle
123 node: centos7-builder-2c-8g
126 - opendaylight-infra-properties:
127 build-days-to-keep: 7
130 - opendaylight-infra-parameters:
131 os-cloud: '{os-cloud}'
134 refspec: 'refs/heads/{branch}'
135 artifacts: '{archive-artifacts}'
142 - opendaylight-infra-wrappers:
143 build-timeout: '{build-timeout}'
144 # Listed after to override openstack-infra-wrappers clouds.yaml definition
145 - config-file-provider:
147 - file-id: clouds-yaml
148 target: '$HOME/.config/openstack/clouds.yaml'
154 - shell: !include-raw-escape:
155 - opendaylight-infra-check-image-protection.sh
158 - email-notification:
159 email-recipients: '{email-recipients}'
160 email-prefix: '[releng]'
165 name: 'builder-cleanup-old-images'
166 project-type: freestyle
167 node: centos7-builder-2c-8g
170 - opendaylight-infra-properties:
171 build-days-to-keep: 7
174 - opendaylight-infra-parameters:
175 os-cloud: '{os-cloud}'
178 refspec: 'refs/heads/{branch}'
179 artifacts: '{archive-artifacts}'
186 - opendaylight-infra-wrappers:
187 build-timeout: '{build-timeout}'
188 # Listed after to override openstack-infra-wrappers clouds.yaml definition
189 - config-file-provider:
191 - file-id: clouds-yaml
192 target: '$HOME/.config/openstack/clouds.yaml'
195 # Cleanup images on a weekly schedule
199 - shell: !include-raw-escape:
200 - global-jjb/shell/lftools-install.sh
201 - opendaylight-infra-cleanup-old-images.sh
204 - email-notification:
205 email-recipients: '{email-recipients}'
206 email-prefix: '[releng]'
211 name: builder-delete-orphaned-nodes
212 project-type: freestyle
213 node: centos7-builder-2c-8g
216 - opendaylight-infra-properties:
217 build-days-to-keep: 7
220 - opendaylight-infra-parameters:
221 os-cloud: '{os-cloud}'
224 refspec: 'refs/heads/{branch}'
225 artifacts: '{archive-artifacts}'
228 default: 'https://jenkins.opendaylight.org/releng https://jenkins.opendaylight.org/sandbox'
229 description: 'Space separated list of Jenkins URLs to check for active builds'
232 - opendaylight-infra-wrappers:
233 build-timeout: '{build-timeout}'
236 # Attempt to clear up servers every 30 mins in case we have orphaned servers
237 - timed: '0,30 * * * *'
240 - shell: !include-raw-escape: opendaylight-infra-cleanup-orphaned-nodes.sh
243 - email-notification:
244 email-recipients: '{email-recipients}'
245 email-prefix: '[releng]'
250 name: 'builder-delete-stale-nodes'
251 project-type: freestyle
252 node: centos7-builder-2c-8g
255 - opendaylight-infra-properties:
256 build-days-to-keep: 7
259 - opendaylight-infra-parameters:
260 os-cloud: '{os-cloud}'
263 refspec: 'refs/heads/{branch}'
264 artifacts: '{archive-artifacts}'
267 - opendaylight-infra-wrappers:
268 build-timeout: '{build-timeout}'
271 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
272 - timed: '0,30 * * * *'
275 - shell: !include-raw-escape:
276 - global-jjb/shell/lftools-install.sh
277 - opendaylight-infra-cleanup-stale-nodes.sh
280 - email-notification:
281 email-recipients: '{email-recipients}'
282 email-prefix: '[releng]'
287 name: 'builder-delete-stale-stacks'
288 project-type: freestyle
289 node: centos7-builder-2c-8g
292 - opendaylight-infra-properties:
293 build-days-to-keep: 7
296 - opendaylight-infra-parameters:
297 os-cloud: '{os-cloud}'
300 refspec: 'refs/heads/{branch}'
301 artifacts: '{archive-artifacts}'
304 default: 'https://jenkins.opendaylight.org/releng https://jenkins.opendaylight.org/sandbox'
305 description: 'Space separated list of Jenkins URLs to check for active builds'
308 - opendaylight-infra-wrappers:
309 build-timeout: '{build-timeout}'
312 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
313 - timed: '0,30 * * * *'
316 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
319 - email-notification:
320 email-recipients: '{email-recipients}'
321 email-prefix: '[releng]'
326 name: 'builder-update-image-list'
327 project-type: freestyle
328 node: centos7-builder-2c-8g
331 - opendaylight-infra-properties:
332 build-days-to-keep: 7
335 - opendaylight-infra-parameters:
339 refspec: 'refs/heads/{branch}'
340 artifacts: '{archive-artifacts}'
347 - opendaylight-infra-wrappers:
348 build-timeout: '{build-timeout}'
349 # Listed after to override openstack-infra-wrappers clouds.yaml definition
350 - config-file-provider:
352 - file-id: clouds-yaml
353 target: '$HOME/.config/openstack/clouds.yaml'
356 # Update image list every Monday to Friday at 11:00 UTC
357 - timed: '0 11 * * 1-5'
360 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
361 - opendaylight-infra-push-gerrit-patch:
363 gerrit-topic: 'releng-update-cloud-image-list'
364 gerrit-commit-message: 'Update cloud image list docs'
367 - email-notification:
368 email-recipients: '{email-recipients}'
369 email-prefix: '[releng]'