5 - '{project-name}-ci-jobs'
6 - '{project-name}-verify-tox-{stream}'
9 - 'builder-verify-packer'
10 - 'builder-merge-packer-{platforms}-{templates}'
12 - 'builder-cleanup-old-images'
13 - 'builder-delete-stale-nodes'
14 - 'builder-delete-stale-stacks'
15 # Automation for docs and jobs
16 - 'builder-update-csit-tests'
17 - 'builder-update-image-list'
26 - devstack-pre-pip-newton
40 templates: mininet-ovs-2.5
41 - platforms: ubuntu-14.04
42 templates: java-builder
43 - platforms: ubuntu-14.04
45 - platforms: ubuntu-14.04
46 templates: devstack-pre-pip-newton
47 - platforms: ubuntu-14.04
49 - platforms: ubuntu-14.04
51 - platforms: ubuntu-14.04
52 templates: mininet-ovs-2.5
53 - platforms: ubuntu-16.04
54 templates: java-builder
55 - platforms: ubuntu-16.04
57 - platforms: ubuntu-16.04
58 templates: devstack-pre-pip-newton
59 - platforms: ubuntu-16.04
61 - platforms: ubuntu-16.04
63 - platforms: ubuntu-16.04
65 - platforms: ubuntu-16.04
69 project-type: freestyle
70 archive-artifacts: '**/*.log'
73 # The following values are only specified here
74 # so that code blocks look similar to other projects.
75 project: 'releng/builder'
79 build-node: centos7-java-builder-2c-4g
82 name: builder-check-poms
83 node: centos7-java-builder-2c-4g
85 project-type: freestyle
88 - opendaylight-infra-properties:
89 build-days-to-keep: 14
92 - opendaylight-infra-parameters:
93 os-cloud: '{os-cloud}'
96 refspec: 'refs/heads/{branch}'
97 artifacts: '{archive-artifacts}'
100 - opendaylight-infra-wrappers:
101 build-timeout: '{build-timeout}'
107 - shell: !include-raw-escape: include-raw-check-poms.sh
110 - email-notification:
111 email-recipients: '{email-recipients}'
112 email-prefix: '[releng]'
117 name: 'builder-cleanup-old-images'
118 project-type: freestyle
119 node: centos7-java-builder-2c-4g
122 - opendaylight-infra-properties:
123 build-days-to-keep: 7
126 - opendaylight-infra-parameters:
127 os-cloud: '{os-cloud}'
130 refspec: 'refs/heads/{branch}'
131 artifacts: '{archive-artifacts}'
138 - opendaylight-infra-wrappers:
139 build-timeout: '{build-timeout}'
140 # Listed after to override openstack-infra-wrappers clouds.yaml definition
141 - config-file-provider:
143 - file-id: opendaylight-private-clouds-yaml
144 target: '$HOME/.config/openstack/clouds.yaml'
147 # Cleanup images on a weekly schedule
151 - shell: !include-raw-escape:
152 - global-jjb/shell/lftools-install.sh
153 - opendaylight-infra-cleanup-old-images.sh
156 - email-notification:
157 email-recipients: '{email-recipients}'
158 email-prefix: '[releng]'
163 name: 'builder-delete-stale-nodes'
164 project-type: freestyle
165 node: centos7-java-builder-2c-4g
168 - opendaylight-infra-properties:
169 build-days-to-keep: 7
172 - opendaylight-infra-parameters:
173 os-cloud: '{os-cloud}'
176 refspec: 'refs/heads/{branch}'
177 artifacts: '{archive-artifacts}'
180 - opendaylight-infra-wrappers:
181 build-timeout: '{build-timeout}'
184 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
185 - timed: '0,30 * * * *'
188 - shell: !include-raw-escape:
189 - global-jjb/shell/lftools-install.sh
190 - opendaylight-infra-cleanup-stale-nodes.sh
193 - email-notification:
194 email-recipients: '{email-recipients}'
195 email-prefix: '[releng]'
200 name: 'builder-delete-stale-stacks'
201 project-type: freestyle
202 node: centos7-java-builder-2c-4g
205 - opendaylight-infra-properties:
206 build-days-to-keep: 7
209 - opendaylight-infra-parameters:
210 os-cloud: '{os-cloud}'
213 refspec: 'refs/heads/{branch}'
214 artifacts: '{archive-artifacts}'
217 - opendaylight-infra-wrappers:
218 build-timeout: '{build-timeout}'
221 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
222 - timed: '0,30 * * * *'
225 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
228 - email-notification:
229 email-recipients: '{email-recipients}'
230 email-prefix: '[releng]'
235 name: 'builder-update-image-list'
236 project-type: freestyle
237 node: centos7-java-builder-2c-4g
240 - opendaylight-infra-properties:
241 build-days-to-keep: 7
244 - opendaylight-infra-parameters:
248 refspec: 'refs/heads/{branch}'
249 artifacts: '{archive-artifacts}'
256 - opendaylight-infra-wrappers:
257 build-timeout: '{build-timeout}'
258 # Listed after to override openstack-infra-wrappers clouds.yaml definition
259 - config-file-provider:
261 - file-id: opendaylight-private-clouds-yaml
262 target: '$HOME/.config/openstack/clouds.yaml'
265 # Update image list every Monday to Friday at 11:00 UTC
266 - timed: '0 11 * * 1-5'
269 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
270 - opendaylight-infra-push-gerrit-patch:
272 gerrit-topic: 'releng-update-cloud-image-list'
273 gerrit-commit-message: 'Update cloud image list docs'
276 - email-notification:
277 email-recipients: '{email-recipients}'
278 email-prefix: '[releng]'
282 name: 'builder-verify-packer'
283 project-type: freestyle
284 node: centos7-java-builder-2c-4g
288 - opendaylight-infra-properties:
289 build-days-to-keep: 14
292 - opendaylight-infra-parameters:
293 os-cloud: '{os-cloud}'
296 refspec: 'refs/heads/{branch}'
297 artifacts: '{archive-artifacts}'
300 - gerrit-trigger-scm:
301 refspec: '$GERRIT_REFSPEC'
302 choosing-strategy: 'gerrit'
305 - opendaylight-infra-wrappers:
306 build-timeout: '{build-timeout}'
309 - gerrit-trigger-patch-submitted:
310 server: '{server-name}'
319 - email-notification:
320 email-recipients: '{email-recipients}'
321 email-prefix: '[{project}]'
325 name: 'builder-merge-packer-{platforms}-{templates}'
326 project-type: freestyle
327 node: centos7-java-builder-2c-4g
330 - opendaylight-infra-properties:
331 build-days-to-keep: 14
334 - opendaylight-infra-parameters:
335 os-cloud: '{os-cloud}'
338 refspec: 'refs/heads/{branch}'
339 artifacts: '{archive-artifacts}'
342 - gerrit-trigger-scm:
343 refspec: '$GERRIT_REFSPEC'
346 choosing-strategy: 'default'
349 - opendaylight-infra-wrappers:
350 build-timeout: '{build-timeout}'
353 - timed: '00 10 1 * *'
355 server-name: '{server-name}'
357 - change-merged-event
358 - comment-added-contains-event:
359 comment-contains-value: 'remerge'
361 - project-compare-type: 'ANT'
362 project-pattern: 'releng/builder'
364 - branch-compare-type: 'ANT'
365 branch-pattern: '**/{branch}'
368 pattern: 'packer/vars/{platforms}.json'
370 pattern: 'packer/templates/{templates}.json'
372 pattern: 'packer/provision/{templates}.sh'
374 pattern: 'packer/provision/system_reseal.sh'
376 pattern: 'packer/provision/rh-user_data.sh'
378 pattern: 'packer/provision/devstack-pre-pip.sh'
380 pattern: 'packer/provision/baseline.sh'
385 platform: '{platforms}'
386 template: '{templates}'
389 - email-notification:
390 email-recipients: '{email-recipients}'
391 email-prefix: '[{project}]'
395 name: 'builder-update-csit-tests'
396 node: centos7-java-builder-2c-8g
398 # builder-update-csit-tests job
400 # This job's purpose is to update csit
401 # tests to run in integration-distribution-test-{stream}
402 # by updating releng-defaults variables: csit-list-carbon,
403 # csit-list-boron, csit-list-beryllium
405 project-type: freestyle
408 - opendaylight-infra-properties:
409 build-days-to-keep: 14
412 - opendaylight-infra-parameters:
413 os-cloud: '{os-cloud}'
416 refspec: 'refs/heads/{branch}'
417 artifacts: '{archive-artifacts}'
420 - gerrit-trigger-scm:
422 choosing-strategy: 'default'
425 - opendaylight-infra-wrappers:
426 build-timeout: '{build-timeout}'
430 jobs: 'builder-jjb-merge'
434 git checkout -b auto-update-csit-jobs
435 - integration-list-jobs:
436 blacklist: '{csit-list-blacklist}'
437 search_string: "csit"
439 jobs-filename: "csit_jobs_nitrogen.lst"
440 - integration-list-jobs:
441 blacklist: '{csit-list-blacklist}'
442 search_string: "csit"
444 jobs-filename: "csit_jobs_carbon.lst"
445 - integration-list-jobs:
446 blacklist: '{csit-list-blacklist}'
447 search_string: "csit"
449 jobs-filename: "csit_jobs_boron.lst"
450 - integration-replace-block-text:
451 starting-regex: "'csit-list-nitrogen: >'"
452 ending-regex: "'csit-list-carbon: >'"
453 file-with-changes-to-insert: "'csit_jobs_nitrogen.lst'"
454 file-to-change: "'jjb/releng-defaults.yaml'"
455 - integration-replace-block-text:
456 starting-regex: "'csit-list-carbon: >'"
457 ending-regex: "'csit-list-boron: >'"
458 file-with-changes-to-insert: "'csit_jobs_carbon.lst'"
459 file-to-change: "'jjb/releng-defaults.yaml'"
460 - integration-replace-block-text:
461 starting-regex: "'csit-list-boron: >'"
462 ending-regex: "'# CSIT TESTS END SED MARKER'"
463 file-with-changes-to-insert: "'csit_jobs_boron.lst'"
464 file-to-change: "'jjb/releng-defaults.yaml'"
467 git add jjb/releng-defaults.yaml
468 - opendaylight-infra-push-gerrit-patch:
469 project: "releng/builder"
470 gerrit-topic: "auto-update-csit-jobs"
471 gerrit-commit-message: "Auto Update CSIT Jobs to run"
474 - email-notification:
475 email-recipients: '{email-recipients}'
476 email-prefix: '[releng]'