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]'
113 - opendaylight-infra-shiplogs:
114 maven-version: 'mvn33'
118 name: 'builder-cleanup-old-images'
119 project-type: freestyle
120 node: centos7-java-builder-2c-4g
123 - opendaylight-infra-properties:
124 build-days-to-keep: 7
127 - opendaylight-infra-parameters:
128 os-cloud: '{os-cloud}'
131 refspec: 'refs/heads/{branch}'
132 artifacts: '{archive-artifacts}'
139 - opendaylight-infra-wrappers:
140 build-timeout: '{build-timeout}'
141 # Listed after to override openstack-infra-wrappers clouds.yaml definition
142 - config-file-provider:
144 - file-id: opendaylight-private-clouds-yaml
145 target: '$HOME/.config/openstack/clouds.yaml'
148 # Cleanup images on a weekly schedule
152 - shell: !include-raw-escape: opendaylight-infra-cleanup-old-images.sh
155 - email-notification:
156 email-recipients: '{email-recipients}'
157 email-prefix: '[releng]'
158 - opendaylight-infra-shiplogs:
159 maven-version: 'mvn33'
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]'
196 - opendaylight-infra-shiplogs:
197 maven-version: 'mvn33'
201 name: 'builder-delete-stale-stacks'
202 project-type: freestyle
203 node: centos7-java-builder-2c-4g
206 - opendaylight-infra-properties:
207 build-days-to-keep: 7
210 - opendaylight-infra-parameters:
211 os-cloud: '{os-cloud}'
214 refspec: 'refs/heads/{branch}'
215 artifacts: '{archive-artifacts}'
218 - opendaylight-infra-wrappers:
219 build-timeout: '{build-timeout}'
222 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
223 - timed: '0,30 * * * *'
226 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
229 - email-notification:
230 email-recipients: '{email-recipients}'
231 email-prefix: '[releng]'
232 - opendaylight-infra-shiplogs:
233 maven-version: 'mvn33'
237 name: 'builder-update-image-list'
238 project-type: freestyle
239 node: centos7-java-builder-2c-4g
242 - opendaylight-infra-properties:
243 build-days-to-keep: 7
246 - opendaylight-infra-parameters:
250 refspec: 'refs/heads/{branch}'
251 artifacts: '{archive-artifacts}'
258 - opendaylight-infra-wrappers:
259 build-timeout: '{build-timeout}'
260 # Listed after to override openstack-infra-wrappers clouds.yaml definition
261 - config-file-provider:
263 - file-id: opendaylight-private-clouds-yaml
264 target: '$HOME/.config/openstack/clouds.yaml'
267 # Update image list every Monday to Friday at 11:00 UTC
268 - timed: '0 11 * * 1-5'
271 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
272 - opendaylight-infra-push-gerrit-patch:
274 gerrit-topic: 'releng-update-cloud-image-list'
275 gerrit-commit-message: 'Update cloud image list docs'
278 - email-notification:
279 email-recipients: '{email-recipients}'
280 email-prefix: '[releng]'
281 - opendaylight-infra-shiplogs:
282 maven-version: 'mvn33'
285 name: 'builder-verify-packer'
286 project-type: freestyle
287 node: centos7-java-builder-2c-4g
291 - opendaylight-infra-properties:
292 build-days-to-keep: 14
295 - opendaylight-infra-parameters:
296 os-cloud: '{os-cloud}'
299 refspec: 'refs/heads/{branch}'
300 artifacts: '{archive-artifacts}'
303 - gerrit-trigger-scm:
304 refspec: '$GERRIT_REFSPEC'
305 choosing-strategy: 'gerrit'
308 - opendaylight-infra-wrappers:
309 build-timeout: '{build-timeout}'
312 - gerrit-trigger-patch-submitted:
313 server: '{server-name}'
322 - email-notification:
323 email-recipients: '{email-recipients}'
324 email-prefix: '[{project}]'
325 - opendaylight-infra-shiplogs:
326 maven-version: 'mvn33'
329 name: 'builder-merge-packer-{platforms}-{templates}'
330 project-type: freestyle
331 node: centos7-java-builder-2c-4g
334 - opendaylight-infra-properties:
335 build-days-to-keep: 14
338 - opendaylight-infra-parameters:
339 os-cloud: '{os-cloud}'
342 refspec: 'refs/heads/{branch}'
343 artifacts: '{archive-artifacts}'
346 - gerrit-trigger-scm:
347 refspec: '$GERRIT_REFSPEC'
350 choosing-strategy: 'default'
353 - opendaylight-infra-wrappers:
354 build-timeout: '{build-timeout}'
357 - timed: '00 10 1 * *'
359 server-name: '{server-name}'
361 - change-merged-event
362 - comment-added-contains-event:
363 comment-contains-value: 'remerge'
365 - project-compare-type: 'ANT'
366 project-pattern: 'releng/builder'
368 - branch-compare-type: 'ANT'
369 branch-pattern: '**/{branch}'
372 pattern: 'packer/vars/{platforms}.json'
374 pattern: 'packer/templates/{templates}.json'
376 pattern: 'packer/provision/{templates}.sh'
378 pattern: 'packer/provision/system_reseal.sh'
380 pattern: 'packer/provision/rh-user_data.sh'
382 pattern: 'packer/provision/devstack-pre-pip.sh'
384 pattern: 'packer/provision/baseline.sh'
389 platform: '{platforms}'
390 template: '{templates}'
393 - email-notification:
394 email-recipients: '{email-recipients}'
395 email-prefix: '[{project}]'
396 - opendaylight-infra-shiplogs:
397 maven-version: 'mvn33'
400 name: 'builder-update-csit-tests'
401 node: centos7-java-builder-2c-8g
403 # builder-update-csit-tests job
405 # This job's purpose is to update csit
406 # tests to run in integration-distribution-test-{stream}
407 # by updating releng-defaults variables: csit-list-carbon,
408 # csit-list-boron, csit-list-beryllium
410 project-type: freestyle
413 - opendaylight-infra-properties:
414 build-days-to-keep: 14
417 - opendaylight-infra-parameters:
418 os-cloud: '{os-cloud}'
421 refspec: 'refs/heads/{branch}'
422 artifacts: '{archive-artifacts}'
425 - gerrit-trigger-scm:
427 choosing-strategy: 'default'
430 - opendaylight-infra-wrappers:
431 build-timeout: '{build-timeout}'
435 jobs: 'builder-jjb-merge'
439 git checkout -b auto-update-csit-jobs
440 - integration-list-jobs:
441 blacklist: '{csit-list-blacklist}'
442 search_string: "csit"
444 jobs-filename: "csit_jobs_nitrogen.lst"
445 - integration-list-jobs:
446 blacklist: '{csit-list-blacklist}'
447 search_string: "csit"
449 jobs-filename: "csit_jobs_carbon.lst"
450 - integration-list-jobs:
451 blacklist: '{csit-list-blacklist}'
452 search_string: "csit"
454 jobs-filename: "csit_jobs_boron.lst"
455 - integration-list-jobs:
456 blacklist: '{csit-list-blacklist}'
457 search_string: "csit"
459 jobs-filename: "csit_jobs_beryllium.lst"
460 - integration-replace-block-text:
461 starting-regex: "'csit-list-nitrogen: >'"
462 ending-regex: "'csit-list-carbon: >'"
463 file-with-changes-to-insert: "'csit_jobs_nitrogen.lst'"
464 file-to-change: "'jjb/releng-defaults.yaml'"
465 - integration-replace-block-text:
466 starting-regex: "'csit-list-carbon: >'"
467 ending-regex: "'csit-list-boron: >'"
468 file-with-changes-to-insert: "'csit_jobs_carbon.lst'"
469 file-to-change: "'jjb/releng-defaults.yaml'"
470 - integration-replace-block-text:
471 starting-regex: "'csit-list-boron: >'"
472 ending-regex: "'csit-list-beryllium: >'"
473 file-with-changes-to-insert: "'csit_jobs_boron.lst'"
474 file-to-change: "'jjb/releng-defaults.yaml'"
475 - integration-replace-block-text:
476 starting-regex: "'csit-list-beryllium: >'"
477 ending-regex: "'# CSIT TESTS END SED MARKER'"
478 file-with-changes-to-insert: "'csit_jobs_beryllium.lst'"
479 file-to-change: "'jjb/releng-defaults.yaml'"
482 git add jjb/releng-defaults.yaml
483 - opendaylight-infra-push-gerrit-patch:
484 project: "releng/builder"
485 gerrit-topic: "auto-update-csit-jobs"
486 gerrit-commit-message: "Auto Update CSIT Jobs to run"
489 - email-notification:
490 email-recipients: '{email-recipients}'
491 email-prefix: '[releng]'
492 - opendaylight-infra-shiplogs:
493 maven-version: 'mvn33'