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: opendaylight-infra-cleanup-old-images.sh
187 - email-notification:
188 email-recipients: '{email-recipients}'
189 email-prefix: '[releng]'
190 - opendaylight-infra-shiplogs:
191 maven-version: 'mvn33'
194 name: 'builder-update-image-list'
195 project-type: freestyle
196 node: centos7-java-builder-2c-4g
199 - opendaylight-infra-properties:
200 build-days-to-keep: 7
203 - opendaylight-infra-parameters:
207 refspec: 'refs/heads/{branch}'
208 artifacts: '{archive-artifacts}'
215 - opendaylight-infra-wrappers:
216 build-timeout: '{build-timeout}'
217 # Listed after to override openstack-infra-wrappers clouds.yaml definition
218 - config-file-provider:
220 - file-id: opendaylight-private-clouds-yaml
221 target: '$HOME/.config/openstack/clouds.yaml'
224 # Update image list every Monday to Friday at 11:00 UTC
225 - timed: '0 11 * * 1-5'
228 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
229 - opendaylight-infra-push-gerrit-patch:
231 gerrit-topic: 'releng-update-cloud-image-list'
232 gerrit-commit-message: 'Update cloud image list docs'
235 - email-notification:
236 email-recipients: '{email-recipients}'
237 email-prefix: '[releng]'
238 - opendaylight-infra-shiplogs:
239 maven-version: 'mvn33'
242 name: 'builder-verify-packer'
243 project-type: freestyle
244 node: centos7-java-builder-2c-4g
248 - opendaylight-infra-properties:
249 build-days-to-keep: 14
252 - opendaylight-infra-parameters:
253 os-cloud: '{os-cloud}'
256 refspec: 'refs/heads/{branch}'
257 artifacts: '{archive-artifacts}'
260 - gerrit-trigger-scm:
261 refspec: '$GERRIT_REFSPEC'
262 choosing-strategy: 'gerrit'
265 - opendaylight-infra-wrappers:
266 build-timeout: '{build-timeout}'
269 - gerrit-trigger-patch-submitted:
270 server: '{server-name}'
279 - email-notification:
280 email-recipients: '{email-recipients}'
281 email-prefix: '[{project}]'
282 - opendaylight-infra-shiplogs:
283 maven-version: 'mvn33'
286 name: 'builder-merge-packer-{platforms}-{templates}'
287 project-type: freestyle
288 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'
307 choosing-strategy: 'default'
310 - opendaylight-infra-wrappers:
311 build-timeout: '{build-timeout}'
314 - timed: '00 10 1 * *'
316 server-name: '{server-name}'
318 - change-merged-event
319 - comment-added-contains-event:
320 comment-contains-value: 'remerge'
322 - project-compare-type: 'ANT'
323 project-pattern: 'releng/builder'
325 - branch-compare-type: 'ANT'
326 branch-pattern: '**/{branch}'
329 pattern: 'packer/vars/{platforms}.json'
331 pattern: 'packer/templates/{templates}.json'
333 pattern: 'packer/provision/{templates}.sh'
335 pattern: 'packer/provision/system_reseal.sh'
337 pattern: 'packer/provision/rh-user_data.sh'
339 pattern: 'packer/provision/devstack-pre-pip.sh'
341 pattern: 'packer/provision/baseline.sh'
346 platform: '{platforms}'
347 template: '{templates}'
350 - email-notification:
351 email-recipients: '{email-recipients}'
352 email-prefix: '[{project}]'
353 - opendaylight-infra-shiplogs:
354 maven-version: 'mvn33'
357 name: 'builder-update-csit-tests'
358 node: centos7-java-builder-2c-8g
360 # builder-update-csit-tests job
362 # This job's purpose is to update csit
363 # tests to run in integration-distribution-test-{stream}
364 # by updating releng-defaults variables: csit-list-carbon,
365 # csit-list-boron, csit-list-beryllium
367 project-type: freestyle
370 - opendaylight-infra-properties:
371 build-days-to-keep: 14
374 - opendaylight-infra-parameters:
375 os-cloud: '{os-cloud}'
378 refspec: 'refs/heads/{branch}'
379 artifacts: '{archive-artifacts}'
382 - gerrit-trigger-scm:
384 choosing-strategy: 'default'
387 - opendaylight-infra-wrappers:
388 build-timeout: '{build-timeout}'
392 jobs: 'builder-jjb-merge'
396 git checkout -b auto-update-csit-jobs
397 - integration-list-jobs:
398 blacklist: '{csit-list-blacklist}'
399 search_string: "csit"
401 jobs-filename: "csit_jobs_nitrogen.lst"
402 - integration-list-jobs:
403 blacklist: '{csit-list-blacklist}'
404 search_string: "csit"
406 jobs-filename: "csit_jobs_carbon.lst"
407 - integration-list-jobs:
408 blacklist: '{csit-list-blacklist}'
409 search_string: "csit"
411 jobs-filename: "csit_jobs_boron.lst"
412 - integration-list-jobs:
413 blacklist: '{csit-list-blacklist}'
414 search_string: "csit"
416 jobs-filename: "csit_jobs_beryllium.lst"
417 - integration-replace-block-text:
418 starting-regex: "'csit-list-nitrogen: >'"
419 ending-regex: "'csit-list-carbon: >'"
420 file-with-changes-to-insert: "'csit_jobs_nitrogen.lst'"
421 file-to-change: "'jjb/releng-defaults.yaml'"
422 - integration-replace-block-text:
423 starting-regex: "'csit-list-carbon: >'"
424 ending-regex: "'csit-list-boron: >'"
425 file-with-changes-to-insert: "'csit_jobs_carbon.lst'"
426 file-to-change: "'jjb/releng-defaults.yaml'"
427 - integration-replace-block-text:
428 starting-regex: "'csit-list-boron: >'"
429 ending-regex: "'csit-list-beryllium: >'"
430 file-with-changes-to-insert: "'csit_jobs_boron.lst'"
431 file-to-change: "'jjb/releng-defaults.yaml'"
432 - integration-replace-block-text:
433 starting-regex: "'csit-list-beryllium: >'"
434 ending-regex: "'# CSIT TESTS END SED MARKER'"
435 file-with-changes-to-insert: "'csit_jobs_beryllium.lst'"
436 file-to-change: "'jjb/releng-defaults.yaml'"
439 git add jjb/releng-defaults.yaml
440 - opendaylight-infra-push-gerrit-patch:
441 project: "releng/builder"
442 gerrit-topic: "auto-update-csit-jobs"
443 gerrit-commit-message: "Auto Update CSIT Jobs to run"
446 - email-notification:
447 email-recipients: '{email-recipients}'
448 email-prefix: '[releng]'
449 - opendaylight-infra-shiplogs:
450 maven-version: 'mvn33'