5 - '{project-name}-ci-jobs'
6 - '{project-name}-verify-tox-{stream}'
9 - 'builder-verify-image-visibility'
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-2c-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'
43 - devstack-pre-pip-newton:
45 - devstack-pre-pip-ocata:
47 - devstack-pre-pip-pike:
66 templates: mininet-ovs-2.5
68 templates: mininet-ovs-2.6
69 - platforms: ubuntu-14.04
70 templates: java-builder
71 - platforms: ubuntu-14.04
73 - platforms: ubuntu-14.04
74 templates: devstack-pre-pip-newton
75 - platforms: ubuntu-14.04
76 templates: devstack-pre-pip-ocata
77 - platforms: ubuntu-14.04
78 templates: devstack-pre-pip-pike
79 - platforms: ubuntu-14.04
81 - platforms: ubuntu-14.04
83 - platforms: ubuntu-14.04
84 templates: mininet-ovs-2.5
85 - platforms: ubuntu-16.04
86 templates: java-builder
87 - platforms: ubuntu-16.04
89 - platforms: ubuntu-16.04
90 templates: devstack-pre-pip-newton
91 - platforms: ubuntu-16.04
92 templates: devstack-pre-pip-ocata
93 - platforms: ubuntu-16.04
95 - platforms: ubuntu-16.04
97 - platforms: ubuntu-16.04
99 - platforms: ubuntu-16.04
101 - platforms: ubuntu-16.04
107 name: builder-check-poms
108 node: centos7-java-builder-2c-4g
110 project-type: freestyle
113 - opendaylight-infra-properties:
114 build-days-to-keep: 14
117 - opendaylight-infra-parameters:
118 os-cloud: '{os-cloud}'
121 refspec: 'refs/heads/{branch}'
122 artifacts: '{archive-artifacts}'
125 - opendaylight-infra-wrappers:
126 build-timeout: '{build-timeout}'
132 - shell: !include-raw-escape: check-poms.sh
135 - email-notification:
136 email-recipients: '{email-recipients}'
137 email-prefix: '[releng]'
142 name: 'builder-verify-image-visibility'
143 project-type: freestyle
144 node: centos7-java-builder-2c-4g
146 os-cloud: 'odlpriv-sandbox'
149 - opendaylight-infra-properties:
150 build-days-to-keep: 7
153 - opendaylight-infra-parameters:
154 os-cloud: '{os-cloud}'
157 refspec: 'refs/heads/{branch}'
158 artifacts: '{archive-artifacts}'
165 - opendaylight-infra-wrappers:
166 build-timeout: '{build-timeout}'
167 # Listed after to override openstack-infra-wrappers clouds.yaml definition
168 - config-file-provider:
170 - file-id: opendaylight-private-clouds-yaml
171 target: '$HOME/.config/openstack/clouds.yaml'
174 # Check images visibility on a daily schedule
178 - shell: !include-raw-escape:
179 - opendaylight-infra-check-image-visibility.sh
182 - email-notification:
183 email-recipients: '{email-recipients}'
184 email-prefix: '[releng]'
189 name: 'builder-cleanup-old-images'
190 project-type: freestyle
191 node: centos7-java-builder-2c-4g
194 - opendaylight-infra-properties:
195 build-days-to-keep: 7
198 - opendaylight-infra-parameters:
199 os-cloud: '{os-cloud}'
202 refspec: 'refs/heads/{branch}'
203 artifacts: '{archive-artifacts}'
210 - opendaylight-infra-wrappers:
211 build-timeout: '{build-timeout}'
212 # Listed after to override openstack-infra-wrappers clouds.yaml definition
213 - config-file-provider:
215 - file-id: opendaylight-private-clouds-yaml
216 target: '$HOME/.config/openstack/clouds.yaml'
219 # Cleanup images on a weekly schedule
223 - shell: !include-raw-escape:
224 - global-jjb/shell/lftools-install.sh
225 - opendaylight-infra-cleanup-old-images.sh
228 - email-notification:
229 email-recipients: '{email-recipients}'
230 email-prefix: '[releng]'
235 name: 'builder-delete-stale-nodes'
236 project-type: freestyle
237 node: centos7-java-builder-2c-4g
240 - opendaylight-infra-properties:
241 build-days-to-keep: 7
244 - opendaylight-infra-parameters:
245 os-cloud: '{os-cloud}'
248 refspec: 'refs/heads/{branch}'
249 artifacts: '{archive-artifacts}'
252 - opendaylight-infra-wrappers:
253 build-timeout: '{build-timeout}'
256 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
257 - timed: '0,30 * * * *'
260 - shell: !include-raw-escape:
261 - global-jjb/shell/lftools-install.sh
262 - opendaylight-infra-cleanup-stale-nodes.sh
265 - email-notification:
266 email-recipients: '{email-recipients}'
267 email-prefix: '[releng]'
272 name: 'builder-delete-stale-stacks'
273 project-type: freestyle
274 node: centos7-java-builder-2c-4g
277 - opendaylight-infra-properties:
278 build-days-to-keep: 7
281 - opendaylight-infra-parameters:
282 os-cloud: '{os-cloud}'
285 refspec: 'refs/heads/{branch}'
286 artifacts: '{archive-artifacts}'
289 - opendaylight-infra-wrappers:
290 build-timeout: '{build-timeout}'
293 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
294 - timed: '0,30 * * * *'
297 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
300 - email-notification:
301 email-recipients: '{email-recipients}'
302 email-prefix: '[releng]'
307 name: 'builder-update-image-list'
308 project-type: freestyle
309 node: centos7-java-builder-2c-4g
312 - opendaylight-infra-properties:
313 build-days-to-keep: 7
316 - opendaylight-infra-parameters:
320 refspec: 'refs/heads/{branch}'
321 artifacts: '{archive-artifacts}'
328 - opendaylight-infra-wrappers:
329 build-timeout: '{build-timeout}'
330 # Listed after to override openstack-infra-wrappers clouds.yaml definition
331 - config-file-provider:
333 - file-id: opendaylight-private-clouds-yaml
334 target: '$HOME/.config/openstack/clouds.yaml'
337 # Update image list every Monday to Friday at 11:00 UTC
338 - timed: '0 11 * * 1-5'
341 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
342 - opendaylight-infra-push-gerrit-patch:
344 gerrit-topic: 'releng-update-cloud-image-list'
345 gerrit-commit-message: 'Update cloud image list docs'
348 - email-notification:
349 email-recipients: '{email-recipients}'
350 email-prefix: '[releng]'