5 - '{project-name}-ci-jobs'
6 - '{project-name}-verify-tox-{stream}'
9 - 'builder-cleanup-old-images'
10 - 'builder-delete-stale-nodes'
11 - 'builder-delete-stale-stacks'
12 # Automation for docs and jobs
13 - 'builder-update-image-list'
15 # The following values are only specified here
16 # so that code blocks look similar to other projects.
17 project: 'releng/builder'
21 build-node: centos7-java-builder-2c-4g
22 archive-artifacts: '**/*.log'
27 # packer jobs templates are defined in global-jjb
29 - '{project-name}-packer-jobs'
30 project: 'releng/builder'
33 archive-artifacts: '**/*.log'
42 - devstack-pre-pip-newton:
44 - devstack-pre-pip-ocata:
61 templates: mininet-ovs-2.5
62 - platforms: ubuntu-14.04
63 templates: java-builder
64 - platforms: ubuntu-14.04
66 - platforms: ubuntu-14.04
67 templates: devstack-pre-pip-newton
68 - platforms: ubuntu-14.04
69 templates: devstack-pre-pip-ocata
70 - platforms: ubuntu-14.04
72 - platforms: ubuntu-14.04
74 - platforms: ubuntu-14.04
75 templates: mininet-ovs-2.5
76 - platforms: ubuntu-16.04
77 templates: java-builder
78 - platforms: ubuntu-16.04
80 - platforms: ubuntu-16.04
81 templates: devstack-pre-pip-newton
82 - platforms: ubuntu-16.04
83 templates: devstack-pre-pip-ocata
84 - platforms: ubuntu-16.04
86 - platforms: ubuntu-16.04
88 - platforms: ubuntu-16.04
90 - platforms: ubuntu-16.04
92 - platforms: ubuntu-16.04
98 name: builder-check-poms
99 node: centos7-java-builder-2c-4g
101 project-type: freestyle
104 - opendaylight-infra-properties:
105 build-days-to-keep: 14
108 - opendaylight-infra-parameters:
109 os-cloud: '{os-cloud}'
112 refspec: 'refs/heads/{branch}'
113 artifacts: '{archive-artifacts}'
116 - opendaylight-infra-wrappers:
117 build-timeout: '{build-timeout}'
123 - shell: !include-raw-escape: check-poms.sh
126 - email-notification:
127 email-recipients: '{email-recipients}'
128 email-prefix: '[releng]'
133 name: 'builder-cleanup-old-images'
134 project-type: freestyle
135 node: centos7-java-builder-2c-4g
138 - opendaylight-infra-properties:
139 build-days-to-keep: 7
142 - opendaylight-infra-parameters:
143 os-cloud: '{os-cloud}'
146 refspec: 'refs/heads/{branch}'
147 artifacts: '{archive-artifacts}'
154 - opendaylight-infra-wrappers:
155 build-timeout: '{build-timeout}'
156 # Listed after to override openstack-infra-wrappers clouds.yaml definition
157 - config-file-provider:
159 - file-id: opendaylight-private-clouds-yaml
160 target: '$HOME/.config/openstack/clouds.yaml'
163 # Cleanup images on a weekly schedule
167 - shell: !include-raw-escape:
168 - global-jjb/shell/lftools-install.sh
169 - opendaylight-infra-cleanup-old-images.sh
172 - email-notification:
173 email-recipients: '{email-recipients}'
174 email-prefix: '[releng]'
179 name: 'builder-delete-stale-nodes'
180 project-type: freestyle
181 node: centos7-java-builder-2c-4g
184 - opendaylight-infra-properties:
185 build-days-to-keep: 7
188 - opendaylight-infra-parameters:
189 os-cloud: '{os-cloud}'
192 refspec: 'refs/heads/{branch}'
193 artifacts: '{archive-artifacts}'
196 - opendaylight-infra-wrappers:
197 build-timeout: '{build-timeout}'
200 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
201 - timed: '0,30 * * * *'
204 - shell: !include-raw-escape:
205 - global-jjb/shell/lftools-install.sh
206 - opendaylight-infra-cleanup-stale-nodes.sh
209 - email-notification:
210 email-recipients: '{email-recipients}'
211 email-prefix: '[releng]'
216 name: 'builder-delete-stale-stacks'
217 project-type: freestyle
218 node: centos7-java-builder-2c-4g
221 - opendaylight-infra-properties:
222 build-days-to-keep: 7
225 - opendaylight-infra-parameters:
226 os-cloud: '{os-cloud}'
229 refspec: 'refs/heads/{branch}'
230 artifacts: '{archive-artifacts}'
233 - opendaylight-infra-wrappers:
234 build-timeout: '{build-timeout}'
237 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
238 - timed: '0,30 * * * *'
241 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
244 - email-notification:
245 email-recipients: '{email-recipients}'
246 email-prefix: '[releng]'
251 name: 'builder-update-image-list'
252 project-type: freestyle
253 node: centos7-java-builder-2c-4g
256 - opendaylight-infra-properties:
257 build-days-to-keep: 7
260 - opendaylight-infra-parameters:
264 refspec: 'refs/heads/{branch}'
265 artifacts: '{archive-artifacts}'
272 - opendaylight-infra-wrappers:
273 build-timeout: '{build-timeout}'
274 # Listed after to override openstack-infra-wrappers clouds.yaml definition
275 - config-file-provider:
277 - file-id: opendaylight-private-clouds-yaml
278 target: '$HOME/.config/openstack/clouds.yaml'
281 # Update image list every Monday to Friday at 11:00 UTC
282 - timed: '0 11 * * 1-5'
285 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
286 - opendaylight-infra-push-gerrit-patch:
288 gerrit-topic: 'releng-update-cloud-image-list'
289 gerrit-commit-message: 'Update cloud image list docs'
292 - email-notification:
293 email-recipients: '{email-recipients}'
294 email-prefix: '[releng]'