5 - '{project-name}-ci-jobs'
6 - '{project-name}-verify-tox-{stream}'
8 - 'builder-verify-packer'
9 - 'builder-merge-packer-{platforms}-{templates}'
11 - 'builder-cleanup-old-images'
12 - 'builder-delete-stale-stacks'
13 # Automation for docs and jobs
14 - 'builder-update-csit-tests'
15 - 'builder-update-image-list'
24 - devstack-pre-pip-newton
38 templates: mininet-ovs-2.5
39 - platforms: ubuntu-14.04
40 templates: java-builder
41 - platforms: ubuntu-14.04
43 - platforms: ubuntu-14.04
44 templates: devstack-pre-pip-newton
45 - platforms: ubuntu-14.04
47 - platforms: ubuntu-14.04
49 - platforms: ubuntu-14.04
50 templates: mininet-ovs-2.5
51 - platforms: ubuntu-16.04
52 templates: java-builder
53 - platforms: ubuntu-16.04
55 - platforms: ubuntu-16.04
56 templates: devstack-pre-pip-newton
57 - platforms: ubuntu-16.04
59 - platforms: ubuntu-16.04
61 - platforms: ubuntu-16.04
63 - platforms: ubuntu-16.04
67 project-type: freestyle
68 archive-artifacts: '**/*.log'
71 # The following values are only specified here
72 # so that code blocks look similar to other projects.
73 project: 'releng/builder'
77 build-node: centos7-java-builder-2c-4g
80 name: builder-check-poms
81 node: centos7-java-builder-2c-4g
83 project-type: freestyle
86 - opendaylight-infra-properties:
87 build-days-to-keep: 14
90 - opendaylight-infra-parameters:
91 os-cloud: '{os-cloud}'
94 refspec: 'refs/heads/{branch}'
95 artifacts: '{archive-artifacts}'
98 - opendaylight-infra-wrappers:
99 build-timeout: '{build-timeout}'
105 - shell: !include-raw-escape: include-raw-check-poms.sh
108 - email-notification:
109 email-recipients: '{email-recipients}'
110 email-prefix: '[releng]'
111 - opendaylight-infra-shiplogs:
112 maven-version: 'mvn33'
115 name: 'builder-delete-stale-stacks'
116 project-type: freestyle
117 node: centos7-java-builder-2c-4g
120 - opendaylight-infra-properties:
121 build-days-to-keep: 7
124 - opendaylight-infra-parameters:
125 os-cloud: '{os-cloud}'
128 refspec: 'refs/heads/{branch}'
129 artifacts: '{archive-artifacts}'
132 - opendaylight-infra-wrappers:
133 build-timeout: '{build-timeout}'
136 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
137 - timed: '0,30 * * * *'
140 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
143 - email-notification:
144 email-recipients: '{email-recipients}'
145 email-prefix: '[releng]'
146 - opendaylight-infra-shiplogs:
147 maven-version: 'mvn33'
150 name: 'builder-cleanup-old-images'
151 project-type: freestyle
152 node: centos7-java-builder-2c-4g
155 - opendaylight-infra-properties:
156 build-days-to-keep: 7
159 - opendaylight-infra-parameters:
160 os-cloud: '{os-cloud}'
163 refspec: 'refs/heads/{branch}'
164 artifacts: '{archive-artifacts}'
171 - opendaylight-infra-wrappers:
172 build-timeout: '{build-timeout}'
173 # Listed after to override openstack-infra-wrappers clouds.yaml definition
174 - config-file-provider:
176 - file-id: opendaylight-private-clouds-yaml
177 target: '$HOME/.config/openstack/clouds.yaml'
180 # Cleanup images on a weekly schedule
184 - shell: !include-raw-escape:
185 - global-jjb/shell/lftools-install.sh
186 - opendaylight-infra-cleanup-old-images.sh
189 - email-notification:
190 email-recipients: '{email-recipients}'
191 email-prefix: '[releng]'
192 - opendaylight-infra-shiplogs:
193 maven-version: 'mvn33'
196 name: 'builder-update-image-list'
197 project-type: freestyle
198 node: centos7-java-builder-2c-4g
201 - opendaylight-infra-properties:
202 build-days-to-keep: 7
205 - opendaylight-infra-parameters:
209 refspec: 'refs/heads/{branch}'
210 artifacts: '{archive-artifacts}'
217 - opendaylight-infra-wrappers:
218 build-timeout: '{build-timeout}'
219 # Listed after to override openstack-infra-wrappers clouds.yaml definition
220 - config-file-provider:
222 - file-id: opendaylight-private-clouds-yaml
223 target: '$HOME/.config/openstack/clouds.yaml'
226 # Update image list every Monday to Friday at 11:00 UTC
227 - timed: '0 11 * * 1-5'
230 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
231 - opendaylight-infra-push-gerrit-patch:
233 gerrit-topic: 'releng-update-cloud-image-list'
234 gerrit-commit-message: 'Update cloud image list docs'
237 - email-notification:
238 email-recipients: '{email-recipients}'
239 email-prefix: '[releng]'
240 - opendaylight-infra-shiplogs:
241 maven-version: 'mvn33'
244 name: 'builder-verify-packer'
245 project-type: freestyle
246 node: centos7-java-builder-2c-4g
250 - opendaylight-infra-properties:
251 build-days-to-keep: 14
254 - opendaylight-infra-parameters:
255 os-cloud: '{os-cloud}'
258 refspec: 'refs/heads/{branch}'
259 artifacts: '{archive-artifacts}'
262 - gerrit-trigger-scm:
263 refspec: '$GERRIT_REFSPEC'
264 choosing-strategy: 'gerrit'
267 - opendaylight-infra-wrappers:
268 build-timeout: '{build-timeout}'
271 - gerrit-trigger-patch-submitted:
272 server: '{server-name}'
281 - email-notification:
282 email-recipients: '{email-recipients}'
283 email-prefix: '[{project}]'
284 - opendaylight-infra-shiplogs:
285 maven-version: 'mvn33'
288 name: 'builder-merge-packer-{platforms}-{templates}'
289 project-type: freestyle
290 node: centos7-java-builder-2c-4g
293 - opendaylight-infra-properties:
294 build-days-to-keep: 14
297 - opendaylight-infra-parameters:
298 os-cloud: '{os-cloud}'
301 refspec: 'refs/heads/{branch}'
302 artifacts: '{archive-artifacts}'
305 - gerrit-trigger-scm:
306 refspec: '$GERRIT_REFSPEC'
309 choosing-strategy: 'default'
312 - opendaylight-infra-wrappers:
313 build-timeout: '{build-timeout}'
316 - timed: '00 10 1 * *'
318 server-name: '{server-name}'
320 - change-merged-event
321 - comment-added-contains-event:
322 comment-contains-value: 'remerge'
324 - project-compare-type: 'ANT'
325 project-pattern: 'releng/builder'
327 - branch-compare-type: 'ANT'
328 branch-pattern: '**/{branch}'
331 pattern: 'packer/vars/{platforms}.json'
333 pattern: 'packer/templates/{templates}.json'
335 pattern: 'packer/provision/{templates}.sh'
337 pattern: 'packer/provision/system_reseal.sh'
339 pattern: 'packer/provision/rh-user_data.sh'
341 pattern: 'packer/provision/devstack-pre-pip.sh'
343 pattern: 'packer/provision/baseline.sh'
348 platform: '{platforms}'
349 template: '{templates}'
352 - email-notification:
353 email-recipients: '{email-recipients}'
354 email-prefix: '[{project}]'
355 - opendaylight-infra-shiplogs:
356 maven-version: 'mvn33'
359 name: 'builder-update-csit-tests'
360 node: centos7-java-builder-2c-8g
362 # builder-update-csit-tests job
364 # This job's purpose is to update csit
365 # tests to run in integration-distribution-test-{stream}
366 # by updating releng-defaults variables: csit-list-carbon,
367 # csit-list-boron, csit-list-beryllium
369 project-type: freestyle
372 - opendaylight-infra-properties:
373 build-days-to-keep: 14
376 - opendaylight-infra-parameters:
377 os-cloud: '{os-cloud}'
380 refspec: 'refs/heads/{branch}'
381 artifacts: '{archive-artifacts}'
384 - gerrit-trigger-scm:
386 choosing-strategy: 'default'
389 - opendaylight-infra-wrappers:
390 build-timeout: '{build-timeout}'
394 jobs: 'builder-jjb-merge'
398 git checkout -b auto-update-csit-jobs
399 - integration-list-jobs:
400 blacklist: '{csit-list-blacklist}'
401 search_string: "csit"
403 jobs-filename: "csit_jobs_nitrogen.lst"
404 - integration-list-jobs:
405 blacklist: '{csit-list-blacklist}'
406 search_string: "csit"
408 jobs-filename: "csit_jobs_carbon.lst"
409 - integration-list-jobs:
410 blacklist: '{csit-list-blacklist}'
411 search_string: "csit"
413 jobs-filename: "csit_jobs_boron.lst"
414 - integration-list-jobs:
415 blacklist: '{csit-list-blacklist}'
416 search_string: "csit"
418 jobs-filename: "csit_jobs_beryllium.lst"
419 - integration-replace-block-text:
420 starting-regex: "'csit-list-nitrogen: >'"
421 ending-regex: "'csit-list-carbon: >'"
422 file-with-changes-to-insert: "'csit_jobs_nitrogen.lst'"
423 file-to-change: "'jjb/releng-defaults.yaml'"
424 - integration-replace-block-text:
425 starting-regex: "'csit-list-carbon: >'"
426 ending-regex: "'csit-list-boron: >'"
427 file-with-changes-to-insert: "'csit_jobs_carbon.lst'"
428 file-to-change: "'jjb/releng-defaults.yaml'"
429 - integration-replace-block-text:
430 starting-regex: "'csit-list-boron: >'"
431 ending-regex: "'csit-list-beryllium: >'"
432 file-with-changes-to-insert: "'csit_jobs_boron.lst'"
433 file-to-change: "'jjb/releng-defaults.yaml'"
434 - integration-replace-block-text:
435 starting-regex: "'csit-list-beryllium: >'"
436 ending-regex: "'# CSIT TESTS END SED MARKER'"
437 file-with-changes-to-insert: "'csit_jobs_beryllium.lst'"
438 file-to-change: "'jjb/releng-defaults.yaml'"
441 git add jjb/releng-defaults.yaml
442 - opendaylight-infra-push-gerrit-patch:
443 project: "releng/builder"
444 gerrit-topic: "auto-update-csit-jobs"
445 gerrit-commit-message: "Auto Update CSIT Jobs to run"
448 - email-notification:
449 email-recipients: '{email-recipients}'
450 email-prefix: '[releng]'
451 - opendaylight-infra-shiplogs:
452 maven-version: 'mvn33'