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:
62 templates: mininet-ovs-2.5
63 - platforms: ubuntu-14.04
64 templates: java-builder
65 - platforms: ubuntu-14.04
67 - platforms: ubuntu-14.04
68 templates: devstack-pre-pip-newton
69 - platforms: ubuntu-14.04
70 templates: devstack-pre-pip-ocata
71 - platforms: ubuntu-14.04
73 - platforms: ubuntu-14.04
75 - platforms: ubuntu-14.04
76 templates: mininet-ovs-2.5
77 - platforms: ubuntu-16.04
78 templates: java-builder
79 - platforms: ubuntu-16.04
81 - platforms: ubuntu-16.04
82 templates: devstack-pre-pip-newton
83 - platforms: ubuntu-16.04
84 templates: devstack-pre-pip-ocata
85 - platforms: ubuntu-16.04
87 - platforms: ubuntu-16.04
89 - platforms: ubuntu-16.04
91 - platforms: ubuntu-16.04
93 - platforms: ubuntu-16.04
99 name: builder-check-poms
100 node: centos7-java-builder-2c-4g
102 project-type: freestyle
105 - opendaylight-infra-properties:
106 build-days-to-keep: 14
109 - opendaylight-infra-parameters:
110 os-cloud: '{os-cloud}'
113 refspec: 'refs/heads/{branch}'
114 artifacts: '{archive-artifacts}'
117 - opendaylight-infra-wrappers:
118 build-timeout: '{build-timeout}'
124 - shell: !include-raw-escape: include-raw-check-poms.sh
127 - email-notification:
128 email-recipients: '{email-recipients}'
129 email-prefix: '[releng]'
134 name: 'builder-cleanup-old-images'
135 project-type: freestyle
136 node: centos7-java-builder-2c-4g
139 - opendaylight-infra-properties:
140 build-days-to-keep: 7
143 - opendaylight-infra-parameters:
144 os-cloud: '{os-cloud}'
147 refspec: 'refs/heads/{branch}'
148 artifacts: '{archive-artifacts}'
155 - opendaylight-infra-wrappers:
156 build-timeout: '{build-timeout}'
157 # Listed after to override openstack-infra-wrappers clouds.yaml definition
158 - config-file-provider:
160 - file-id: opendaylight-private-clouds-yaml
161 target: '$HOME/.config/openstack/clouds.yaml'
164 # Cleanup images on a weekly schedule
168 - shell: !include-raw-escape:
169 - global-jjb/shell/lftools-install.sh
170 - opendaylight-infra-cleanup-old-images.sh
173 - email-notification:
174 email-recipients: '{email-recipients}'
175 email-prefix: '[releng]'
180 name: 'builder-delete-stale-nodes'
181 project-type: freestyle
182 node: centos7-java-builder-2c-4g
185 - opendaylight-infra-properties:
186 build-days-to-keep: 7
189 - opendaylight-infra-parameters:
190 os-cloud: '{os-cloud}'
193 refspec: 'refs/heads/{branch}'
194 artifacts: '{archive-artifacts}'
197 - opendaylight-infra-wrappers:
198 build-timeout: '{build-timeout}'
201 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
202 - timed: '0,30 * * * *'
205 - shell: !include-raw-escape:
206 - global-jjb/shell/lftools-install.sh
207 - opendaylight-infra-cleanup-stale-nodes.sh
210 - email-notification:
211 email-recipients: '{email-recipients}'
212 email-prefix: '[releng]'
217 name: 'builder-delete-stale-stacks'
218 project-type: freestyle
219 node: centos7-java-builder-2c-4g
222 - opendaylight-infra-properties:
223 build-days-to-keep: 7
226 - opendaylight-infra-parameters:
227 os-cloud: '{os-cloud}'
230 refspec: 'refs/heads/{branch}'
231 artifacts: '{archive-artifacts}'
234 - opendaylight-infra-wrappers:
235 build-timeout: '{build-timeout}'
238 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
239 - timed: '0,30 * * * *'
242 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
245 - email-notification:
246 email-recipients: '{email-recipients}'
247 email-prefix: '[releng]'
252 name: 'builder-update-image-list'
253 project-type: freestyle
254 node: centos7-java-builder-2c-4g
257 - opendaylight-infra-properties:
258 build-days-to-keep: 7
261 - opendaylight-infra-parameters:
265 refspec: 'refs/heads/{branch}'
266 artifacts: '{archive-artifacts}'
273 - opendaylight-infra-wrappers:
274 build-timeout: '{build-timeout}'
275 # Listed after to override openstack-infra-wrappers clouds.yaml definition
276 - config-file-provider:
278 - file-id: opendaylight-private-clouds-yaml
279 target: '$HOME/.config/openstack/clouds.yaml'
282 # Update image list every Monday to Friday at 11:00 UTC
283 - timed: '0 11 * * 1-5'
286 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
287 - opendaylight-infra-push-gerrit-patch:
289 gerrit-topic: 'releng-update-cloud-image-list'
290 gerrit-commit-message: 'Update cloud image list docs'
293 - email-notification:
294 email-recipients: '{email-recipients}'
295 email-prefix: '[releng]'
299 name: 'builder-update-csit-tests'
300 node: centos7-java-builder-2c-8g
302 # builder-update-csit-tests job
304 # This job's purpose is to update csit
305 # tests to run in integration-distribution-test-{stream}
306 # by updating releng-defaults variables: csit-list-carbon,
307 # csit-list-boron, csit-list-beryllium
309 project-type: freestyle
312 - opendaylight-infra-properties:
313 build-days-to-keep: 14
316 - opendaylight-infra-parameters:
317 os-cloud: '{os-cloud}'
320 refspec: 'refs/heads/{branch}'
321 artifacts: '{archive-artifacts}'
324 - gerrit-trigger-scm:
326 choosing-strategy: 'default'
329 - opendaylight-infra-wrappers:
330 build-timeout: '{build-timeout}'
334 jobs: 'builder-jjb-merge'
338 git checkout -b auto-update-csit-jobs
339 - integration-list-jobs:
340 blacklist: '{csit-list-blacklist}'
341 search_string: "csit"
343 jobs-filename: "csit_jobs_oxygen.lst"
344 - integration-list-jobs:
345 blacklist: '{csit-list-blacklist}'
346 search_string: "csit"
348 jobs-filename: "csit_jobs_nitrogen.lst"
349 - integration-list-jobs:
350 blacklist: '{csit-list-blacklist}'
351 search_string: "csit"
353 jobs-filename: "csit_jobs_carbon.lst"
354 - integration-list-jobs:
355 blacklist: '{csit-list-blacklist}'
356 search_string: "csit"
358 jobs-filename: "csit_jobs_boron.lst"
359 - integration-replace-block-text:
360 starting-regex: "'csit-list-oxygen: >'"
361 ending-regex: "'csit-list-nitrogen: >'"
362 file-with-changes-to-insert: "'csit_jobs_oxygen.lst'"
363 file-to-change: "'jjb/releng-defaults.yaml'"
364 - integration-replace-block-text:
365 starting-regex: "'csit-list-nitrogen: >'"
366 ending-regex: "'csit-list-carbon: >'"
367 file-with-changes-to-insert: "'csit_jobs_nitrogen.lst'"
368 file-to-change: "'jjb/releng-defaults.yaml'"
369 - integration-replace-block-text:
370 starting-regex: "'csit-list-carbon: >'"
371 ending-regex: "'csit-list-boron: >'"
372 file-with-changes-to-insert: "'csit_jobs_carbon.lst'"
373 file-to-change: "'jjb/releng-defaults.yaml'"
374 - integration-replace-block-text:
375 starting-regex: "'csit-list-boron: >'"
376 ending-regex: "'# CSIT TESTS END SED MARKER'"
377 file-with-changes-to-insert: "'csit_jobs_boron.lst'"
378 file-to-change: "'jjb/releng-defaults.yaml'"
381 git add jjb/releng-defaults.yaml
382 - opendaylight-infra-push-gerrit-patch:
383 project: "releng/builder"
384 gerrit-topic: "auto-update-csit-jobs"
385 gerrit-commit-message: "Auto Update CSIT Jobs to run"
388 - email-notification:
389 email-recipients: '{email-recipients}'
390 email-prefix: '[releng]'