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:
63 templates: mininet-ovs-2.5
64 - platforms: ubuntu-14.04
65 templates: java-builder
66 - platforms: ubuntu-14.04
68 - platforms: ubuntu-14.04
69 templates: devstack-pre-pip-newton
70 - platforms: ubuntu-14.04
71 templates: devstack-pre-pip-ocata
72 - platforms: ubuntu-14.04
74 - platforms: ubuntu-14.04
76 - platforms: ubuntu-14.04
77 templates: mininet-ovs-2.5
78 - platforms: ubuntu-16.04
79 templates: java-builder
80 - platforms: ubuntu-16.04
82 - platforms: ubuntu-16.04
83 templates: devstack-pre-pip-newton
84 - platforms: ubuntu-16.04
85 templates: devstack-pre-pip-ocata
86 - platforms: ubuntu-16.04
88 - platforms: ubuntu-16.04
90 - platforms: ubuntu-16.04
92 - platforms: ubuntu-16.04
94 - platforms: ubuntu-16.04
100 name: builder-check-poms
101 node: centos7-java-builder-2c-4g
103 project-type: freestyle
106 - opendaylight-infra-properties:
107 build-days-to-keep: 14
110 - opendaylight-infra-parameters:
111 os-cloud: '{os-cloud}'
114 refspec: 'refs/heads/{branch}'
115 artifacts: '{archive-artifacts}'
118 - opendaylight-infra-wrappers:
119 build-timeout: '{build-timeout}'
125 - shell: !include-raw-escape: check-poms.sh
128 - email-notification:
129 email-recipients: '{email-recipients}'
130 email-prefix: '[releng]'
135 name: 'builder-cleanup-old-images'
136 project-type: freestyle
137 node: centos7-java-builder-2c-4g
140 - opendaylight-infra-properties:
141 build-days-to-keep: 7
144 - opendaylight-infra-parameters:
145 os-cloud: '{os-cloud}'
148 refspec: 'refs/heads/{branch}'
149 artifacts: '{archive-artifacts}'
156 - opendaylight-infra-wrappers:
157 build-timeout: '{build-timeout}'
158 # Listed after to override openstack-infra-wrappers clouds.yaml definition
159 - config-file-provider:
161 - file-id: opendaylight-private-clouds-yaml
162 target: '$HOME/.config/openstack/clouds.yaml'
165 # Cleanup images on a weekly schedule
169 - shell: !include-raw-escape:
170 - global-jjb/shell/lftools-install.sh
171 - opendaylight-infra-cleanup-old-images.sh
174 - email-notification:
175 email-recipients: '{email-recipients}'
176 email-prefix: '[releng]'
181 name: 'builder-delete-stale-nodes'
182 project-type: freestyle
183 node: centos7-java-builder-2c-4g
186 - opendaylight-infra-properties:
187 build-days-to-keep: 7
190 - opendaylight-infra-parameters:
191 os-cloud: '{os-cloud}'
194 refspec: 'refs/heads/{branch}'
195 artifacts: '{archive-artifacts}'
198 - opendaylight-infra-wrappers:
199 build-timeout: '{build-timeout}'
202 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
203 - timed: '0,30 * * * *'
206 - shell: !include-raw-escape:
207 - global-jjb/shell/lftools-install.sh
208 - opendaylight-infra-cleanup-stale-nodes.sh
211 - email-notification:
212 email-recipients: '{email-recipients}'
213 email-prefix: '[releng]'
218 name: 'builder-delete-stale-stacks'
219 project-type: freestyle
220 node: centos7-java-builder-2c-4g
223 - opendaylight-infra-properties:
224 build-days-to-keep: 7
227 - opendaylight-infra-parameters:
228 os-cloud: '{os-cloud}'
231 refspec: 'refs/heads/{branch}'
232 artifacts: '{archive-artifacts}'
235 - opendaylight-infra-wrappers:
236 build-timeout: '{build-timeout}'
239 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
240 - timed: '0,30 * * * *'
243 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
246 - email-notification:
247 email-recipients: '{email-recipients}'
248 email-prefix: '[releng]'
253 name: 'builder-update-image-list'
254 project-type: freestyle
255 node: centos7-java-builder-2c-4g
258 - opendaylight-infra-properties:
259 build-days-to-keep: 7
262 - opendaylight-infra-parameters:
266 refspec: 'refs/heads/{branch}'
267 artifacts: '{archive-artifacts}'
274 - opendaylight-infra-wrappers:
275 build-timeout: '{build-timeout}'
276 # Listed after to override openstack-infra-wrappers clouds.yaml definition
277 - config-file-provider:
279 - file-id: opendaylight-private-clouds-yaml
280 target: '$HOME/.config/openstack/clouds.yaml'
283 # Update image list every Monday to Friday at 11:00 UTC
284 - timed: '0 11 * * 1-5'
287 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
288 - opendaylight-infra-push-gerrit-patch:
290 gerrit-topic: 'releng-update-cloud-image-list'
291 gerrit-commit-message: 'Update cloud image list docs'
294 - email-notification:
295 email-recipients: '{email-recipients}'
296 email-prefix: '[releng]'