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
27 - devstack-pre-pip-ocata
41 templates: mininet-ovs-2.5
42 - platforms: ubuntu-14.04
43 templates: java-builder
44 - platforms: ubuntu-14.04
46 - platforms: ubuntu-14.04
47 templates: devstack-pre-pip-newton
48 - platforms: ubuntu-14.04
49 templates: devstack-pre-pip-ocata
50 - platforms: ubuntu-14.04
52 - platforms: ubuntu-14.04
54 - platforms: ubuntu-14.04
55 templates: mininet-ovs-2.5
56 - platforms: ubuntu-16.04
57 templates: java-builder
58 - platforms: ubuntu-16.04
60 - platforms: ubuntu-16.04
61 templates: devstack-pre-pip-newton
62 - platforms: ubuntu-16.04
63 templates: devstack-pre-pip-ocata
64 - platforms: ubuntu-16.04
66 - platforms: ubuntu-16.04
68 - platforms: ubuntu-16.04
70 - platforms: ubuntu-16.04
74 project-type: freestyle
75 archive-artifacts: '**/*.log'
78 # The following values are only specified here
79 # so that code blocks look similar to other projects.
80 project: 'releng/builder'
84 build-node: centos7-java-builder-2c-4g
87 name: builder-check-poms
88 node: centos7-java-builder-2c-4g
90 project-type: freestyle
93 - opendaylight-infra-properties:
94 build-days-to-keep: 14
97 - opendaylight-infra-parameters:
98 os-cloud: '{os-cloud}'
101 refspec: 'refs/heads/{branch}'
102 artifacts: '{archive-artifacts}'
105 - opendaylight-infra-wrappers:
106 build-timeout: '{build-timeout}'
112 - shell: !include-raw-escape: include-raw-check-poms.sh
115 - email-notification:
116 email-recipients: '{email-recipients}'
117 email-prefix: '[releng]'
122 name: 'builder-cleanup-old-images'
123 project-type: freestyle
124 node: centos7-java-builder-2c-4g
127 - opendaylight-infra-properties:
128 build-days-to-keep: 7
131 - opendaylight-infra-parameters:
132 os-cloud: '{os-cloud}'
135 refspec: 'refs/heads/{branch}'
136 artifacts: '{archive-artifacts}'
143 - opendaylight-infra-wrappers:
144 build-timeout: '{build-timeout}'
145 # Listed after to override openstack-infra-wrappers clouds.yaml definition
146 - config-file-provider:
148 - file-id: opendaylight-private-clouds-yaml
149 target: '$HOME/.config/openstack/clouds.yaml'
152 # Cleanup images on a weekly schedule
156 - shell: !include-raw-escape:
157 - global-jjb/shell/lftools-install.sh
158 - opendaylight-infra-cleanup-old-images.sh
161 - email-notification:
162 email-recipients: '{email-recipients}'
163 email-prefix: '[releng]'
168 name: 'builder-delete-stale-nodes'
169 project-type: freestyle
170 node: centos7-java-builder-2c-4g
173 - opendaylight-infra-properties:
174 build-days-to-keep: 7
177 - opendaylight-infra-parameters:
178 os-cloud: '{os-cloud}'
181 refspec: 'refs/heads/{branch}'
182 artifacts: '{archive-artifacts}'
185 - opendaylight-infra-wrappers:
186 build-timeout: '{build-timeout}'
189 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
190 - timed: '0,30 * * * *'
193 - shell: !include-raw-escape:
194 - global-jjb/shell/lftools-install.sh
195 - opendaylight-infra-cleanup-stale-nodes.sh
198 - email-notification:
199 email-recipients: '{email-recipients}'
200 email-prefix: '[releng]'
205 name: 'builder-delete-stale-stacks'
206 project-type: freestyle
207 node: centos7-java-builder-2c-4g
210 - opendaylight-infra-properties:
211 build-days-to-keep: 7
214 - opendaylight-infra-parameters:
215 os-cloud: '{os-cloud}'
218 refspec: 'refs/heads/{branch}'
219 artifacts: '{archive-artifacts}'
222 - opendaylight-infra-wrappers:
223 build-timeout: '{build-timeout}'
226 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
227 - timed: '0,30 * * * *'
230 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
233 - email-notification:
234 email-recipients: '{email-recipients}'
235 email-prefix: '[releng]'
240 name: 'builder-update-image-list'
241 project-type: freestyle
242 node: centos7-java-builder-2c-4g
245 - opendaylight-infra-properties:
246 build-days-to-keep: 7
249 - opendaylight-infra-parameters:
253 refspec: 'refs/heads/{branch}'
254 artifacts: '{archive-artifacts}'
261 - opendaylight-infra-wrappers:
262 build-timeout: '{build-timeout}'
263 # Listed after to override openstack-infra-wrappers clouds.yaml definition
264 - config-file-provider:
266 - file-id: opendaylight-private-clouds-yaml
267 target: '$HOME/.config/openstack/clouds.yaml'
270 # Update image list every Monday to Friday at 11:00 UTC
271 - timed: '0 11 * * 1-5'
274 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
275 - opendaylight-infra-push-gerrit-patch:
277 gerrit-topic: 'releng-update-cloud-image-list'
278 gerrit-commit-message: 'Update cloud image list docs'
281 - email-notification:
282 email-recipients: '{email-recipients}'
283 email-prefix: '[releng]'
287 name: 'builder-verify-packer'
288 project-type: freestyle
289 node: centos7-java-builder-2c-4g
293 - opendaylight-infra-properties:
294 build-days-to-keep: 14
297 - opendaylight-infra-parameters:
298 os-cloud: '{os-cloud}'
301 refspec: 'refs/heads/{branch}'
302 artifacts: '{archive-artifacts}'
305 - gerrit-trigger-scm:
306 refspec: '$GERRIT_REFSPEC'
307 choosing-strategy: 'gerrit'
310 - opendaylight-infra-wrappers:
311 build-timeout: '{build-timeout}'
314 - gerrit-trigger-patch-submitted:
315 server: '{server-name}'
324 - email-notification:
325 email-recipients: '{email-recipients}'
326 email-prefix: '[{project}]'
330 name: 'builder-merge-packer-{platforms}-{templates}'
331 project-type: freestyle
332 node: centos7-java-builder-2c-4g
335 - opendaylight-infra-properties:
336 build-days-to-keep: 14
339 - opendaylight-infra-parameters:
340 os-cloud: '{os-cloud}'
343 refspec: 'refs/heads/{branch}'
344 artifacts: '{archive-artifacts}'
347 - gerrit-trigger-scm:
348 refspec: '$GERRIT_REFSPEC'
351 choosing-strategy: 'default'
354 - opendaylight-infra-wrappers:
355 build-timeout: '{build-timeout}'
358 - timed: '00 10 1 * *'
360 server-name: '{server-name}'
362 - change-merged-event
363 - comment-added-contains-event:
364 comment-contains-value: 'remerge'
366 - project-compare-type: 'ANT'
367 project-pattern: 'releng/builder'
369 - branch-compare-type: 'ANT'
370 branch-pattern: '**/{branch}'
373 pattern: 'packer/vars/{platforms}.json'
375 pattern: 'packer/templates/{templates}.json'
377 pattern: 'packer/provision/{templates}.sh'
379 pattern: 'packer/provision/system_reseal.sh'
381 pattern: 'packer/provision/rh-user_data.sh'
383 pattern: 'packer/provision/devstack-pre-pip.sh'
385 pattern: 'packer/provision/baseline.sh'
390 platform: '{platforms}'
391 template: '{templates}'
394 - email-notification:
395 email-recipients: '{email-recipients}'
396 email-prefix: '[{project}]'
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-replace-block-text:
456 starting-regex: "'csit-list-nitrogen: >'"
457 ending-regex: "'csit-list-carbon: >'"
458 file-with-changes-to-insert: "'csit_jobs_nitrogen.lst'"
459 file-to-change: "'jjb/releng-defaults.yaml'"
460 - integration-replace-block-text:
461 starting-regex: "'csit-list-carbon: >'"
462 ending-regex: "'csit-list-boron: >'"
463 file-with-changes-to-insert: "'csit_jobs_carbon.lst'"
464 file-to-change: "'jjb/releng-defaults.yaml'"
465 - integration-replace-block-text:
466 starting-regex: "'csit-list-boron: >'"
467 ending-regex: "'# CSIT TESTS END SED MARKER'"
468 file-with-changes-to-insert: "'csit_jobs_boron.lst'"
469 file-to-change: "'jjb/releng-defaults.yaml'"
472 git add jjb/releng-defaults.yaml
473 - opendaylight-infra-push-gerrit-patch:
474 project: "releng/builder"
475 gerrit-topic: "auto-update-csit-jobs"
476 gerrit-commit-message: "Auto Update CSIT Jobs to run"
479 - email-notification:
480 email-recipients: '{email-recipients}'
481 email-prefix: '[releng]'