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-14.04
86 templates: mininet-ovs-2.6
87 - platforms: ubuntu-16.04
88 templates: java-builder
89 - platforms: ubuntu-16.04
91 - platforms: ubuntu-16.04
92 templates: devstack-pre-pip-newton
93 - platforms: ubuntu-16.04
94 templates: devstack-pre-pip-ocata
95 - platforms: ubuntu-16.04
97 - platforms: ubuntu-16.04
99 - platforms: ubuntu-16.04
101 - platforms: ubuntu-16.04
103 - platforms: ubuntu-16.04
109 name: builder-check-poms
110 node: centos7-java-builder-2c-4g
112 project-type: freestyle
115 - opendaylight-infra-properties:
116 build-days-to-keep: 14
119 - opendaylight-infra-parameters:
120 os-cloud: '{os-cloud}'
123 refspec: 'refs/heads/{branch}'
124 artifacts: '{archive-artifacts}'
127 - opendaylight-infra-wrappers:
128 build-timeout: '{build-timeout}'
134 - shell: !include-raw-escape: check-poms.sh
137 - email-notification:
138 email-recipients: '{email-recipients}'
139 email-prefix: '[releng]'
144 name: 'builder-verify-image-visibility'
145 project-type: freestyle
146 node: centos7-java-builder-2c-4g
148 os-cloud: 'odlpriv-sandbox'
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: opendaylight-private-clouds-yaml
173 target: '$HOME/.config/openstack/clouds.yaml'
176 # Check images visibility on a daily schedule
180 - shell: !include-raw-escape:
181 - opendaylight-infra-check-image-visibility.sh
184 - email-notification:
185 email-recipients: '{email-recipients}'
186 email-prefix: '[releng]'
191 name: 'builder-cleanup-old-images'
192 project-type: freestyle
193 node: centos7-java-builder-2c-4g
196 - opendaylight-infra-properties:
197 build-days-to-keep: 7
200 - opendaylight-infra-parameters:
201 os-cloud: '{os-cloud}'
204 refspec: 'refs/heads/{branch}'
205 artifacts: '{archive-artifacts}'
212 - opendaylight-infra-wrappers:
213 build-timeout: '{build-timeout}'
214 # Listed after to override openstack-infra-wrappers clouds.yaml definition
215 - config-file-provider:
217 - file-id: opendaylight-private-clouds-yaml
218 target: '$HOME/.config/openstack/clouds.yaml'
221 # Cleanup images on a weekly schedule
225 - shell: !include-raw-escape:
226 - global-jjb/shell/lftools-install.sh
227 - opendaylight-infra-cleanup-old-images.sh
230 - email-notification:
231 email-recipients: '{email-recipients}'
232 email-prefix: '[releng]'
237 name: 'builder-delete-stale-nodes'
238 project-type: freestyle
239 node: centos7-java-builder-2c-4g
242 - opendaylight-infra-properties:
243 build-days-to-keep: 7
246 - opendaylight-infra-parameters:
247 os-cloud: '{os-cloud}'
250 refspec: 'refs/heads/{branch}'
251 artifacts: '{archive-artifacts}'
254 - opendaylight-infra-wrappers:
255 build-timeout: '{build-timeout}'
258 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
259 - timed: '0,30 * * * *'
262 - shell: !include-raw-escape:
263 - global-jjb/shell/lftools-install.sh
264 - opendaylight-infra-cleanup-stale-nodes.sh
267 - email-notification:
268 email-recipients: '{email-recipients}'
269 email-prefix: '[releng]'
274 name: 'builder-delete-stale-stacks'
275 project-type: freestyle
276 node: centos7-java-builder-2c-4g
279 - opendaylight-infra-properties:
280 build-days-to-keep: 7
283 - opendaylight-infra-parameters:
284 os-cloud: '{os-cloud}'
287 refspec: 'refs/heads/{branch}'
288 artifacts: '{archive-artifacts}'
291 - opendaylight-infra-wrappers:
292 build-timeout: '{build-timeout}'
295 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
296 - timed: '0,30 * * * *'
299 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
302 - email-notification:
303 email-recipients: '{email-recipients}'
304 email-prefix: '[releng]'
309 name: 'builder-update-image-list'
310 project-type: freestyle
311 node: centos7-java-builder-2c-4g
314 - opendaylight-infra-properties:
315 build-days-to-keep: 7
318 - opendaylight-infra-parameters:
322 refspec: 'refs/heads/{branch}'
323 artifacts: '{archive-artifacts}'
330 - opendaylight-infra-wrappers:
331 build-timeout: '{build-timeout}'
332 # Listed after to override openstack-infra-wrappers clouds.yaml definition
333 - config-file-provider:
335 - file-id: opendaylight-private-clouds-yaml
336 target: '$HOME/.config/openstack/clouds.yaml'
339 # Update image list every Monday to Friday at 11:00 UTC
340 - timed: '0 11 * * 1-5'
343 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
344 - opendaylight-infra-push-gerrit-patch:
346 gerrit-topic: 'releng-update-cloud-image-list'
347 gerrit-commit-message: 'Update cloud image list docs'
350 - email-notification:
351 email-recipients: '{email-recipients}'
352 email-prefix: '[releng]'