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-java-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-java-builder-2c-8g
45 - devstack-pre-pip-newton:
47 - devstack-pre-pip-ocata:
49 - devstack-pre-pip-pike:
69 templates: mininet-ovs-2.5
71 templates: mininet-ovs-2.6
72 - platforms: ubuntu-14.04
73 templates: java-builder
74 - platforms: ubuntu-14.04
76 - platforms: ubuntu-14.04
77 templates: devstack-pre-pip-newton
78 - platforms: ubuntu-14.04
79 templates: devstack-pre-pip-ocata
80 - platforms: ubuntu-14.04
81 templates: devstack-pre-pip-pike
82 - platforms: ubuntu-14.04
84 - platforms: ubuntu-14.04
86 - platforms: ubuntu-14.04
87 templates: mininet-ovs-2.5
88 - platforms: ubuntu-14.04
89 templates: mininet-ovs-2.6
90 - platforms: ubuntu-16.04
91 templates: java-builder
92 - platforms: ubuntu-16.04
94 - platforms: ubuntu-16.04
95 templates: devstack-pre-pip-newton
96 - platforms: ubuntu-16.04
97 templates: devstack-pre-pip-ocata
98 - platforms: ubuntu-16.04
99 templates: devstack-pre-pip-pike
100 - platforms: ubuntu-16.04
102 - platforms: ubuntu-16.04
104 - platforms: ubuntu-16.04
106 - platforms: ubuntu-16.04
112 name: builder-check-poms
113 node: centos7-java-builder-2c-8g
115 project-type: freestyle
118 - opendaylight-infra-properties:
119 build-days-to-keep: 14
122 - opendaylight-infra-parameters:
123 os-cloud: '{os-cloud}'
126 refspec: 'refs/heads/{branch}'
127 artifacts: '{archive-artifacts}'
130 - opendaylight-infra-wrappers:
131 build-timeout: '{build-timeout}'
137 - shell: !include-raw-escape: check-poms.sh
140 - email-notification:
141 email-recipients: '{email-recipients}'
142 email-prefix: '[releng]'
147 name: 'builder-verify-image-protection'
148 project-type: freestyle
149 node: centos7-java-builder-2c-8g
152 - opendaylight-infra-properties:
153 build-days-to-keep: 7
156 - opendaylight-infra-parameters:
157 os-cloud: '{os-cloud}'
160 refspec: 'refs/heads/{branch}'
161 artifacts: '{archive-artifacts}'
168 - opendaylight-infra-wrappers:
169 build-timeout: '{build-timeout}'
170 # Listed after to override openstack-infra-wrappers clouds.yaml definition
171 - config-file-provider:
173 - file-id: clouds-yaml
174 target: '$HOME/.config/openstack/clouds.yaml'
180 - shell: !include-raw-escape:
181 - opendaylight-infra-check-image-protection.sh
184 - email-notification:
185 email-recipients: '{email-recipients}'
186 email-prefix: '[releng]'
191 name: 'builder-cleanup-old-images'
192 project-type: freestyle
193 node: centos7-java-builder-2c-8g
196 - opendaylight-infra-properties:
197 build-days-to-keep: 7
200 - opendaylight-infra-parameters:
201 os-cloud: '{os-cloud}'
204 refspec: 'refs/heads/{branch}'
205 artifacts: '{archive-artifacts}'
212 - opendaylight-infra-wrappers:
213 build-timeout: '{build-timeout}'
214 # Listed after to override openstack-infra-wrappers clouds.yaml definition
215 - config-file-provider:
217 - file-id: clouds-yaml
218 target: '$HOME/.config/openstack/clouds.yaml'
221 # Cleanup images on a weekly schedule
225 - shell: !include-raw-escape:
226 - global-jjb/shell/lftools-install.sh
227 - opendaylight-infra-cleanup-old-images.sh
230 - email-notification:
231 email-recipients: '{email-recipients}'
232 email-prefix: '[releng]'
237 name: builder-delete-orphaned-nodes
238 project-type: freestyle
239 node: centos7-java-builder-2c-8g
242 - opendaylight-infra-properties:
243 build-days-to-keep: 7
246 - opendaylight-infra-parameters:
247 os-cloud: '{os-cloud}'
250 refspec: 'refs/heads/{branch}'
251 artifacts: '{archive-artifacts}'
254 - opendaylight-infra-wrappers:
255 build-timeout: '{build-timeout}'
258 # Attempt to clear up servers every 30 mins in case we have orphaned servers
259 - timed: '0,30 * * * *'
262 - shell: !include-raw-escape: opendaylight-infra-cleanup-orphaned-nodes.sh
265 - email-notification:
266 email-recipients: '{email-recipients}'
267 email-prefix: '[releng]'
272 name: 'builder-delete-stale-nodes'
273 project-type: freestyle
274 node: centos7-java-builder-2c-8g
277 - opendaylight-infra-properties:
278 build-days-to-keep: 7
281 - opendaylight-infra-parameters:
282 os-cloud: '{os-cloud}'
285 refspec: 'refs/heads/{branch}'
286 artifacts: '{archive-artifacts}'
289 - opendaylight-infra-wrappers:
290 build-timeout: '{build-timeout}'
293 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
294 - timed: '0,30 * * * *'
297 - shell: !include-raw-escape:
298 - global-jjb/shell/lftools-install.sh
299 - opendaylight-infra-cleanup-stale-nodes.sh
302 - email-notification:
303 email-recipients: '{email-recipients}'
304 email-prefix: '[releng]'
309 name: 'builder-delete-stale-stacks'
310 project-type: freestyle
311 node: centos7-java-builder-2c-8g
314 - opendaylight-infra-properties:
315 build-days-to-keep: 7
318 - opendaylight-infra-parameters:
319 os-cloud: '{os-cloud}'
322 refspec: 'refs/heads/{branch}'
323 artifacts: '{archive-artifacts}'
326 - opendaylight-infra-wrappers:
327 build-timeout: '{build-timeout}'
330 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
331 - timed: '0,30 * * * *'
334 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
337 - email-notification:
338 email-recipients: '{email-recipients}'
339 email-prefix: '[releng]'
344 name: 'builder-update-image-list'
345 project-type: freestyle
346 node: centos7-java-builder-2c-8g
349 - opendaylight-infra-properties:
350 build-days-to-keep: 7
353 - opendaylight-infra-parameters:
357 refspec: 'refs/heads/{branch}'
358 artifacts: '{archive-artifacts}'
365 - opendaylight-infra-wrappers:
366 build-timeout: '{build-timeout}'
367 # Listed after to override openstack-infra-wrappers clouds.yaml definition
368 - config-file-provider:
370 - file-id: clouds-yaml
371 target: '$HOME/.config/openstack/clouds.yaml'
374 # Update image list every Monday to Friday at 11:00 UTC
375 - timed: '0 11 * * 1-5'
378 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
379 - opendaylight-infra-push-gerrit-patch:
381 gerrit-topic: 'releng-update-cloud-image-list'
382 gerrit-commit-message: 'Update cloud image list docs'
385 - email-notification:
386 email-recipients: '{email-recipients}'
387 email-prefix: '[releng]'