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-mitaka
25 - devstack-pre-pip-newton
39 templates: mininet-ovs-2.5
40 - platforms: ubuntu-14.04
41 templates: java-builder
42 - platforms: ubuntu-14.04
44 - platforms: ubuntu-14.04
45 templates: devstack-pre-pip-mitaka
46 - platforms: ubuntu-14.04
47 templates: devstack-pre-pip-newton
48 - platforms: ubuntu-14.04
50 - platforms: ubuntu-14.04
52 - platforms: ubuntu-14.04
53 templates: mininet-ovs-2.5
54 - platforms: ubuntu-16.04
55 templates: java-builder
56 - platforms: ubuntu-16.04
58 - platforms: ubuntu-16.04
59 templates: devstack-pre-pip-mitaka
60 - platforms: ubuntu-16.04
61 templates: devstack-pre-pip-newton
62 - platforms: ubuntu-16.04
64 - platforms: ubuntu-16.04
66 - platforms: ubuntu-16.04
68 - platforms: ubuntu-16.04
72 project-type: freestyle
73 archive-artifacts: '**/*.log'
76 # The following values are only specified here
77 # so that code blocks look similar to other projects.
78 project: 'releng/builder'
82 build-node: centos7-java-builder-2c-4g
85 name: builder-check-poms
86 node: centos7-java-builder-2c-4g
88 project-type: freestyle
91 - opendaylight-infra-properties:
92 build-days-to-keep: 14
95 - opendaylight-infra-parameters:
96 os-cloud: '{os-cloud}'
99 refspec: 'refs/heads/{branch}'
100 artifacts: '{archive-artifacts}'
103 - opendaylight-infra-wrappers:
104 build-timeout: '{build-timeout}'
110 - shell: !include-raw-escape: include-raw-check-poms.sh
113 - email-notification:
114 email-recipients: '{email-recipients}'
115 email-prefix: '[releng]'
116 - opendaylight-infra-shiplogs:
117 maven-version: 'mvn33'
120 name: 'builder-delete-stale-stacks'
121 project-type: freestyle
122 node: centos7-java-builder-2c-4g
125 - opendaylight-infra-properties:
126 build-days-to-keep: 7
129 - opendaylight-infra-wrappers:
130 build-timeout: '{build-timeout}'
133 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
134 - timed: '0,30 * * * *'
137 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
140 - email-notification:
141 email-recipients: '{email-recipients}'
142 email-prefix: '[releng]'
143 - opendaylight-infra-shiplogs:
144 maven-version: 'mvn33'
147 name: 'builder-cleanup-old-images'
148 project-type: freestyle
149 node: centos7-java-builder-2c-4g
152 - opendaylight-infra-properties:
153 build-days-to-keep: 7
156 - opendaylight-infra-parameters:
157 os-cloud: '{os-cloud}'
160 refspec: 'refs/heads/{branch}'
161 artifacts: '{archive-artifacts}'
168 - opendaylight-infra-wrappers:
169 build-timeout: '{build-timeout}'
170 # Listed after to override openstack-infra-wrappers clouds.yaml definition
171 - config-file-provider:
173 - file-id: opendaylight-private-clouds-yaml
174 target: '$HOME/.config/openstack/clouds.yaml'
177 # Cleanup images on a weekly schedule
181 - shell: !include-raw-escape: opendaylight-infra-cleanup-old-images.sh
184 - email-notification:
185 email-recipients: '{email-recipients}'
186 email-prefix: '[releng]'
187 - opendaylight-infra-shiplogs:
188 maven-version: 'mvn33'
191 name: 'builder-update-image-list'
192 project-type: freestyle
193 node: centos7-java-builder-2c-4g
196 - opendaylight-infra-properties:
197 build-days-to-keep: 7
200 - opendaylight-infra-parameters:
204 refspec: 'refs/heads/{branch}'
205 artifacts: '{archive-artifacts}'
212 - opendaylight-infra-wrappers:
213 build-timeout: '{build-timeout}'
214 # Listed after to override openstack-infra-wrappers clouds.yaml definition
215 - config-file-provider:
217 - file-id: opendaylight-private-clouds-yaml
218 target: '$HOME/.config/openstack/clouds.yaml'
221 # Update image list every Monday to Friday at 11:00 UTC
222 - timed: '0 11 * * 1-5'
225 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
226 - opendaylight-infra-push-gerrit-patch:
228 gerrit-topic: 'releng-update-cloud-image-list'
229 gerrit-commit-message: 'Update cloud image list docs'
232 - email-notification:
233 email-recipients: '{email-recipients}'
234 email-prefix: '[releng]'
235 - opendaylight-infra-shiplogs:
236 maven-version: 'mvn33'
239 name: 'builder-verify-packer'
240 project-type: freestyle
241 node: centos7-java-builder-2c-4g
245 - opendaylight-infra-properties:
246 build-days-to-keep: 14
249 - opendaylight-infra-parameters:
250 os-cloud: '{os-cloud}'
253 refspec: 'refs/heads/{branch}'
254 artifacts: '{archive-artifacts}'
257 - gerrit-trigger-scm:
258 refspec: '$GERRIT_REFSPEC'
259 choosing-strategy: 'gerrit'
262 - opendaylight-infra-wrappers:
263 build-timeout: '{build-timeout}'
266 - gerrit-trigger-patch-submitted:
267 server: '{server-name}'
276 - email-notification:
277 email-recipients: '{email-recipients}'
278 email-prefix: '[{project}]'
279 - opendaylight-infra-shiplogs:
280 maven-version: 'mvn33'
283 name: 'builder-merge-packer-{platforms}-{templates}'
284 project-type: freestyle
285 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'
304 choosing-strategy: 'default'
307 - opendaylight-infra-wrappers:
308 build-timeout: '{build-timeout}'
311 - timed: '00 10 1 * *'
313 server-name: '{server-name}'
315 - change-merged-event
316 - comment-added-contains-event:
317 comment-contains-value: 'remerge'
319 - project-compare-type: 'ANT'
320 project-pattern: 'releng/builder'
322 - branch-compare-type: 'ANT'
323 branch-pattern: '**/{branch}'
326 pattern: 'packer/vars/{platforms}.json'
328 pattern: 'packer/templates/{templates}.json'
330 pattern: 'packer/provision/{templates}.sh'
332 pattern: 'packer/provision/system_reseal.sh'
334 pattern: 'packer/provision/rh-user_data.sh'
336 pattern: 'packer/provision/devstack-pre-pip.sh'
338 pattern: 'packer/provision/baseline.sh'
343 platform: '{platforms}'
344 template: '{templates}'
347 - email-notification:
348 email-recipients: '{email-recipients}'
349 email-prefix: '[{project}]'
350 - opendaylight-infra-shiplogs:
351 maven-version: 'mvn33'
354 name: 'builder-update-csit-tests'
355 node: centos7-java-builder-2c-8g
357 # builder-update-csit-tests job
359 # This job's purpose is to update csit
360 # tests to run in integration-distribution-test-{stream}
361 # by updating releng-defaults variables: csit-list-carbon,
362 # csit-list-boron, csit-list-beryllium
364 project-type: freestyle
367 - opendaylight-infra-properties:
368 build-days-to-keep: 14
371 - opendaylight-infra-parameters:
372 os-cloud: '{os-cloud}'
375 refspec: 'refs/heads/{branch}'
376 artifacts: '{archive-artifacts}'
379 - gerrit-trigger-scm:
381 choosing-strategy: 'default'
384 - opendaylight-infra-wrappers:
385 build-timeout: '{build-timeout}'
389 jobs: 'builder-jjb-merge'
393 git checkout -b auto-update-csit-jobs
394 - integration-list-jobs:
395 blacklist: '{csit-list-blacklist}'
396 search_string: "csit"
398 jobs-filename: "csit_jobs_nitrogen.lst"
399 - integration-list-jobs:
400 blacklist: '{csit-list-blacklist}'
401 search_string: "csit"
403 jobs-filename: "csit_jobs_carbon.lst"
404 - integration-list-jobs:
405 blacklist: '{csit-list-blacklist}'
406 search_string: "csit"
408 jobs-filename: "csit_jobs_boron.lst"
409 - integration-list-jobs:
410 blacklist: '{csit-list-blacklist}'
411 search_string: "csit"
413 jobs-filename: "csit_jobs_beryllium.lst"
414 - integration-replace-block-text:
415 starting-regex: "'csit-list-nitrogen: >'"
416 ending-regex: "'csit-list-carbon: >'"
417 file-with-changes-to-insert: "'csit_jobs_nitrogen.lst'"
418 file-to-change: "'jjb/releng-defaults.yaml'"
419 - integration-replace-block-text:
420 starting-regex: "'csit-list-carbon: >'"
421 ending-regex: "'csit-list-boron: >'"
422 file-with-changes-to-insert: "'csit_jobs_carbon.lst'"
423 file-to-change: "'jjb/releng-defaults.yaml'"
424 - integration-replace-block-text:
425 starting-regex: "'csit-list-boron: >'"
426 ending-regex: "'csit-list-beryllium: >'"
427 file-with-changes-to-insert: "'csit_jobs_boron.lst'"
428 file-to-change: "'jjb/releng-defaults.yaml'"
429 - integration-replace-block-text:
430 starting-regex: "'csit-list-beryllium: >'"
431 ending-regex: "'# CSIT TESTS END SED MARKER'"
432 file-with-changes-to-insert: "'csit_jobs_beryllium.lst'"
433 file-to-change: "'jjb/releng-defaults.yaml'"
436 git add jjb/releng-defaults.yaml
437 - opendaylight-infra-push-gerrit-patch:
438 project: "releng/builder"
439 gerrit-topic: "auto-update-csit-jobs"
440 gerrit-commit-message: "Auto Update CSIT Jobs to run"
443 - email-notification:
444 email-recipients: '{email-recipients}'
445 email-prefix: '[releng]'
446 - opendaylight-infra-shiplogs:
447 maven-version: 'mvn33'