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:
60 templates: mininet-ovs-2.5
61 - platforms: ubuntu-14.04
62 templates: java-builder
63 - platforms: ubuntu-14.04
65 - platforms: ubuntu-14.04
66 templates: devstack-pre-pip-newton
67 - platforms: ubuntu-14.04
68 templates: devstack-pre-pip-ocata
69 - platforms: ubuntu-14.04
71 - platforms: ubuntu-14.04
73 - platforms: ubuntu-14.04
74 templates: mininet-ovs-2.5
75 - platforms: ubuntu-16.04
76 templates: java-builder
77 - platforms: ubuntu-16.04
79 - platforms: ubuntu-16.04
80 templates: devstack-pre-pip-newton
81 - platforms: ubuntu-16.04
82 templates: devstack-pre-pip-ocata
83 - platforms: ubuntu-16.04
85 - platforms: ubuntu-16.04
87 - platforms: ubuntu-16.04
89 - platforms: ubuntu-16.04
91 - platforms: ubuntu-16.04
97 name: builder-check-poms
98 node: centos7-java-builder-2c-4g
100 project-type: freestyle
103 - opendaylight-infra-properties:
104 build-days-to-keep: 14
107 - opendaylight-infra-parameters:
108 os-cloud: '{os-cloud}'
111 refspec: 'refs/heads/{branch}'
112 artifacts: '{archive-artifacts}'
115 - opendaylight-infra-wrappers:
116 build-timeout: '{build-timeout}'
122 - shell: !include-raw-escape: include-raw-check-poms.sh
125 - email-notification:
126 email-recipients: '{email-recipients}'
127 email-prefix: '[releng]'
132 name: 'builder-cleanup-old-images'
133 project-type: freestyle
134 node: centos7-java-builder-2c-4g
137 - opendaylight-infra-properties:
138 build-days-to-keep: 7
141 - opendaylight-infra-parameters:
142 os-cloud: '{os-cloud}'
145 refspec: 'refs/heads/{branch}'
146 artifacts: '{archive-artifacts}'
153 - opendaylight-infra-wrappers:
154 build-timeout: '{build-timeout}'
155 # Listed after to override openstack-infra-wrappers clouds.yaml definition
156 - config-file-provider:
158 - file-id: opendaylight-private-clouds-yaml
159 target: '$HOME/.config/openstack/clouds.yaml'
162 # Cleanup images on a weekly schedule
166 - shell: !include-raw-escape:
167 - global-jjb/shell/lftools-install.sh
168 - opendaylight-infra-cleanup-old-images.sh
171 - email-notification:
172 email-recipients: '{email-recipients}'
173 email-prefix: '[releng]'
178 name: 'builder-delete-stale-nodes'
179 project-type: freestyle
180 node: centos7-java-builder-2c-4g
183 - opendaylight-infra-properties:
184 build-days-to-keep: 7
187 - opendaylight-infra-parameters:
188 os-cloud: '{os-cloud}'
191 refspec: 'refs/heads/{branch}'
192 artifacts: '{archive-artifacts}'
195 - opendaylight-infra-wrappers:
196 build-timeout: '{build-timeout}'
199 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
200 - timed: '0,30 * * * *'
203 - shell: !include-raw-escape:
204 - global-jjb/shell/lftools-install.sh
205 - opendaylight-infra-cleanup-stale-nodes.sh
208 - email-notification:
209 email-recipients: '{email-recipients}'
210 email-prefix: '[releng]'
215 name: 'builder-delete-stale-stacks'
216 project-type: freestyle
217 node: centos7-java-builder-2c-4g
220 - opendaylight-infra-properties:
221 build-days-to-keep: 7
224 - opendaylight-infra-parameters:
225 os-cloud: '{os-cloud}'
228 refspec: 'refs/heads/{branch}'
229 artifacts: '{archive-artifacts}'
232 - opendaylight-infra-wrappers:
233 build-timeout: '{build-timeout}'
236 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
237 - timed: '0,30 * * * *'
240 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
243 - email-notification:
244 email-recipients: '{email-recipients}'
245 email-prefix: '[releng]'
250 name: 'builder-update-image-list'
251 project-type: freestyle
252 node: centos7-java-builder-2c-4g
255 - opendaylight-infra-properties:
256 build-days-to-keep: 7
259 - opendaylight-infra-parameters:
263 refspec: 'refs/heads/{branch}'
264 artifacts: '{archive-artifacts}'
271 - opendaylight-infra-wrappers:
272 build-timeout: '{build-timeout}'
273 # Listed after to override openstack-infra-wrappers clouds.yaml definition
274 - config-file-provider:
276 - file-id: opendaylight-private-clouds-yaml
277 target: '$HOME/.config/openstack/clouds.yaml'
280 # Update image list every Monday to Friday at 11:00 UTC
281 - timed: '0 11 * * 1-5'
284 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
285 - opendaylight-infra-push-gerrit-patch:
287 gerrit-topic: 'releng-update-cloud-image-list'
288 gerrit-commit-message: 'Update cloud image list docs'
291 - email-notification:
292 email-recipients: '{email-recipients}'
293 email-prefix: '[releng]'
297 name: 'builder-update-csit-tests'
298 node: centos7-java-builder-2c-8g
300 # builder-update-csit-tests job
302 # This job's purpose is to update csit
303 # tests to run in integration-distribution-test-{stream}
304 # by updating releng-defaults variables: csit-list-carbon,
305 # csit-list-boron, csit-list-beryllium
307 project-type: freestyle
310 - opendaylight-infra-properties:
311 build-days-to-keep: 14
314 - opendaylight-infra-parameters:
315 os-cloud: '{os-cloud}'
318 refspec: 'refs/heads/{branch}'
319 artifacts: '{archive-artifacts}'
322 - gerrit-trigger-scm:
324 choosing-strategy: 'default'
327 - opendaylight-infra-wrappers:
328 build-timeout: '{build-timeout}'
332 jobs: 'builder-jjb-merge'
336 git checkout -b auto-update-csit-jobs
337 - integration-list-jobs:
338 blacklist: '{csit-list-blacklist}'
339 search_string: "csit"
341 jobs-filename: "csit_jobs_nitrogen.lst"
342 - integration-list-jobs:
343 blacklist: '{csit-list-blacklist}'
344 search_string: "csit"
346 jobs-filename: "csit_jobs_carbon.lst"
347 - integration-list-jobs:
348 blacklist: '{csit-list-blacklist}'
349 search_string: "csit"
351 jobs-filename: "csit_jobs_boron.lst"
352 - integration-replace-block-text:
353 starting-regex: "'csit-list-nitrogen: >'"
354 ending-regex: "'csit-list-carbon: >'"
355 file-with-changes-to-insert: "'csit_jobs_nitrogen.lst'"
356 file-to-change: "'jjb/releng-defaults.yaml'"
357 - integration-replace-block-text:
358 starting-regex: "'csit-list-carbon: >'"
359 ending-regex: "'csit-list-boron: >'"
360 file-with-changes-to-insert: "'csit_jobs_carbon.lst'"
361 file-to-change: "'jjb/releng-defaults.yaml'"
362 - integration-replace-block-text:
363 starting-regex: "'csit-list-boron: >'"
364 ending-regex: "'# CSIT TESTS END SED MARKER'"
365 file-with-changes-to-insert: "'csit_jobs_boron.lst'"
366 file-to-change: "'jjb/releng-defaults.yaml'"
369 git add jjb/releng-defaults.yaml
370 - opendaylight-infra-push-gerrit-patch:
371 project: "releng/builder"
372 gerrit-topic: "auto-update-csit-jobs"
373 gerrit-commit-message: "Auto Update CSIT Jobs to run"
376 - email-notification:
377 email-recipients: '{email-recipients}'
378 email-prefix: '[releng]'