5 - '{project-name}-ci-jobs'
7 - builder-copy-sandbox-logs
10 - 'builder-verify-image-protection'
11 - 'builder-cleanup-old-images'
12 - 'builder-delete-orphaned-nodes'
13 - 'builder-delete-stale-nodes'
14 - 'builder-delete-stale-stacks'
15 # Automation for docs and jobs
16 - 'builder-update-image-list'
18 # The following values are only specified here
19 # so that code blocks look similar to other projects.
20 project: 'releng/builder'
24 build-node: centos7-builder-2c-8g
25 archive-artifacts: '**/*.log'
31 # packer jobs templates are defined in global-jjb
33 - '{project-name}-packer-jobs'
34 project: 'releng/builder'
37 archive-artifacts: '**/*.log'
38 build-node: centos7-builder-2c-8g
47 - devstack-pre-pip-newton:
49 - devstack-pre-pip-ocata:
51 - devstack-pre-pip-pike:
63 templates: mininet-ovs-2.5
65 templates: mininet-ovs-2.6
66 - platforms: ubuntu-14.04
67 templates: devstack-pre-pip-newton
68 - platforms: ubuntu-14.04
69 templates: devstack-pre-pip-ocata
70 - platforms: ubuntu-14.04
71 templates: devstack-pre-pip-pike
72 - platforms: ubuntu-14.04
74 - platforms: ubuntu-14.04
75 templates: mininet-ovs-2.5
76 - platforms: ubuntu-14.04
77 templates: mininet-ovs-2.6
78 - platforms: ubuntu-16.04
79 templates: devstack-pre-pip-newton
80 - platforms: ubuntu-16.04
81 templates: devstack-pre-pip-ocata
82 - platforms: ubuntu-16.04
83 templates: devstack-pre-pip-pike
84 - platforms: ubuntu-16.04
88 name: builder-check-poms
89 node: centos7-builder-2c-8g
91 project-type: freestyle
94 - opendaylight-infra-properties:
95 build-days-to-keep: 14
98 - opendaylight-infra-parameters:
99 os-cloud: '{os-cloud}'
102 refspec: 'refs/heads/{branch}'
103 artifacts: '{archive-artifacts}'
106 - opendaylight-infra-wrappers:
107 build-timeout: '{build-timeout}'
113 - shell: !include-raw-escape: check-poms.sh
116 - email-notification:
117 email-recipients: '{email-recipients}'
118 email-prefix: '[releng]'
122 name: builder-copy-sandbox-logs
123 node: centos7-builder-2c-8g
125 project-type: freestyle
128 - opendaylight-infra-properties:
129 build-days-to-keep: 1
132 - opendaylight-infra-parameters:
140 - opendaylight-infra-wrappers:
145 server-name: '{gerrit-server-name}'
147 - comment-added-contains-event:
148 comment-contains-value: 'copy-logs:'
150 - project-compare-type: ANT
151 project-pattern: '**'
153 - branch-compare-type: ANT
157 - shell: !include-raw-escape: copy-sandbox-logs.sh
164 name: 'builder-verify-image-protection'
165 project-type: freestyle
166 node: centos7-builder-2c-8g
169 - opendaylight-infra-properties:
170 build-days-to-keep: 7
173 - opendaylight-infra-parameters:
174 os-cloud: '{os-cloud}'
177 refspec: 'refs/heads/{branch}'
178 artifacts: '{archive-artifacts}'
185 - opendaylight-infra-wrappers:
186 build-timeout: '{build-timeout}'
187 # Listed after to override openstack-infra-wrappers clouds.yaml definition
188 - config-file-provider:
190 - file-id: clouds-yaml
191 target: '$HOME/.config/openstack/clouds.yaml'
197 - shell: !include-raw-escape:
198 - opendaylight-infra-check-image-protection.sh
201 - email-notification:
202 email-recipients: '{email-recipients}'
203 email-prefix: '[releng]'
208 name: 'builder-cleanup-old-images'
209 project-type: freestyle
210 node: centos7-builder-2c-8g
213 - opendaylight-infra-properties:
214 build-days-to-keep: 7
217 - opendaylight-infra-parameters:
218 os-cloud: '{os-cloud}'
221 refspec: 'refs/heads/{branch}'
222 artifacts: '{archive-artifacts}'
229 - opendaylight-infra-wrappers:
230 build-timeout: '{build-timeout}'
231 # Listed after to override openstack-infra-wrappers clouds.yaml definition
232 - config-file-provider:
234 - file-id: clouds-yaml
235 target: '$HOME/.config/openstack/clouds.yaml'
238 # Cleanup images on a weekly schedule
242 - shell: !include-raw-escape:
243 - global-jjb/shell/lftools-install.sh
244 - opendaylight-infra-cleanup-old-images.sh
247 - email-notification:
248 email-recipients: '{email-recipients}'
249 email-prefix: '[releng]'
254 name: builder-delete-orphaned-nodes
255 project-type: freestyle
256 node: centos7-builder-2c-8g
259 - opendaylight-infra-properties:
260 build-days-to-keep: 7
263 - opendaylight-infra-parameters:
264 os-cloud: '{os-cloud}'
267 refspec: 'refs/heads/{branch}'
268 artifacts: '{archive-artifacts}'
271 default: 'https://jenkins.opendaylight.org/releng https://jenkins.opendaylight.org/sandbox'
272 description: 'Space separated list of Jenkins URLs to check for active builds'
275 - opendaylight-infra-wrappers:
276 build-timeout: '{build-timeout}'
279 # Attempt to clear up servers every 30 mins in case we have orphaned servers
280 - timed: '0,30 * * * *'
283 - shell: !include-raw-escape: opendaylight-infra-cleanup-orphaned-nodes.sh
286 - email-notification:
287 email-recipients: '{email-recipients}'
288 email-prefix: '[releng]'
293 name: 'builder-delete-stale-nodes'
294 project-type: freestyle
295 node: centos7-builder-2c-8g
298 - opendaylight-infra-properties:
299 build-days-to-keep: 7
302 - opendaylight-infra-parameters:
303 os-cloud: '{os-cloud}'
306 refspec: 'refs/heads/{branch}'
307 artifacts: '{archive-artifacts}'
310 - opendaylight-infra-wrappers:
311 build-timeout: '{build-timeout}'
314 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
315 - timed: '0,30 * * * *'
318 - shell: !include-raw-escape:
319 - global-jjb/shell/lftools-install.sh
320 - opendaylight-infra-cleanup-stale-nodes.sh
323 - email-notification:
324 email-recipients: '{email-recipients}'
325 email-prefix: '[releng]'
330 name: 'builder-delete-stale-stacks'
331 project-type: freestyle
332 node: centos7-builder-2c-8g
335 - opendaylight-infra-properties:
336 build-days-to-keep: 7
339 - opendaylight-infra-parameters:
340 os-cloud: '{os-cloud}'
343 refspec: 'refs/heads/{branch}'
344 artifacts: '{archive-artifacts}'
347 default: 'https://jenkins.opendaylight.org/releng https://jenkins.opendaylight.org/sandbox'
348 description: 'Space separated list of Jenkins URLs to check for active builds'
351 - opendaylight-infra-wrappers:
352 build-timeout: '{build-timeout}'
355 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
356 - timed: '0,30 * * * *'
359 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
362 - email-notification:
363 email-recipients: '{email-recipients}'
364 email-prefix: '[releng]'
369 name: 'builder-update-image-list'
370 project-type: freestyle
371 node: centos7-builder-2c-8g
374 - opendaylight-infra-properties:
375 build-days-to-keep: 7
378 - opendaylight-infra-parameters:
382 refspec: 'refs/heads/{branch}'
383 artifacts: '{archive-artifacts}'
390 - opendaylight-infra-wrappers:
391 build-timeout: '{build-timeout}'
392 # Listed after to override openstack-infra-wrappers clouds.yaml definition
393 - config-file-provider:
395 - file-id: clouds-yaml
396 target: '$HOME/.config/openstack/clouds.yaml'
399 # Update image list every Monday to Friday at 11:00 UTC
400 - timed: '0 11 * * 1-5'
403 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
404 - opendaylight-infra-push-gerrit-patch:
406 gerrit-topic: 'releng-update-cloud-image-list'
407 gerrit-commit-message: 'Update cloud image list docs'
410 - email-notification:
411 email-recipients: '{email-recipients}'
412 email-prefix: '[releng]'