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:
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-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-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-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-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 default: 'https://jenkins.opendaylight.org/releng https://jenkins.opendaylight.org/sandbox'
255 description: 'Space separated list of Jenkins URLs to check for active builds'
258 - opendaylight-infra-wrappers:
259 build-timeout: '{build-timeout}'
262 # Attempt to clear up servers every 30 mins in case we have orphaned servers
263 - timed: '0,30 * * * *'
266 - shell: !include-raw-escape: opendaylight-infra-cleanup-orphaned-nodes.sh
269 - email-notification:
270 email-recipients: '{email-recipients}'
271 email-prefix: '[releng]'
276 name: 'builder-delete-stale-nodes'
277 project-type: freestyle
278 node: centos7-builder-2c-8g
281 - opendaylight-infra-properties:
282 build-days-to-keep: 7
285 - opendaylight-infra-parameters:
286 os-cloud: '{os-cloud}'
289 refspec: 'refs/heads/{branch}'
290 artifacts: '{archive-artifacts}'
293 - opendaylight-infra-wrappers:
294 build-timeout: '{build-timeout}'
297 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
298 - timed: '0,30 * * * *'
301 - shell: !include-raw-escape:
302 - global-jjb/shell/lftools-install.sh
303 - opendaylight-infra-cleanup-stale-nodes.sh
306 - email-notification:
307 email-recipients: '{email-recipients}'
308 email-prefix: '[releng]'
313 name: 'builder-delete-stale-stacks'
314 project-type: freestyle
315 node: centos7-builder-2c-8g
318 - opendaylight-infra-properties:
319 build-days-to-keep: 7
322 - opendaylight-infra-parameters:
323 os-cloud: '{os-cloud}'
326 refspec: 'refs/heads/{branch}'
327 artifacts: '{archive-artifacts}'
330 default: 'https://jenkins.opendaylight.org/releng https://jenkins.opendaylight.org/sandbox'
331 description: 'Space separated list of Jenkins URLs to check for active builds'
334 - opendaylight-infra-wrappers:
335 build-timeout: '{build-timeout}'
338 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
339 - timed: '0,30 * * * *'
342 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
345 - email-notification:
346 email-recipients: '{email-recipients}'
347 email-prefix: '[releng]'
352 name: 'builder-update-image-list'
353 project-type: freestyle
354 node: centos7-builder-2c-8g
357 - opendaylight-infra-properties:
358 build-days-to-keep: 7
361 - opendaylight-infra-parameters:
365 refspec: 'refs/heads/{branch}'
366 artifacts: '{archive-artifacts}'
373 - opendaylight-infra-wrappers:
374 build-timeout: '{build-timeout}'
375 # Listed after to override openstack-infra-wrappers clouds.yaml definition
376 - config-file-provider:
378 - file-id: clouds-yaml
379 target: '$HOME/.config/openstack/clouds.yaml'
382 # Update image list every Monday to Friday at 11:00 UTC
383 - timed: '0 11 * * 1-5'
386 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
387 - opendaylight-infra-push-gerrit-patch:
389 gerrit-topic: 'releng-update-cloud-image-list'
390 gerrit-commit-message: 'Update cloud image list docs'
393 - email-notification:
394 email-recipients: '{email-recipients}'
395 email-prefix: '[releng]'