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'
30 # packer jobs templates are defined in global-jjb
32 - '{project-name}-packer-jobs'
33 project: 'releng/builder'
36 archive-artifacts: '**/*.log'
37 build-node: centos7-builder-2c-8g
46 - devstack-pre-pip-newton:
48 - devstack-pre-pip-ocata:
50 - devstack-pre-pip-pike:
62 templates: mininet-ovs-2.5
64 templates: mininet-ovs-2.6
65 - platforms: ubuntu-14.04
66 templates: devstack-pre-pip-newton
67 - platforms: ubuntu-14.04
68 templates: devstack-pre-pip-ocata
69 - platforms: ubuntu-14.04
70 templates: devstack-pre-pip-pike
71 - platforms: ubuntu-14.04
73 - platforms: ubuntu-14.04
74 templates: mininet-ovs-2.5
75 - platforms: ubuntu-14.04
76 templates: mininet-ovs-2.6
77 - platforms: ubuntu-16.04
78 templates: devstack-pre-pip-newton
79 - platforms: ubuntu-16.04
80 templates: devstack-pre-pip-ocata
81 - platforms: ubuntu-16.04
82 templates: devstack-pre-pip-pike
83 - platforms: ubuntu-16.04
87 name: builder-check-poms
88 node: centos7-builder-2c-8g
90 project-type: freestyle
93 - opendaylight-infra-properties:
94 build-days-to-keep: 14
97 - opendaylight-infra-parameters:
98 os-cloud: '{os-cloud}'
101 refspec: 'refs/heads/{branch}'
102 artifacts: '{archive-artifacts}'
105 - opendaylight-infra-wrappers:
106 build-timeout: '{build-timeout}'
112 - shell: !include-raw-escape: check-poms.sh
115 - email-notification:
116 email-recipients: '{email-recipients}'
117 email-prefix: '[releng]'
122 name: 'builder-verify-image-protection'
123 project-type: freestyle
124 node: centos7-builder-2c-8g
127 - opendaylight-infra-properties:
128 build-days-to-keep: 7
131 - opendaylight-infra-parameters:
132 os-cloud: '{os-cloud}'
135 refspec: 'refs/heads/{branch}'
136 artifacts: '{archive-artifacts}'
143 - opendaylight-infra-wrappers:
144 build-timeout: '{build-timeout}'
145 # Listed after to override openstack-infra-wrappers clouds.yaml definition
146 - config-file-provider:
148 - file-id: clouds-yaml
149 target: '$HOME/.config/openstack/clouds.yaml'
155 - shell: !include-raw-escape:
156 - opendaylight-infra-check-image-protection.sh
159 - email-notification:
160 email-recipients: '{email-recipients}'
161 email-prefix: '[releng]'
166 name: 'builder-cleanup-old-images'
167 project-type: freestyle
168 node: centos7-builder-2c-8g
171 - opendaylight-infra-properties:
172 build-days-to-keep: 7
175 - opendaylight-infra-parameters:
176 os-cloud: '{os-cloud}'
179 refspec: 'refs/heads/{branch}'
180 artifacts: '{archive-artifacts}'
187 - opendaylight-infra-wrappers:
188 build-timeout: '{build-timeout}'
189 # Listed after to override openstack-infra-wrappers clouds.yaml definition
190 - config-file-provider:
192 - file-id: clouds-yaml
193 target: '$HOME/.config/openstack/clouds.yaml'
196 # Cleanup images on a weekly schedule
200 - shell: !include-raw-escape:
201 - global-jjb/shell/lftools-install.sh
202 - opendaylight-infra-cleanup-old-images.sh
205 - email-notification:
206 email-recipients: '{email-recipients}'
207 email-prefix: '[releng]'
212 name: builder-delete-orphaned-nodes
213 project-type: freestyle
214 node: centos7-builder-2c-8g
217 - opendaylight-infra-properties:
218 build-days-to-keep: 7
221 - opendaylight-infra-parameters:
222 os-cloud: '{os-cloud}'
225 refspec: 'refs/heads/{branch}'
226 artifacts: '{archive-artifacts}'
229 default: 'https://jenkins.opendaylight.org/releng https://jenkins.opendaylight.org/sandbox'
230 description: 'Space separated list of Jenkins URLs to check for active builds'
233 - opendaylight-infra-wrappers:
234 build-timeout: '{build-timeout}'
237 # Attempt to clear up servers every 30 mins in case we have orphaned servers
238 - timed: '0,30 * * * *'
241 - shell: !include-raw-escape: opendaylight-infra-cleanup-orphaned-nodes.sh
244 - email-notification:
245 email-recipients: '{email-recipients}'
246 email-prefix: '[releng]'
251 name: 'builder-delete-stale-nodes'
252 project-type: freestyle
253 node: centos7-builder-2c-8g
256 - opendaylight-infra-properties:
257 build-days-to-keep: 7
260 - opendaylight-infra-parameters:
261 os-cloud: '{os-cloud}'
264 refspec: 'refs/heads/{branch}'
265 artifacts: '{archive-artifacts}'
268 - opendaylight-infra-wrappers:
269 build-timeout: '{build-timeout}'
272 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
273 - timed: '0,30 * * * *'
276 - shell: !include-raw-escape:
277 - global-jjb/shell/lftools-install.sh
278 - opendaylight-infra-cleanup-stale-nodes.sh
281 - email-notification:
282 email-recipients: '{email-recipients}'
283 email-prefix: '[releng]'
288 name: 'builder-delete-stale-stacks'
289 project-type: freestyle
290 node: centos7-builder-2c-8g
293 - opendaylight-infra-properties:
294 build-days-to-keep: 7
297 - opendaylight-infra-parameters:
298 os-cloud: '{os-cloud}'
301 refspec: 'refs/heads/{branch}'
302 artifacts: '{archive-artifacts}'
305 default: 'https://jenkins.opendaylight.org/releng https://jenkins.opendaylight.org/sandbox'
306 description: 'Space separated list of Jenkins URLs to check for active builds'
309 - opendaylight-infra-wrappers:
310 build-timeout: '{build-timeout}'
313 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
314 - timed: '0,30 * * * *'
317 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
320 - email-notification:
321 email-recipients: '{email-recipients}'
322 email-prefix: '[releng]'
327 name: 'builder-update-image-list'
328 project-type: freestyle
329 node: centos7-builder-2c-8g
332 - opendaylight-infra-properties:
333 build-days-to-keep: 7
336 - opendaylight-infra-parameters:
340 refspec: 'refs/heads/{branch}'
341 artifacts: '{archive-artifacts}'
348 - opendaylight-infra-wrappers:
349 build-timeout: '{build-timeout}'
350 # Listed after to override openstack-infra-wrappers clouds.yaml definition
351 - config-file-provider:
353 - file-id: clouds-yaml
354 target: '$HOME/.config/openstack/clouds.yaml'
357 # Update image list every Monday to Friday at 11:00 UTC
358 - timed: '0 11 * * 1-5'
361 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
362 - opendaylight-infra-push-gerrit-patch:
364 gerrit-topic: 'releng-update-cloud-image-list'
365 gerrit-commit-message: 'Update cloud image list docs'
368 - email-notification:
369 email-recipients: '{email-recipients}'
370 email-prefix: '[releng]'