5 - '{project-name}-ci-jobs'
9 - 'builder-verify-image-protection'
10 - 'builder-cleanup-old-images'
11 - 'builder-delete-stale-nodes'
12 - 'builder-delete-stale-stacks'
13 # Automation for docs and jobs
14 - 'builder-update-image-list'
16 # The following values are only specified here
17 # so that code blocks look similar to other projects.
18 project: 'releng/builder'
22 build-node: centos7-java-builder-1c-4g
23 archive-artifacts: '**/*.log'
28 # packer jobs templates are defined in global-jjb
30 - '{project-name}-packer-jobs'
31 project: 'releng/builder'
34 archive-artifacts: '**/*.log'
35 build-node: centos7-java-builder-1c-4g
44 - devstack-pre-pip-newton:
46 - devstack-pre-pip-ocata:
48 - devstack-pre-pip-pike:
68 templates: mininet-ovs-2.5
70 templates: mininet-ovs-2.6
71 - platforms: ubuntu-14.04
72 templates: java-builder
73 - platforms: ubuntu-14.04
75 - platforms: ubuntu-14.04
76 templates: devstack-pre-pip-newton
77 - platforms: ubuntu-14.04
78 templates: devstack-pre-pip-ocata
79 - platforms: ubuntu-14.04
80 templates: devstack-pre-pip-pike
81 - platforms: ubuntu-14.04
83 - platforms: ubuntu-14.04
85 - platforms: ubuntu-14.04
86 templates: mininet-ovs-2.5
87 - platforms: ubuntu-14.04
88 templates: mininet-ovs-2.6
89 - platforms: ubuntu-16.04
90 templates: java-builder
91 - platforms: ubuntu-16.04
93 - platforms: ubuntu-16.04
94 templates: devstack-pre-pip-newton
95 - platforms: ubuntu-16.04
96 templates: devstack-pre-pip-ocata
97 - platforms: ubuntu-16.04
98 templates: devstack-pre-pip-pike
99 - platforms: ubuntu-16.04
101 - platforms: ubuntu-16.04
103 - platforms: ubuntu-16.04
105 - platforms: ubuntu-16.04
111 name: builder-check-poms
112 node: centos7-java-builder-1c-4g
114 project-type: freestyle
117 - opendaylight-infra-properties:
118 build-days-to-keep: 14
121 - opendaylight-infra-parameters:
122 os-cloud: '{os-cloud}'
125 refspec: 'refs/heads/{branch}'
126 artifacts: '{archive-artifacts}'
129 - opendaylight-infra-wrappers:
130 build-timeout: '{build-timeout}'
136 - shell: !include-raw-escape: check-poms.sh
139 - email-notification:
140 email-recipients: '{email-recipients}'
141 email-prefix: '[releng]'
146 name: 'builder-verify-image-protection'
147 project-type: freestyle
148 node: centos7-java-builder-1c-4g
151 - opendaylight-infra-properties:
152 build-days-to-keep: 7
155 - opendaylight-infra-parameters:
156 os-cloud: '{os-cloud}'
159 refspec: 'refs/heads/{branch}'
160 artifacts: '{archive-artifacts}'
167 - opendaylight-infra-wrappers:
168 build-timeout: '{build-timeout}'
169 # Listed after to override openstack-infra-wrappers clouds.yaml definition
170 - config-file-provider:
172 - file-id: clouds-yaml
173 target: '$HOME/.config/openstack/clouds.yaml'
179 - shell: !include-raw-escape:
180 - opendaylight-infra-check-image-protection.sh
183 - email-notification:
184 email-recipients: '{email-recipients}'
185 email-prefix: '[releng]'
190 name: 'builder-cleanup-old-images'
191 project-type: freestyle
192 node: centos7-java-builder-1c-4g
195 - opendaylight-infra-properties:
196 build-days-to-keep: 7
199 - opendaylight-infra-parameters:
200 os-cloud: '{os-cloud}'
203 refspec: 'refs/heads/{branch}'
204 artifacts: '{archive-artifacts}'
211 - opendaylight-infra-wrappers:
212 build-timeout: '{build-timeout}'
213 # Listed after to override openstack-infra-wrappers clouds.yaml definition
214 - config-file-provider:
216 - file-id: clouds-yaml
217 target: '$HOME/.config/openstack/clouds.yaml'
220 # Cleanup images on a weekly schedule
224 - shell: !include-raw-escape:
225 - global-jjb/shell/lftools-install.sh
226 - opendaylight-infra-cleanup-old-images.sh
229 - email-notification:
230 email-recipients: '{email-recipients}'
231 email-prefix: '[releng]'
236 name: 'builder-delete-stale-nodes'
237 project-type: freestyle
238 node: centos7-java-builder-1c-4g
241 - opendaylight-infra-properties:
242 build-days-to-keep: 7
245 - opendaylight-infra-parameters:
246 os-cloud: '{os-cloud}'
249 refspec: 'refs/heads/{branch}'
250 artifacts: '{archive-artifacts}'
253 - opendaylight-infra-wrappers:
254 build-timeout: '{build-timeout}'
257 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
258 - timed: '0,30 * * * *'
261 - shell: !include-raw-escape:
262 - global-jjb/shell/lftools-install.sh
263 - opendaylight-infra-cleanup-stale-nodes.sh
266 - email-notification:
267 email-recipients: '{email-recipients}'
268 email-prefix: '[releng]'
273 name: 'builder-delete-stale-stacks'
274 project-type: freestyle
275 node: centos7-java-builder-1c-4g
278 - opendaylight-infra-properties:
279 build-days-to-keep: 7
282 - opendaylight-infra-parameters:
283 os-cloud: '{os-cloud}'
286 refspec: 'refs/heads/{branch}'
287 artifacts: '{archive-artifacts}'
290 - opendaylight-infra-wrappers:
291 build-timeout: '{build-timeout}'
294 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
295 - timed: '0,30 * * * *'
298 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
301 - email-notification:
302 email-recipients: '{email-recipients}'
303 email-prefix: '[releng]'
308 name: 'builder-update-image-list'
309 project-type: freestyle
310 node: centos7-java-builder-1c-4g
313 - opendaylight-infra-properties:
314 build-days-to-keep: 7
317 - opendaylight-infra-parameters:
321 refspec: 'refs/heads/{branch}'
322 artifacts: '{archive-artifacts}'
329 - opendaylight-infra-wrappers:
330 build-timeout: '{build-timeout}'
331 # Listed after to override openstack-infra-wrappers clouds.yaml definition
332 - config-file-provider:
334 - file-id: clouds-yaml
335 target: '$HOME/.config/openstack/clouds.yaml'
338 # Update image list every Monday to Friday at 11:00 UTC
339 - timed: '0 11 * * 1-5'
342 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
343 - opendaylight-infra-push-gerrit-patch:
345 gerrit-topic: 'releng-update-cloud-image-list'
346 gerrit-commit-message: 'Update cloud image list docs'
349 - email-notification:
350 email-recipients: '{email-recipients}'
351 email-prefix: '[releng]'