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-csit-tests'
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:
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: include-raw-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]'
298 name: 'builder-update-csit-tests'
299 node: centos7-java-builder-2c-8g
301 # builder-update-csit-tests job
303 # This job's purpose is to update csit
304 # tests to run in integration-distribution-test-{stream}
305 # by updating releng-defaults variables: csit-list-carbon,
306 # csit-list-boron, csit-list-beryllium
308 project-type: freestyle
311 - opendaylight-infra-properties:
312 build-days-to-keep: 14
315 - opendaylight-infra-parameters:
316 os-cloud: '{os-cloud}'
319 refspec: 'refs/heads/{branch}'
320 artifacts: '{archive-artifacts}'
323 - gerrit-trigger-scm:
325 choosing-strategy: 'default'
328 - opendaylight-infra-wrappers:
329 build-timeout: '{build-timeout}'
333 jobs: 'builder-jjb-merge'
337 git checkout -b auto-update-csit-jobs
338 - integration-list-jobs:
339 blacklist: '{csit-list-blacklist}'
340 search_string: "csit"
342 jobs-filename: "csit_jobs_nitrogen.lst"
343 - integration-list-jobs:
344 blacklist: '{csit-list-blacklist}'
345 search_string: "csit"
347 jobs-filename: "csit_jobs_carbon.lst"
348 - integration-list-jobs:
349 blacklist: '{csit-list-blacklist}'
350 search_string: "csit"
352 jobs-filename: "csit_jobs_boron.lst"
353 - integration-replace-block-text:
354 starting-regex: "'csit-list-nitrogen: >'"
355 ending-regex: "'csit-list-carbon: >'"
356 file-with-changes-to-insert: "'csit_jobs_nitrogen.lst'"
357 file-to-change: "'jjb/releng-defaults.yaml'"
358 - integration-replace-block-text:
359 starting-regex: "'csit-list-carbon: >'"
360 ending-regex: "'csit-list-boron: >'"
361 file-with-changes-to-insert: "'csit_jobs_carbon.lst'"
362 file-to-change: "'jjb/releng-defaults.yaml'"
363 - integration-replace-block-text:
364 starting-regex: "'csit-list-boron: >'"
365 ending-regex: "'# CSIT TESTS END SED MARKER'"
366 file-with-changes-to-insert: "'csit_jobs_boron.lst'"
367 file-to-change: "'jjb/releng-defaults.yaml'"
370 git add jjb/releng-defaults.yaml
371 - opendaylight-infra-push-gerrit-patch:
372 project: "releng/builder"
373 gerrit-topic: "auto-update-csit-jobs"
374 gerrit-commit-message: "Auto Update CSIT Jobs to run"
377 - email-notification:
378 email-recipients: '{email-recipients}'
379 email-prefix: '[releng]'