5 - '{project-name}-ci-jobs'
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:
67 templates: mininet-ovs-2.5
69 templates: mininet-ovs-2.6
70 - platforms: ubuntu-14.04
71 templates: java-builder
72 - platforms: ubuntu-14.04
74 - platforms: ubuntu-14.04
75 templates: devstack-pre-pip-newton
76 - platforms: ubuntu-14.04
77 templates: devstack-pre-pip-ocata
78 - platforms: ubuntu-14.04
79 templates: devstack-pre-pip-pike
80 - platforms: ubuntu-14.04
82 - platforms: ubuntu-14.04
84 - platforms: ubuntu-14.04
85 templates: mininet-ovs-2.5
86 - platforms: ubuntu-14.04
87 templates: mininet-ovs-2.6
88 - platforms: ubuntu-16.04
89 templates: java-builder
90 - platforms: ubuntu-16.04
92 - platforms: ubuntu-16.04
93 templates: devstack-pre-pip-newton
94 - platforms: ubuntu-16.04
95 templates: devstack-pre-pip-ocata
96 - platforms: ubuntu-16.04
97 templates: devstack-pre-pip-pike
98 - platforms: ubuntu-16.04
100 - platforms: ubuntu-16.04
102 - platforms: ubuntu-16.04
104 - platforms: ubuntu-16.04
110 name: builder-check-poms
111 node: centos7-java-builder-2c-4g
113 project-type: freestyle
116 - opendaylight-infra-properties:
117 build-days-to-keep: 14
120 - opendaylight-infra-parameters:
121 os-cloud: '{os-cloud}'
124 refspec: 'refs/heads/{branch}'
125 artifacts: '{archive-artifacts}'
128 - opendaylight-infra-wrappers:
129 build-timeout: '{build-timeout}'
135 - shell: !include-raw-escape: check-poms.sh
138 - email-notification:
139 email-recipients: '{email-recipients}'
140 email-prefix: '[releng]'
145 name: 'builder-verify-image-visibility'
146 project-type: freestyle
147 node: centos7-java-builder-2c-4g
149 os-cloud: 'odlpriv-sandbox'
152 - opendaylight-infra-properties:
153 build-days-to-keep: 7
156 - opendaylight-infra-parameters:
157 os-cloud: '{os-cloud}'
160 refspec: 'refs/heads/{branch}'
161 artifacts: '{archive-artifacts}'
168 - opendaylight-infra-wrappers:
169 build-timeout: '{build-timeout}'
170 # Listed after to override openstack-infra-wrappers clouds.yaml definition
171 - config-file-provider:
173 - file-id: opendaylight-private-clouds-yaml
174 target: '$HOME/.config/openstack/clouds.yaml'
177 # Check images visibility on a daily schedule
181 - shell: !include-raw-escape:
182 - opendaylight-infra-check-image-visibility.sh
185 - email-notification:
186 email-recipients: '{email-recipients}'
187 email-prefix: '[releng]'
192 name: 'builder-cleanup-old-images'
193 project-type: freestyle
194 node: centos7-java-builder-2c-4g
197 - opendaylight-infra-properties:
198 build-days-to-keep: 7
201 - opendaylight-infra-parameters:
202 os-cloud: '{os-cloud}'
205 refspec: 'refs/heads/{branch}'
206 artifacts: '{archive-artifacts}'
213 - opendaylight-infra-wrappers:
214 build-timeout: '{build-timeout}'
215 # Listed after to override openstack-infra-wrappers clouds.yaml definition
216 - config-file-provider:
218 - file-id: opendaylight-private-clouds-yaml
219 target: '$HOME/.config/openstack/clouds.yaml'
222 # Cleanup images on a weekly schedule
226 - shell: !include-raw-escape:
227 - global-jjb/shell/lftools-install.sh
228 - opendaylight-infra-cleanup-old-images.sh
231 - email-notification:
232 email-recipients: '{email-recipients}'
233 email-prefix: '[releng]'
238 name: 'builder-delete-stale-nodes'
239 project-type: freestyle
240 node: centos7-java-builder-2c-4g
243 - opendaylight-infra-properties:
244 build-days-to-keep: 7
247 - opendaylight-infra-parameters:
248 os-cloud: '{os-cloud}'
251 refspec: 'refs/heads/{branch}'
252 artifacts: '{archive-artifacts}'
255 - opendaylight-infra-wrappers:
256 build-timeout: '{build-timeout}'
259 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
260 - timed: '0,30 * * * *'
263 - shell: !include-raw-escape:
264 - global-jjb/shell/lftools-install.sh
265 - opendaylight-infra-cleanup-stale-nodes.sh
268 - email-notification:
269 email-recipients: '{email-recipients}'
270 email-prefix: '[releng]'
275 name: 'builder-delete-stale-stacks'
276 project-type: freestyle
277 node: centos7-java-builder-2c-4g
280 - opendaylight-infra-properties:
281 build-days-to-keep: 7
284 - opendaylight-infra-parameters:
285 os-cloud: '{os-cloud}'
288 refspec: 'refs/heads/{branch}'
289 artifacts: '{archive-artifacts}'
292 - opendaylight-infra-wrappers:
293 build-timeout: '{build-timeout}'
296 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
297 - timed: '0,30 * * * *'
300 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
303 - email-notification:
304 email-recipients: '{email-recipients}'
305 email-prefix: '[releng]'
310 name: 'builder-update-image-list'
311 project-type: freestyle
312 node: centos7-java-builder-2c-4g
315 - opendaylight-infra-properties:
316 build-days-to-keep: 7
319 - opendaylight-infra-parameters:
323 refspec: 'refs/heads/{branch}'
324 artifacts: '{archive-artifacts}'
331 - opendaylight-infra-wrappers:
332 build-timeout: '{build-timeout}'
333 # Listed after to override openstack-infra-wrappers clouds.yaml definition
334 - config-file-provider:
336 - file-id: opendaylight-private-clouds-yaml
337 target: '$HOME/.config/openstack/clouds.yaml'
340 # Update image list every Monday to Friday at 11:00 UTC
341 - timed: '0 11 * * 1-5'
344 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
345 - opendaylight-infra-push-gerrit-patch:
347 gerrit-topic: 'releng-update-cloud-image-list'
348 gerrit-commit-message: 'Update cloud image list docs'
351 - email-notification:
352 email-recipients: '{email-recipients}'
353 email-prefix: '[releng]'