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:
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
87 - platforms: ubuntu-16.04
89 - platforms: ubuntu-16.04
95 name: builder-check-poms
96 node: centos7-builder-2c-8g
98 project-type: freestyle
101 - opendaylight-infra-properties:
102 build-days-to-keep: 14
105 - opendaylight-infra-parameters:
106 os-cloud: '{os-cloud}'
109 refspec: 'refs/heads/{branch}'
110 artifacts: '{archive-artifacts}'
113 - opendaylight-infra-wrappers:
114 build-timeout: '{build-timeout}'
120 - shell: !include-raw-escape: check-poms.sh
123 - email-notification:
124 email-recipients: '{email-recipients}'
125 email-prefix: '[releng]'
130 name: 'builder-verify-image-protection'
131 project-type: freestyle
132 node: centos7-builder-2c-8g
135 - opendaylight-infra-properties:
136 build-days-to-keep: 7
139 - opendaylight-infra-parameters:
140 os-cloud: '{os-cloud}'
143 refspec: 'refs/heads/{branch}'
144 artifacts: '{archive-artifacts}'
151 - opendaylight-infra-wrappers:
152 build-timeout: '{build-timeout}'
153 # Listed after to override openstack-infra-wrappers clouds.yaml definition
154 - config-file-provider:
156 - file-id: clouds-yaml
157 target: '$HOME/.config/openstack/clouds.yaml'
163 - shell: !include-raw-escape:
164 - opendaylight-infra-check-image-protection.sh
167 - email-notification:
168 email-recipients: '{email-recipients}'
169 email-prefix: '[releng]'
174 name: 'builder-cleanup-old-images'
175 project-type: freestyle
176 node: centos7-builder-2c-8g
179 - opendaylight-infra-properties:
180 build-days-to-keep: 7
183 - opendaylight-infra-parameters:
184 os-cloud: '{os-cloud}'
187 refspec: 'refs/heads/{branch}'
188 artifacts: '{archive-artifacts}'
195 - opendaylight-infra-wrappers:
196 build-timeout: '{build-timeout}'
197 # Listed after to override openstack-infra-wrappers clouds.yaml definition
198 - config-file-provider:
200 - file-id: clouds-yaml
201 target: '$HOME/.config/openstack/clouds.yaml'
204 # Cleanup images on a weekly schedule
208 - shell: !include-raw-escape:
209 - global-jjb/shell/lftools-install.sh
210 - opendaylight-infra-cleanup-old-images.sh
213 - email-notification:
214 email-recipients: '{email-recipients}'
215 email-prefix: '[releng]'
220 name: builder-delete-orphaned-nodes
221 project-type: freestyle
222 node: centos7-builder-2c-8g
225 - opendaylight-infra-properties:
226 build-days-to-keep: 7
229 - opendaylight-infra-parameters:
230 os-cloud: '{os-cloud}'
233 refspec: 'refs/heads/{branch}'
234 artifacts: '{archive-artifacts}'
237 default: 'https://jenkins.opendaylight.org/releng https://jenkins.opendaylight.org/sandbox'
238 description: 'Space separated list of Jenkins URLs to check for active builds'
241 - opendaylight-infra-wrappers:
242 build-timeout: '{build-timeout}'
245 # Attempt to clear up servers every 30 mins in case we have orphaned servers
246 - timed: '0,30 * * * *'
249 - shell: !include-raw-escape: opendaylight-infra-cleanup-orphaned-nodes.sh
252 - email-notification:
253 email-recipients: '{email-recipients}'
254 email-prefix: '[releng]'
259 name: 'builder-delete-stale-nodes'
260 project-type: freestyle
261 node: centos7-builder-2c-8g
264 - opendaylight-infra-properties:
265 build-days-to-keep: 7
268 - opendaylight-infra-parameters:
269 os-cloud: '{os-cloud}'
272 refspec: 'refs/heads/{branch}'
273 artifacts: '{archive-artifacts}'
276 - opendaylight-infra-wrappers:
277 build-timeout: '{build-timeout}'
280 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
281 - timed: '0,30 * * * *'
284 - shell: !include-raw-escape:
285 - global-jjb/shell/lftools-install.sh
286 - opendaylight-infra-cleanup-stale-nodes.sh
289 - email-notification:
290 email-recipients: '{email-recipients}'
291 email-prefix: '[releng]'
296 name: 'builder-delete-stale-stacks'
297 project-type: freestyle
298 node: centos7-builder-2c-8g
301 - opendaylight-infra-properties:
302 build-days-to-keep: 7
305 - opendaylight-infra-parameters:
306 os-cloud: '{os-cloud}'
309 refspec: 'refs/heads/{branch}'
310 artifacts: '{archive-artifacts}'
313 default: 'https://jenkins.opendaylight.org/releng https://jenkins.opendaylight.org/sandbox'
314 description: 'Space separated list of Jenkins URLs to check for active builds'
317 - opendaylight-infra-wrappers:
318 build-timeout: '{build-timeout}'
321 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
322 - timed: '0,30 * * * *'
325 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
328 - email-notification:
329 email-recipients: '{email-recipients}'
330 email-prefix: '[releng]'
335 name: 'builder-update-image-list'
336 project-type: freestyle
337 node: centos7-builder-2c-8g
340 - opendaylight-infra-properties:
341 build-days-to-keep: 7
344 - opendaylight-infra-parameters:
348 refspec: 'refs/heads/{branch}'
349 artifacts: '{archive-artifacts}'
356 - opendaylight-infra-wrappers:
357 build-timeout: '{build-timeout}'
358 # Listed after to override openstack-infra-wrappers clouds.yaml definition
359 - config-file-provider:
361 - file-id: clouds-yaml
362 target: '$HOME/.config/openstack/clouds.yaml'
365 # Update image list every Monday to Friday at 11:00 UTC
366 - timed: '0 11 * * 1-5'
369 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
370 - opendaylight-infra-push-gerrit-patch:
372 gerrit-topic: 'releng-update-cloud-image-list'
373 gerrit-commit-message: 'Update cloud image list docs'
376 - email-notification:
377 email-recipients: '{email-recipients}'
378 email-prefix: '[releng]'