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-wrappers:
125 build-timeout: '{build-timeout}'
128 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
129 - timed: '0,30 * * * *'
132 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
135 - email-notification:
136 email-recipients: '{email-recipients}'
137 email-prefix: '[releng]'
138 - opendaylight-infra-shiplogs:
139 maven-version: 'mvn33'
142 name: 'builder-cleanup-old-images'
143 project-type: freestyle
144 node: centos7-java-builder-2c-4g
147 - opendaylight-infra-properties:
148 build-days-to-keep: 7
151 - opendaylight-infra-parameters:
152 os-cloud: '{os-cloud}'
155 refspec: 'refs/heads/{branch}'
156 artifacts: '{archive-artifacts}'
163 - opendaylight-infra-wrappers:
164 build-timeout: '{build-timeout}'
165 # Listed after to override openstack-infra-wrappers clouds.yaml definition
166 - config-file-provider:
168 - file-id: opendaylight-private-clouds-yaml
169 target: '$HOME/.config/openstack/clouds.yaml'
172 # Cleanup images on a weekly schedule
176 - shell: !include-raw-escape: opendaylight-infra-cleanup-old-images.sh
179 - email-notification:
180 email-recipients: '{email-recipients}'
181 email-prefix: '[releng]'
182 - opendaylight-infra-shiplogs:
183 maven-version: 'mvn33'
186 name: 'builder-update-image-list'
187 project-type: freestyle
188 node: centos7-java-builder-2c-4g
191 - opendaylight-infra-properties:
192 build-days-to-keep: 7
195 - opendaylight-infra-parameters:
199 refspec: 'refs/heads/{branch}'
200 artifacts: '{archive-artifacts}'
207 - opendaylight-infra-wrappers:
208 build-timeout: '{build-timeout}'
209 # Listed after to override openstack-infra-wrappers clouds.yaml definition
210 - config-file-provider:
212 - file-id: opendaylight-private-clouds-yaml
213 target: '$HOME/.config/openstack/clouds.yaml'
216 # Update image list every Monday to Friday at 11:00 UTC
217 - timed: '0 11 * * 1-5'
220 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
221 - opendaylight-infra-push-gerrit-patch:
223 gerrit-topic: 'releng-update-cloud-image-list'
224 gerrit-commit-message: 'Update cloud image list docs'
227 - email-notification:
228 email-recipients: '{email-recipients}'
229 email-prefix: '[releng]'
230 - opendaylight-infra-shiplogs:
231 maven-version: 'mvn33'
234 name: 'builder-verify-packer'
235 project-type: freestyle
236 node: centos7-java-builder-2c-4g
240 - opendaylight-infra-properties:
241 build-days-to-keep: 14
244 - opendaylight-infra-parameters:
245 os-cloud: '{os-cloud}'
248 refspec: 'refs/heads/{branch}'
249 artifacts: '{archive-artifacts}'
252 - gerrit-trigger-scm:
253 refspec: '$GERRIT_REFSPEC'
254 choosing-strategy: 'gerrit'
257 - opendaylight-infra-wrappers:
258 build-timeout: '{build-timeout}'
261 - gerrit-trigger-patch-submitted:
262 server: '{server-name}'
271 - email-notification:
272 email-recipients: '{email-recipients}'
273 email-prefix: '[{project}]'
274 - opendaylight-infra-shiplogs:
275 maven-version: 'mvn33'
278 name: 'builder-merge-packer-{platforms}-{templates}'
279 project-type: freestyle
280 node: centos7-java-builder-2c-4g
283 - opendaylight-infra-properties:
284 build-days-to-keep: 14
287 - opendaylight-infra-parameters:
288 os-cloud: '{os-cloud}'
291 refspec: 'refs/heads/{branch}'
292 artifacts: '{archive-artifacts}'
295 - gerrit-trigger-scm:
296 refspec: '$GERRIT_REFSPEC'
299 choosing-strategy: 'default'
302 - opendaylight-infra-wrappers:
303 build-timeout: '{build-timeout}'
306 - timed: '00 10 1 * *'
308 server-name: '{server-name}'
310 - change-merged-event
311 - comment-added-contains-event:
312 comment-contains-value: 'remerge'
314 - project-compare-type: 'ANT'
315 project-pattern: 'releng/builder'
317 - branch-compare-type: 'ANT'
318 branch-pattern: '**/{branch}'
321 pattern: 'packer/vars/{platforms}.json'
323 pattern: 'packer/templates/{templates}.json'
325 pattern: 'packer/provision/{templates}.sh'
327 pattern: 'packer/provision/system_reseal.sh'
329 pattern: 'packer/provision/rh-user_data.sh'
331 pattern: 'packer/provision/devstack-pre-pip.sh'
333 pattern: 'packer/provision/baseline.sh'
338 platform: '{platforms}'
339 template: '{templates}'
342 - email-notification:
343 email-recipients: '{email-recipients}'
344 email-prefix: '[{project}]'
345 - opendaylight-infra-shiplogs:
346 maven-version: 'mvn33'
349 name: 'builder-update-csit-tests'
350 node: centos7-java-builder-2c-8g
352 # builder-update-csit-tests job
354 # This job's purpose is to update csit
355 # tests to run in integration-distribution-test-{stream}
356 # by updating releng-defaults variables: csit-list-carbon,
357 # csit-list-boron, csit-list-beryllium
359 project-type: freestyle
362 - opendaylight-infra-properties:
363 build-days-to-keep: 14
366 - opendaylight-infra-parameters:
367 os-cloud: '{os-cloud}'
370 refspec: 'refs/heads/{branch}'
371 artifacts: '{archive-artifacts}'
374 - gerrit-trigger-scm:
376 choosing-strategy: 'default'
379 - opendaylight-infra-wrappers:
380 build-timeout: '{build-timeout}'
384 jobs: 'builder-jjb-merge'
388 git checkout -b auto-update-csit-jobs
389 - integration-list-jobs:
390 blacklist: '{csit-list-blacklist}'
391 search_string: "csit"
393 jobs-filename: "csit_jobs_nitrogen.lst"
394 - integration-list-jobs:
395 blacklist: '{csit-list-blacklist}'
396 search_string: "csit"
398 jobs-filename: "csit_jobs_carbon.lst"
399 - integration-list-jobs:
400 blacklist: '{csit-list-blacklist}'
401 search_string: "csit"
403 jobs-filename: "csit_jobs_boron.lst"
404 - integration-list-jobs:
405 blacklist: '{csit-list-blacklist}'
406 search_string: "csit"
408 jobs-filename: "csit_jobs_beryllium.lst"
409 - integration-replace-block-text:
410 starting-regex: "'csit-list-nitrogen: >'"
411 ending-regex: "'csit-list-carbon: >'"
412 file-with-changes-to-insert: "'csit_jobs_nitrogen.lst'"
413 file-to-change: "'jjb/releng-defaults.yaml'"
414 - integration-replace-block-text:
415 starting-regex: "'csit-list-carbon: >'"
416 ending-regex: "'csit-list-boron: >'"
417 file-with-changes-to-insert: "'csit_jobs_carbon.lst'"
418 file-to-change: "'jjb/releng-defaults.yaml'"
419 - integration-replace-block-text:
420 starting-regex: "'csit-list-boron: >'"
421 ending-regex: "'csit-list-beryllium: >'"
422 file-with-changes-to-insert: "'csit_jobs_boron.lst'"
423 file-to-change: "'jjb/releng-defaults.yaml'"
424 - integration-replace-block-text:
425 starting-regex: "'csit-list-beryllium: >'"
426 ending-regex: "'# CSIT TESTS END SED MARKER'"
427 file-with-changes-to-insert: "'csit_jobs_beryllium.lst'"
428 file-to-change: "'jjb/releng-defaults.yaml'"
431 git add jjb/releng-defaults.yaml
432 - opendaylight-infra-push-gerrit-patch:
433 project: "releng/builder"
434 gerrit-topic: "auto-update-csit-jobs"
435 gerrit-commit-message: "Auto Update CSIT Jobs to run"
438 - email-notification:
439 email-recipients: '{email-recipients}'
440 email-prefix: '[releng]'
441 - opendaylight-infra-shiplogs:
442 maven-version: 'mvn33'