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
67 - platforms: ubuntu-14.04
68 templates: java-builder
69 - platforms: ubuntu-14.04
71 - platforms: ubuntu-14.04
72 templates: devstack-pre-pip-newton
73 - platforms: ubuntu-14.04
74 templates: devstack-pre-pip-ocata
75 - platforms: ubuntu-14.04
76 templates: devstack-pre-pip-pike
77 - platforms: ubuntu-14.04
79 - platforms: ubuntu-14.04
81 - platforms: ubuntu-14.04
82 templates: mininet-ovs-2.5
83 - platforms: ubuntu-16.04
84 templates: java-builder
85 - platforms: ubuntu-16.04
87 - platforms: ubuntu-16.04
88 templates: devstack-pre-pip-newton
89 - platforms: ubuntu-16.04
90 templates: devstack-pre-pip-ocata
91 - platforms: ubuntu-16.04
93 - platforms: ubuntu-16.04
95 - platforms: ubuntu-16.04
97 - platforms: ubuntu-16.04
99 - platforms: ubuntu-16.04
105 name: builder-check-poms
106 node: centos7-java-builder-2c-4g
108 project-type: freestyle
111 - opendaylight-infra-properties:
112 build-days-to-keep: 14
115 - opendaylight-infra-parameters:
116 os-cloud: '{os-cloud}'
119 refspec: 'refs/heads/{branch}'
120 artifacts: '{archive-artifacts}'
123 - opendaylight-infra-wrappers:
124 build-timeout: '{build-timeout}'
130 - shell: !include-raw-escape: check-poms.sh
133 - email-notification:
134 email-recipients: '{email-recipients}'
135 email-prefix: '[releng]'
140 name: 'builder-verify-image-visibility'
141 project-type: freestyle
142 node: centos7-java-builder-2c-4g
144 os-cloud: 'odlpriv-sandbox'
147 - opendaylight-infra-properties:
148 build-days-to-keep: 7
151 - opendaylight-infra-parameters:
152 os-cloud: '{os-cloud}'
155 refspec: 'refs/heads/{branch}'
156 artifacts: '{archive-artifacts}'
163 - opendaylight-infra-wrappers:
164 build-timeout: '{build-timeout}'
165 # Listed after to override openstack-infra-wrappers clouds.yaml definition
166 - config-file-provider:
168 - file-id: opendaylight-private-clouds-yaml
169 target: '$HOME/.config/openstack/clouds.yaml'
172 # Check images visibility on a daily schedule
176 - shell: !include-raw-escape:
177 - opendaylight-infra-check-image-visibility.sh
180 - email-notification:
181 email-recipients: '{email-recipients}'
182 email-prefix: '[releng]'
187 name: 'builder-cleanup-old-images'
188 project-type: freestyle
189 node: centos7-java-builder-2c-4g
192 - opendaylight-infra-properties:
193 build-days-to-keep: 7
196 - opendaylight-infra-parameters:
197 os-cloud: '{os-cloud}'
200 refspec: 'refs/heads/{branch}'
201 artifacts: '{archive-artifacts}'
208 - opendaylight-infra-wrappers:
209 build-timeout: '{build-timeout}'
210 # Listed after to override openstack-infra-wrappers clouds.yaml definition
211 - config-file-provider:
213 - file-id: opendaylight-private-clouds-yaml
214 target: '$HOME/.config/openstack/clouds.yaml'
217 # Cleanup images on a weekly schedule
221 - shell: !include-raw-escape:
222 - global-jjb/shell/lftools-install.sh
223 - opendaylight-infra-cleanup-old-images.sh
226 - email-notification:
227 email-recipients: '{email-recipients}'
228 email-prefix: '[releng]'
233 name: 'builder-delete-stale-nodes'
234 project-type: freestyle
235 node: centos7-java-builder-2c-4g
238 - opendaylight-infra-properties:
239 build-days-to-keep: 7
242 - opendaylight-infra-parameters:
243 os-cloud: '{os-cloud}'
246 refspec: 'refs/heads/{branch}'
247 artifacts: '{archive-artifacts}'
250 - opendaylight-infra-wrappers:
251 build-timeout: '{build-timeout}'
254 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
255 - timed: '0,30 * * * *'
258 - shell: !include-raw-escape:
259 - global-jjb/shell/lftools-install.sh
260 - opendaylight-infra-cleanup-stale-nodes.sh
263 - email-notification:
264 email-recipients: '{email-recipients}'
265 email-prefix: '[releng]'
270 name: 'builder-delete-stale-stacks'
271 project-type: freestyle
272 node: centos7-java-builder-2c-4g
275 - opendaylight-infra-properties:
276 build-days-to-keep: 7
279 - opendaylight-infra-parameters:
280 os-cloud: '{os-cloud}'
283 refspec: 'refs/heads/{branch}'
284 artifacts: '{archive-artifacts}'
287 - opendaylight-infra-wrappers:
288 build-timeout: '{build-timeout}'
291 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
292 - timed: '0,30 * * * *'
295 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
298 - email-notification:
299 email-recipients: '{email-recipients}'
300 email-prefix: '[releng]'
305 name: 'builder-update-image-list'
306 project-type: freestyle
307 node: centos7-java-builder-2c-4g
310 - opendaylight-infra-properties:
311 build-days-to-keep: 7
314 - opendaylight-infra-parameters:
318 refspec: 'refs/heads/{branch}'
319 artifacts: '{archive-artifacts}'
326 - opendaylight-infra-wrappers:
327 build-timeout: '{build-timeout}'
328 # Listed after to override openstack-infra-wrappers clouds.yaml definition
329 - config-file-provider:
331 - file-id: opendaylight-private-clouds-yaml
332 target: '$HOME/.config/openstack/clouds.yaml'
335 # Update image list every Monday to Friday at 11:00 UTC
336 - timed: '0 11 * * 1-5'
339 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
340 - opendaylight-infra-push-gerrit-patch:
342 gerrit-topic: 'releng-update-cloud-image-list'
343 gerrit-commit-message: 'Update cloud image list docs'
346 - email-notification:
347 email-recipients: '{email-recipients}'
348 email-prefix: '[releng]'