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:
65 templates: mininet-ovs-2.5
67 templates: mininet-ovs-2.6
68 - platforms: ubuntu-14.04
70 - platforms: ubuntu-14.04
71 templates: devstack-pre-pip-newton
72 - platforms: ubuntu-14.04
73 templates: devstack-pre-pip-ocata
74 - platforms: ubuntu-14.04
75 templates: devstack-pre-pip-pike
76 - platforms: ubuntu-14.04
78 - platforms: ubuntu-14.04
79 templates: mininet-ovs-2.5
80 - platforms: ubuntu-14.04
81 templates: mininet-ovs-2.6
82 - platforms: ubuntu-16.04
84 - platforms: ubuntu-16.04
85 templates: devstack-pre-pip-newton
86 - platforms: ubuntu-16.04
87 templates: devstack-pre-pip-ocata
88 - platforms: ubuntu-16.04
89 templates: devstack-pre-pip-pike
90 - platforms: ubuntu-16.04
92 - platforms: ubuntu-16.04
94 - platforms: ubuntu-16.04
100 name: builder-check-poms
101 node: centos7-builder-2c-8g
103 project-type: freestyle
106 - opendaylight-infra-properties:
107 build-days-to-keep: 14
110 - opendaylight-infra-parameters:
111 os-cloud: '{os-cloud}'
114 refspec: 'refs/heads/{branch}'
115 artifacts: '{archive-artifacts}'
118 - opendaylight-infra-wrappers:
119 build-timeout: '{build-timeout}'
125 - shell: !include-raw-escape: check-poms.sh
128 - email-notification:
129 email-recipients: '{email-recipients}'
130 email-prefix: '[releng]'
135 name: 'builder-verify-image-protection'
136 project-type: freestyle
137 node: centos7-builder-2c-8g
140 - opendaylight-infra-properties:
141 build-days-to-keep: 7
144 - opendaylight-infra-parameters:
145 os-cloud: '{os-cloud}'
148 refspec: 'refs/heads/{branch}'
149 artifacts: '{archive-artifacts}'
156 - opendaylight-infra-wrappers:
157 build-timeout: '{build-timeout}'
158 # Listed after to override openstack-infra-wrappers clouds.yaml definition
159 - config-file-provider:
161 - file-id: clouds-yaml
162 target: '$HOME/.config/openstack/clouds.yaml'
168 - shell: !include-raw-escape:
169 - opendaylight-infra-check-image-protection.sh
172 - email-notification:
173 email-recipients: '{email-recipients}'
174 email-prefix: '[releng]'
179 name: 'builder-cleanup-old-images'
180 project-type: freestyle
181 node: centos7-builder-2c-8g
184 - opendaylight-infra-properties:
185 build-days-to-keep: 7
188 - opendaylight-infra-parameters:
189 os-cloud: '{os-cloud}'
192 refspec: 'refs/heads/{branch}'
193 artifacts: '{archive-artifacts}'
200 - opendaylight-infra-wrappers:
201 build-timeout: '{build-timeout}'
202 # Listed after to override openstack-infra-wrappers clouds.yaml definition
203 - config-file-provider:
205 - file-id: clouds-yaml
206 target: '$HOME/.config/openstack/clouds.yaml'
209 # Cleanup images on a weekly schedule
213 - shell: !include-raw-escape:
214 - global-jjb/shell/lftools-install.sh
215 - opendaylight-infra-cleanup-old-images.sh
218 - email-notification:
219 email-recipients: '{email-recipients}'
220 email-prefix: '[releng]'
225 name: builder-delete-orphaned-nodes
226 project-type: freestyle
227 node: centos7-builder-2c-8g
230 - opendaylight-infra-properties:
231 build-days-to-keep: 7
234 - opendaylight-infra-parameters:
235 os-cloud: '{os-cloud}'
238 refspec: 'refs/heads/{branch}'
239 artifacts: '{archive-artifacts}'
242 default: 'https://jenkins.opendaylight.org/releng https://jenkins.opendaylight.org/sandbox'
243 description: 'Space separated list of Jenkins URLs to check for active builds'
246 - opendaylight-infra-wrappers:
247 build-timeout: '{build-timeout}'
250 # Attempt to clear up servers every 30 mins in case we have orphaned servers
251 - timed: '0,30 * * * *'
254 - shell: !include-raw-escape: opendaylight-infra-cleanup-orphaned-nodes.sh
257 - email-notification:
258 email-recipients: '{email-recipients}'
259 email-prefix: '[releng]'
264 name: 'builder-delete-stale-nodes'
265 project-type: freestyle
266 node: centos7-builder-2c-8g
269 - opendaylight-infra-properties:
270 build-days-to-keep: 7
273 - opendaylight-infra-parameters:
274 os-cloud: '{os-cloud}'
277 refspec: 'refs/heads/{branch}'
278 artifacts: '{archive-artifacts}'
281 - opendaylight-infra-wrappers:
282 build-timeout: '{build-timeout}'
285 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
286 - timed: '0,30 * * * *'
289 - shell: !include-raw-escape:
290 - global-jjb/shell/lftools-install.sh
291 - opendaylight-infra-cleanup-stale-nodes.sh
294 - email-notification:
295 email-recipients: '{email-recipients}'
296 email-prefix: '[releng]'
301 name: 'builder-delete-stale-stacks'
302 project-type: freestyle
303 node: centos7-builder-2c-8g
306 - opendaylight-infra-properties:
307 build-days-to-keep: 7
310 - opendaylight-infra-parameters:
311 os-cloud: '{os-cloud}'
314 refspec: 'refs/heads/{branch}'
315 artifacts: '{archive-artifacts}'
318 default: 'https://jenkins.opendaylight.org/releng https://jenkins.opendaylight.org/sandbox'
319 description: 'Space separated list of Jenkins URLs to check for active builds'
322 - opendaylight-infra-wrappers:
323 build-timeout: '{build-timeout}'
326 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
327 - timed: '0,30 * * * *'
330 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
333 - email-notification:
334 email-recipients: '{email-recipients}'
335 email-prefix: '[releng]'
340 name: 'builder-update-image-list'
341 project-type: freestyle
342 node: centos7-builder-2c-8g
345 - opendaylight-infra-properties:
346 build-days-to-keep: 7
349 - opendaylight-infra-parameters:
353 refspec: 'refs/heads/{branch}'
354 artifacts: '{archive-artifacts}'
361 - opendaylight-infra-wrappers:
362 build-timeout: '{build-timeout}'
363 # Listed after to override openstack-infra-wrappers clouds.yaml definition
364 - config-file-provider:
366 - file-id: clouds-yaml
367 target: '$HOME/.config/openstack/clouds.yaml'
370 # Update image list every Monday to Friday at 11:00 UTC
371 - timed: '0 11 * * 1-5'
374 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
375 - opendaylight-infra-push-gerrit-patch:
377 gerrit-topic: 'releng-update-cloud-image-list'
378 gerrit-commit-message: 'Update cloud image list docs'
381 - email-notification:
382 email-recipients: '{email-recipients}'
383 email-prefix: '[releng]'