6 - '{project-name}-verify-tox-{stream}'
10 - 'builder-verify-packer'
11 - 'builder-merge-packer-{platforms}-{templates}'
13 - 'builder-cleanup-old-images'
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-mitaka
27 - devstack-pre-pip-newton
42 templates: mininet-ovs-2.3
44 templates: mininet-ovs-2.5
45 - platforms: ubuntu-14.04
46 templates: java-builder
47 - platforms: ubuntu-14.04
49 - platforms: ubuntu-14.04
50 templates: devstack-pre-pip-mitaka
51 - platforms: ubuntu-14.04
52 templates: devstack-pre-pip-newton
53 - platforms: ubuntu-14.04
55 - platforms: ubuntu-14.04
57 - platforms: ubuntu-16.04
58 templates: java-builder
59 - platforms: ubuntu-16.04
61 - platforms: ubuntu-16.04
62 templates: devstack-pre-pip-mitaka
63 - platforms: ubuntu-16.04
64 templates: devstack-pre-pip-newton
65 - platforms: ubuntu-16.04
67 - platforms: ubuntu-16.04
69 - platforms: ubuntu-16.04
71 - platforms: ubuntu-16.04
72 templates: mininet-ovs-2.3
73 - platforms: ubuntu-16.04
75 - platforms: ubuntu-14.04
76 templates: mininet-ovs-2.5
79 project-type: freestyle
80 archive-artifacts: '**/*.log'
83 # The following values are only specified here
84 # so that code blocks look similar to other projects.
85 project: 'releng/builder'
91 name: builder-verify-jjb
92 node: centos7-java-builder-2c-4g
95 project-type: freestyle
98 - opendaylight-infra-properties:
99 build-days-to-keep: 14
102 - opendaylight-infra-parameters:
103 os-cloud: '{os-cloud}'
106 refspec: 'refs/heads/{branch}'
107 artifacts: '{archive-artifacts}'
110 - gerrit-trigger-scm:
111 refspec: '$GERRIT_REFSPEC'
112 choosing-strategy: 'gerrit'
115 - opendaylight-infra-wrappers:
116 build-timeout: '{build-timeout}'
119 - gerrit-trigger-patch-submitted:
120 server: '{server-name}'
126 - opendaylight-infra-jjbini
128 virtualenv $WORKSPACE/venv
129 source $WORKSPACE/venv/bin/activate
130 pip install --upgrade pip
131 pip install jenkins-job-builder
133 jenkins-jobs -l DEBUG test --recursive -o archives/job_output jjb/
134 gzip archives/job_output/*
135 - releng-check-unicode
136 - verify-gpg-signature
139 - email-notification:
140 email-recipients: '{email-recipients}'
141 email-prefix: '[releng]'
142 - opendaylight-infra-shiplogs:
143 maven-version: 'mvn33'
146 name: 'builder-merge'
147 node: centos7-java-builder-2c-4g
149 # builder-merge job to run JJB update
151 # This job's purpose is to update all the JJB
153 project-type: freestyle
156 - opendaylight-infra-properties:
157 build-days-to-keep: 14
160 - opendaylight-infra-parameters:
161 os-cloud: '{os-cloud}'
164 refspec: 'refs/heads/{branch}'
165 artifacts: '{archive-artifacts}'
168 - gerrit-trigger-scm:
170 choosing-strategy: 'default'
173 - opendaylight-infra-wrappers:
174 build-timeout: '{build-timeout}'
178 server-name: '{server-name}'
180 - change-merged-event
181 - comment-added-contains-event:
182 comment-contains-value: 'remerge'
184 - project-compare-type: 'ANT'
185 project-pattern: 'releng/builder'
187 - branch-compare-type: 'ANT'
188 branch-pattern: '**/{branch}'
194 - opendaylight-infra-jjbini
196 virtualenv $WORKSPACE/venv
197 source $WORKSPACE/venv/bin/activate
198 pip install --upgrade pip
199 pip install jenkins-job-builder
201 jenkins-jobs --version
202 jenkins-jobs update --recursive --delete-old --workers 4 jjb/
205 - email-notification:
206 email-recipients: '{email-recipients}'
207 email-prefix: '[releng]'
208 - opendaylight-infra-shiplogs:
209 maven-version: 'mvn33'
212 name: 'builder-weekly'
214 node: centos7-java-builder-2c-4g
216 # builder-weekly job to run JJB update weekly
218 # This job's purpose is to update all the JJB on a weekly (Sunday)
219 # basis with --flush-cache enabled to ensure jobs are okay
221 project-type: freestyle
224 - opendaylight-infra-properties:
225 build-days-to-keep: 14
228 - opendaylight-infra-parameters:
229 os-cloud: '{os-cloud}'
232 refspec: 'refs/heads/{branch}'
233 artifacts: '{archive-artifacts}'
240 - opendaylight-infra-wrappers:
241 build-timeout: '{build-timeout}'
247 - opendaylight-infra-jjbini
249 virtualenv $WORKSPACE/venv
250 source $WORKSPACE/venv/bin/activate
251 pip install --upgrade pip
252 pip install jenkins-job-builder
254 jenkins-jobs --flush-cache update --recursive --workers 4 jjb/
257 - email-notification:
258 email-recipients: '{email-recipients}'
259 email-prefix: '[releng]'
260 - opendaylight-infra-shiplogs:
261 maven-version: 'mvn33'
264 name: builder-check-poms
265 node: centos7-java-builder-2c-4g
267 project-type: freestyle
270 - opendaylight-infra-properties:
271 build-days-to-keep: 14
274 - opendaylight-infra-parameters:
275 os-cloud: '{os-cloud}'
278 refspec: 'refs/heads/{branch}'
279 artifacts: '{archive-artifacts}'
282 - opendaylight-infra-wrappers:
283 build-timeout: '{build-timeout}'
289 - shell: !include-raw-escape: include-raw-check-poms.sh
292 - email-notification:
293 email-recipients: '{email-recipients}'
294 email-prefix: '[releng]'
295 - opendaylight-infra-shiplogs:
296 maven-version: 'mvn33'
299 name: 'builder-delete-stale-stacks'
300 project-type: freestyle
301 node: centos7-java-builder-2c-4g
304 - opendaylight-infra-properties:
305 build-days-to-keep: 7
308 - opendaylight-infra-wrappers:
309 build-timeout: '{build-timeout}'
312 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
313 - timed: '0,30 * * * *'
316 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
319 - email-notification:
320 email-recipients: '{email-recipients}'
321 email-prefix: '[releng]'
322 - opendaylight-infra-shiplogs:
323 maven-version: 'mvn33'
326 name: 'builder-cleanup-old-images'
327 project-type: freestyle
328 node: centos7-java-builder-2c-4g
331 - opendaylight-infra-properties:
332 build-days-to-keep: 7
335 - opendaylight-infra-parameters:
336 os-cloud: '{os-cloud}'
339 refspec: 'refs/heads/{branch}'
340 artifacts: '{archive-artifacts}'
347 - opendaylight-infra-wrappers:
348 build-timeout: '{build-timeout}'
349 # Listed after to override openstack-infra-wrappers clouds.yaml definition
350 - config-file-provider:
352 - file-id: opendaylight-private-clouds-yaml
353 target: '$HOME/.config/openstack/clouds.yaml'
356 # Cleanup images on a weekly schedule
360 - shell: !include-raw-escape: opendaylight-infra-cleanup-old-images.sh
363 - email-notification:
364 email-recipients: '{email-recipients}'
365 email-prefix: '[releng]'
366 - opendaylight-infra-shiplogs:
367 maven-version: 'mvn33'
370 name: 'builder-update-image-list'
371 project-type: freestyle
372 node: centos7-java-builder-2c-4g
375 - opendaylight-infra-properties:
376 build-days-to-keep: 7
379 - opendaylight-infra-parameters:
383 refspec: 'refs/heads/{branch}'
384 artifacts: '{archive-artifacts}'
391 - opendaylight-infra-wrappers:
392 build-timeout: '{build-timeout}'
393 # Listed after to override openstack-infra-wrappers clouds.yaml definition
394 - config-file-provider:
396 - file-id: opendaylight-private-clouds-yaml
397 target: '$HOME/.config/openstack/clouds.yaml'
400 # Update image list every Monday to Friday at 11:00 UTC
401 - timed: '0 11 * * 1-5'
404 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
405 - opendaylight-infra-push-gerrit-patch:
407 gerrit-topic: 'releng-update-cloud-image-list'
408 gerrit-commit-message: 'Update cloud image list docs'
411 - email-notification:
412 email-recipients: '{email-recipients}'
413 email-prefix: '[releng]'
414 - opendaylight-infra-shiplogs:
415 maven-version: 'mvn33'
418 name: 'builder-verify-packer'
419 project-type: freestyle
420 node: centos7-java-builder-2c-4g
424 - opendaylight-infra-properties:
425 build-days-to-keep: 14
428 - opendaylight-infra-parameters:
429 os-cloud: '{os-cloud}'
432 refspec: 'refs/heads/{branch}'
433 artifacts: '{archive-artifacts}'
436 - gerrit-trigger-scm:
437 refspec: '$GERRIT_REFSPEC'
438 choosing-strategy: 'gerrit'
441 - opendaylight-infra-wrappers:
442 build-timeout: '{build-timeout}'
445 - gerrit-trigger-patch-submitted:
446 server: '{server-name}'
455 - email-notification:
456 email-recipients: '{email-recipients}'
457 email-prefix: '[{project}]'
458 - opendaylight-infra-shiplogs:
459 maven-version: 'mvn33'
462 name: 'builder-merge-packer-{platforms}-{templates}'
463 project-type: freestyle
464 node: centos7-java-builder-2c-4g
467 - opendaylight-infra-properties:
468 build-days-to-keep: 14
471 - opendaylight-infra-parameters:
472 os-cloud: '{os-cloud}'
475 refspec: 'refs/heads/{branch}'
476 artifacts: '{archive-artifacts}'
479 - gerrit-trigger-scm:
480 refspec: '$GERRIT_REFSPEC'
483 choosing-strategy: 'default'
486 - opendaylight-infra-wrappers:
487 build-timeout: '{build-timeout}'
490 - timed: '00 10 1 * *'
492 server-name: '{server-name}'
494 - change-merged-event
495 - comment-added-contains-event:
496 comment-contains-value: 'remerge'
498 - project-compare-type: 'ANT'
499 project-pattern: 'releng/builder'
501 - branch-compare-type: 'ANT'
502 branch-pattern: '**/{branch}'
505 pattern: 'packer/vars/{platforms}.json'
507 pattern: 'packer/templates/{templates}.json'
509 pattern: 'packer/provision/{templates}.sh'
511 pattern: 'packer/provision/system_reseal.sh'
513 pattern: 'packer/provision/rh-user_data.sh'
515 pattern: 'packer/provision/devstack-pre-pip.sh'
517 pattern: 'packer/provision/baseline.sh'
522 platform: '{platforms}'
523 template: '{templates}'
526 - email-notification:
527 email-recipients: '{email-recipients}'
528 email-prefix: '[{project}]'
529 - opendaylight-infra-shiplogs:
530 maven-version: 'mvn33'
533 name: 'builder-update-csit-tests'
534 node: centos7-java-builder-2c-8g
536 # builder-update-csit-tests job
538 # This job's purpose is to update csit
539 # tests to run in integration-distribution-test-{stream}
540 # by updating releng-defaults variables: csit-list-carbon,
541 # csit-list-boron, csit-list-beryllium
543 project-type: freestyle
546 - opendaylight-infra-properties:
547 build-days-to-keep: 14
550 - opendaylight-infra-parameters:
551 os-cloud: '{os-cloud}'
554 refspec: 'refs/heads/{branch}'
555 artifacts: '{archive-artifacts}'
558 - gerrit-trigger-scm:
560 choosing-strategy: 'default'
563 - opendaylight-infra-wrappers:
564 build-timeout: '{build-timeout}'
568 jobs: 'builder-merge'
572 git checkout -b auto-update-csit-jobs
573 - integration-list-jobs:
574 blacklist: '{csit-list-blacklist}'
575 search_string: "csit"
577 jobs-filename: "csit_jobs_carbon.lst"
578 - integration-list-jobs:
579 blacklist: '{csit-list-blacklist}'
580 search_string: "csit"
582 jobs-filename: "csit_jobs_boron.lst"
583 - integration-list-jobs:
584 blacklist: '{csit-list-blacklist}'
585 search_string: "csit"
587 jobs-filename: "csit_jobs_beryllium.lst"
588 - integration-replace-block-text:
589 starting-regex: "'csit-list-carbon: >'"
590 ending-regex: "'csit-weekly-list-carbon: >'"
591 file-with-changes-to-insert: "'csit_jobs_carbon.lst'"
592 file-to-change: "'jjb/releng-defaults.yaml'"
593 - integration-replace-block-text:
594 starting-regex: "'csit-list-boron: >'"
595 ending-regex: "'csit-list-beryllium: >'"
596 file-with-changes-to-insert: "'csit_jobs_boron.lst'"
597 file-to-change: "'jjb/releng-defaults.yaml'"
598 - integration-replace-block-text:
599 starting-regex: "'csit-list-beryllium: >'"
600 ending-regex: "'# CSIT TESTS END SED MARKER'"
601 file-with-changes-to-insert: "'csit_jobs_beryllium.lst'"
602 file-to-change: "'jjb/releng-defaults.yaml'"
605 git add jjb/releng-defaults.yaml
606 - opendaylight-infra-push-gerrit-patch:
607 project: "releng/builder"
608 gerrit-topic: "auto-update-csit-jobs"
609 gerrit-commit-message: "Auto Update CSIT Jobs to run"
612 - email-notification:
613 email-recipients: '{email-recipients}'
614 email-prefix: '[releng]'
615 - opendaylight-infra-shiplogs:
616 maven-version: 'mvn33'