5 - '{project-name}-ci-jobs':
6 build-node: centos7-builder-2c-2g
8 - builder-copy-sandbox-logs
11 - 'builder-verify-image-protection'
12 - 'builder-cleanup-old-images'
13 - 'builder-delete-orphaned-nodes'
14 - 'builder-delete-stale-nodes'
15 - 'builder-delete-stale-stacks'
16 # Automation for docs and jobs
17 - 'builder-update-image-list'
19 # The following values are only specified here
20 # so that code blocks look similar to other projects.
21 project: 'releng/builder'
25 build-node: centos7-builder-2c-1g
26 archive-artifacts: '**/*.log'
32 # packer jobs templates are defined in global-jjb
34 - '{project-name}-packer-jobs'
35 project: 'releng/builder'
38 archive-artifacts: '**/*.log'
39 build-node: centos7-builder-2c-1g
48 - devstack-pre-pip-newton:
50 - devstack-pre-pip-ocata:
52 - devstack-pre-pip-pike:
64 templates: mininet-ovs-2.5
66 templates: mininet-ovs-2.6
67 - platforms: ubuntu-14.04
68 templates: devstack-pre-pip-newton
69 - platforms: ubuntu-14.04
70 templates: devstack-pre-pip-ocata
71 - platforms: ubuntu-14.04
72 templates: devstack-pre-pip-pike
73 - platforms: ubuntu-14.04
75 - platforms: ubuntu-14.04
76 templates: mininet-ovs-2.5
77 - platforms: ubuntu-14.04
78 templates: mininet-ovs-2.6
79 - platforms: ubuntu-16.04
80 templates: devstack-pre-pip-newton
81 - platforms: ubuntu-16.04
82 templates: devstack-pre-pip-ocata
83 - platforms: ubuntu-16.04
84 templates: devstack-pre-pip-pike
85 - platforms: ubuntu-16.04
89 name: builder-check-poms
90 node: centos7-builder-2c-1g
92 project-type: freestyle
95 - opendaylight-infra-properties:
96 build-days-to-keep: 14
99 - opendaylight-infra-parameters:
100 os-cloud: '{os-cloud}'
103 refspec: 'refs/heads/{branch}'
104 artifacts: '{archive-artifacts}'
107 - opendaylight-infra-wrappers:
108 build-timeout: '{build-timeout}'
114 - shell: !include-raw-escape: check-poms.sh
117 - email-notification:
118 email-recipients: '{email-recipients}'
119 email-prefix: '[releng]'
123 name: builder-copy-sandbox-logs
124 node: centos7-builder-2c-1g
126 project-type: freestyle
129 - opendaylight-infra-properties:
130 build-days-to-keep: 1
133 - opendaylight-infra-parameters:
141 - opendaylight-infra-wrappers:
146 server-name: '{gerrit-server-name}'
148 - comment-added-contains-event:
149 comment-contains-value: 'copy-logs:'
151 - project-compare-type: ANT
152 project-pattern: '**'
154 - branch-compare-type: ANT
158 - shell: !include-raw-escape: copy-sandbox-logs.sh
165 name: 'builder-verify-image-protection'
166 project-type: freestyle
167 node: centos7-builder-2c-1g
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'
198 - shell: !include-raw-escape:
199 - opendaylight-infra-check-image-protection.sh
202 - email-notification:
203 email-recipients: '{email-recipients}'
204 email-prefix: '[releng]'
209 name: 'builder-cleanup-old-images'
210 project-type: freestyle
211 node: centos7-builder-2c-1g
214 - opendaylight-infra-properties:
215 build-days-to-keep: 7
218 - opendaylight-infra-parameters:
219 os-cloud: '{os-cloud}'
222 refspec: 'refs/heads/{branch}'
223 artifacts: '{archive-artifacts}'
230 - opendaylight-infra-wrappers:
231 build-timeout: '{build-timeout}'
232 # Listed after to override openstack-infra-wrappers clouds.yaml definition
233 - config-file-provider:
235 - file-id: clouds-yaml
236 target: '$HOME/.config/openstack/clouds.yaml'
239 # Cleanup images on a weekly schedule
243 - shell: !include-raw-escape:
244 - global-jjb/shell/lftools-install.sh
245 - opendaylight-infra-cleanup-old-images.sh
248 - email-notification:
249 email-recipients: '{email-recipients}'
250 email-prefix: '[releng]'
255 name: builder-delete-orphaned-nodes
256 project-type: freestyle
257 node: centos7-builder-2c-1g
260 - opendaylight-infra-properties:
261 build-days-to-keep: 7
264 - opendaylight-infra-parameters:
265 os-cloud: '{os-cloud}'
268 refspec: 'refs/heads/{branch}'
269 artifacts: '{archive-artifacts}'
272 default: 'https://jenkins.opendaylight.org/releng https://jenkins.opendaylight.org/sandbox'
273 description: 'Space separated list of Jenkins URLs to check for active builds'
276 - opendaylight-infra-wrappers:
277 build-timeout: '{build-timeout}'
280 # Attempt to clear up servers every 30 mins in case we have orphaned servers
281 - timed: '0,30 * * * *'
284 - shell: !include-raw-escape: opendaylight-infra-cleanup-orphaned-nodes.sh
287 - email-notification:
288 email-recipients: '{email-recipients}'
289 email-prefix: '[releng]'
294 name: 'builder-delete-stale-nodes'
295 project-type: freestyle
296 node: centos7-builder-2c-1g
299 - opendaylight-infra-properties:
300 build-days-to-keep: 7
303 - opendaylight-infra-parameters:
304 os-cloud: '{os-cloud}'
307 refspec: 'refs/heads/{branch}'
308 artifacts: '{archive-artifacts}'
311 - opendaylight-infra-wrappers:
312 build-timeout: '{build-timeout}'
315 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
316 - timed: '0,30 * * * *'
319 - shell: !include-raw-escape:
320 - global-jjb/shell/lftools-install.sh
321 - opendaylight-infra-cleanup-stale-nodes.sh
324 - email-notification:
325 email-recipients: '{email-recipients}'
326 email-prefix: '[releng]'
331 name: 'builder-delete-stale-stacks'
332 project-type: freestyle
333 node: centos7-builder-2c-1g
336 - opendaylight-infra-properties:
337 build-days-to-keep: 7
340 - opendaylight-infra-parameters:
341 os-cloud: '{os-cloud}'
344 refspec: 'refs/heads/{branch}'
345 artifacts: '{archive-artifacts}'
348 default: 'https://jenkins.opendaylight.org/releng https://jenkins.opendaylight.org/sandbox'
349 description: 'Space separated list of Jenkins URLs to check for active builds'
352 - opendaylight-infra-wrappers:
353 build-timeout: '{build-timeout}'
356 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
357 - timed: '0,30 * * * *'
360 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
363 - email-notification:
364 email-recipients: '{email-recipients}'
365 email-prefix: '[releng]'
370 name: 'builder-update-image-list'
371 project-type: freestyle
372 node: centos7-builder-2c-1g
375 - opendaylight-infra-properties:
376 build-days-to-keep: 7
379 - opendaylight-infra-parameters:
383 refspec: 'refs/heads/{branch}'
384 artifacts: '{archive-artifacts}'
391 - opendaylight-infra-wrappers:
392 build-timeout: '{build-timeout}'
393 # Listed after to override openstack-infra-wrappers clouds.yaml definition
394 - config-file-provider:
396 - file-id: clouds-yaml
397 target: '$HOME/.config/openstack/clouds.yaml'
400 # Update image list every Monday to Friday at 11:00 UTC
401 - timed: '0 11 * * 1-5'
404 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
405 - opendaylight-infra-push-gerrit-patch:
407 gerrit-topic: 'releng-update-cloud-image-list'
408 gerrit-commit-message: 'Update cloud image list docs'
411 - email-notification:
412 email-recipients: '{email-recipients}'
413 email-prefix: '[releng]'