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
106 - platforms: ubuntu-16.04
112 name: builder-check-poms
113 node: centos7-java-builder-2c-4g
115 project-type: freestyle
118 - opendaylight-infra-properties:
119 build-days-to-keep: 14
122 - opendaylight-infra-parameters:
123 os-cloud: '{os-cloud}'
126 refspec: 'refs/heads/{branch}'
127 artifacts: '{archive-artifacts}'
130 - opendaylight-infra-wrappers:
131 build-timeout: '{build-timeout}'
137 - shell: !include-raw-escape: check-poms.sh
140 - email-notification:
141 email-recipients: '{email-recipients}'
142 email-prefix: '[releng]'
147 name: 'builder-verify-image-visibility'
148 project-type: freestyle
149 node: centos7-java-builder-2c-4g
151 os-cloud: 'odlpriv-sandbox'
154 - opendaylight-infra-properties:
155 build-days-to-keep: 7
158 - opendaylight-infra-parameters:
159 os-cloud: '{os-cloud}'
162 refspec: 'refs/heads/{branch}'
163 artifacts: '{archive-artifacts}'
170 - opendaylight-infra-wrappers:
171 build-timeout: '{build-timeout}'
172 # Listed after to override openstack-infra-wrappers clouds.yaml definition
173 - config-file-provider:
175 - file-id: opendaylight-private-clouds-yaml
176 target: '$HOME/.config/openstack/clouds.yaml'
179 # Check images visibility on a daily schedule
183 - shell: !include-raw-escape:
184 - opendaylight-infra-check-image-visibility.sh
187 - email-notification:
188 email-recipients: '{email-recipients}'
189 email-prefix: '[releng]'
194 name: 'builder-cleanup-old-images'
195 project-type: freestyle
196 node: centos7-java-builder-2c-4g
199 - opendaylight-infra-properties:
200 build-days-to-keep: 7
203 - opendaylight-infra-parameters:
204 os-cloud: '{os-cloud}'
207 refspec: 'refs/heads/{branch}'
208 artifacts: '{archive-artifacts}'
215 - opendaylight-infra-wrappers:
216 build-timeout: '{build-timeout}'
217 # Listed after to override openstack-infra-wrappers clouds.yaml definition
218 - config-file-provider:
220 - file-id: opendaylight-private-clouds-yaml
221 target: '$HOME/.config/openstack/clouds.yaml'
224 # Cleanup images on a weekly schedule
228 - shell: !include-raw-escape:
229 - global-jjb/shell/lftools-install.sh
230 - opendaylight-infra-cleanup-old-images.sh
233 - email-notification:
234 email-recipients: '{email-recipients}'
235 email-prefix: '[releng]'
240 name: 'builder-delete-stale-nodes'
241 project-type: freestyle
242 node: centos7-java-builder-2c-4g
245 - opendaylight-infra-properties:
246 build-days-to-keep: 7
249 - opendaylight-infra-parameters:
250 os-cloud: '{os-cloud}'
253 refspec: 'refs/heads/{branch}'
254 artifacts: '{archive-artifacts}'
257 - opendaylight-infra-wrappers:
258 build-timeout: '{build-timeout}'
261 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
262 - timed: '0,30 * * * *'
265 - shell: !include-raw-escape:
266 - global-jjb/shell/lftools-install.sh
267 - opendaylight-infra-cleanup-stale-nodes.sh
270 - email-notification:
271 email-recipients: '{email-recipients}'
272 email-prefix: '[releng]'
277 name: 'builder-delete-stale-stacks'
278 project-type: freestyle
279 node: centos7-java-builder-2c-4g
282 - opendaylight-infra-properties:
283 build-days-to-keep: 7
286 - opendaylight-infra-parameters:
287 os-cloud: '{os-cloud}'
290 refspec: 'refs/heads/{branch}'
291 artifacts: '{archive-artifacts}'
294 - opendaylight-infra-wrappers:
295 build-timeout: '{build-timeout}'
298 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
299 - timed: '0,30 * * * *'
302 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
305 - email-notification:
306 email-recipients: '{email-recipients}'
307 email-prefix: '[releng]'
312 name: 'builder-update-image-list'
313 project-type: freestyle
314 node: centos7-java-builder-2c-4g
317 - opendaylight-infra-properties:
318 build-days-to-keep: 7
321 - opendaylight-infra-parameters:
325 refspec: 'refs/heads/{branch}'
326 artifacts: '{archive-artifacts}'
333 - opendaylight-infra-wrappers:
334 build-timeout: '{build-timeout}'
335 # Listed after to override openstack-infra-wrappers clouds.yaml definition
336 - config-file-provider:
338 - file-id: opendaylight-private-clouds-yaml
339 target: '$HOME/.config/openstack/clouds.yaml'
342 # Update image list every Monday to Friday at 11:00 UTC
343 - timed: '0 11 * * 1-5'
346 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
347 - opendaylight-infra-push-gerrit-patch:
349 gerrit-topic: 'releng-update-cloud-image-list'
350 gerrit-commit-message: 'Update cloud image list docs'
353 - email-notification:
354 email-recipients: '{email-recipients}'
355 email-prefix: '[releng]'