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:
153 - global-jjb/shell/lftools-install.sh
154 - opendaylight-infra-cleanup-old-images.sh
157 - email-notification:
158 email-recipients: '{email-recipients}'
159 email-prefix: '[releng]'
160 - opendaylight-infra-shiplogs:
161 maven-version: 'mvn33'
165 name: 'builder-delete-stale-nodes'
166 project-type: freestyle
167 node: centos7-java-builder-2c-4g
170 - opendaylight-infra-properties:
171 build-days-to-keep: 7
174 - opendaylight-infra-parameters:
175 os-cloud: '{os-cloud}'
178 refspec: 'refs/heads/{branch}'
179 artifacts: '{archive-artifacts}'
182 - opendaylight-infra-wrappers:
183 build-timeout: '{build-timeout}'
186 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
187 - timed: '0,30 * * * *'
190 - shell: !include-raw-escape:
191 - global-jjb/shell/lftools-install.sh
192 - opendaylight-infra-cleanup-stale-nodes.sh
195 - email-notification:
196 email-recipients: '{email-recipients}'
197 email-prefix: '[releng]'
198 - opendaylight-infra-shiplogs:
199 maven-version: 'mvn33'
203 name: 'builder-delete-stale-stacks'
204 project-type: freestyle
205 node: centos7-java-builder-2c-4g
208 - opendaylight-infra-properties:
209 build-days-to-keep: 7
212 - opendaylight-infra-parameters:
213 os-cloud: '{os-cloud}'
216 refspec: 'refs/heads/{branch}'
217 artifacts: '{archive-artifacts}'
220 - opendaylight-infra-wrappers:
221 build-timeout: '{build-timeout}'
224 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
225 - timed: '0,30 * * * *'
228 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
231 - email-notification:
232 email-recipients: '{email-recipients}'
233 email-prefix: '[releng]'
234 - opendaylight-infra-shiplogs:
235 maven-version: 'mvn33'
239 name: 'builder-update-image-list'
240 project-type: freestyle
241 node: centos7-java-builder-2c-4g
244 - opendaylight-infra-properties:
245 build-days-to-keep: 7
248 - opendaylight-infra-parameters:
252 refspec: 'refs/heads/{branch}'
253 artifacts: '{archive-artifacts}'
260 - opendaylight-infra-wrappers:
261 build-timeout: '{build-timeout}'
262 # Listed after to override openstack-infra-wrappers clouds.yaml definition
263 - config-file-provider:
265 - file-id: opendaylight-private-clouds-yaml
266 target: '$HOME/.config/openstack/clouds.yaml'
269 # Update image list every Monday to Friday at 11:00 UTC
270 - timed: '0 11 * * 1-5'
273 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
274 - opendaylight-infra-push-gerrit-patch:
276 gerrit-topic: 'releng-update-cloud-image-list'
277 gerrit-commit-message: 'Update cloud image list docs'
280 - email-notification:
281 email-recipients: '{email-recipients}'
282 email-prefix: '[releng]'
283 - opendaylight-infra-shiplogs:
284 maven-version: 'mvn33'
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}]'
327 - opendaylight-infra-shiplogs:
328 maven-version: 'mvn33'
331 name: 'builder-merge-packer-{platforms}-{templates}'
332 project-type: freestyle
333 node: centos7-java-builder-2c-4g
336 - opendaylight-infra-properties:
337 build-days-to-keep: 14
340 - opendaylight-infra-parameters:
341 os-cloud: '{os-cloud}'
344 refspec: 'refs/heads/{branch}'
345 artifacts: '{archive-artifacts}'
348 - gerrit-trigger-scm:
349 refspec: '$GERRIT_REFSPEC'
352 choosing-strategy: 'default'
355 - opendaylight-infra-wrappers:
356 build-timeout: '{build-timeout}'
359 - timed: '00 10 1 * *'
361 server-name: '{server-name}'
363 - change-merged-event
364 - comment-added-contains-event:
365 comment-contains-value: 'remerge'
367 - project-compare-type: 'ANT'
368 project-pattern: 'releng/builder'
370 - branch-compare-type: 'ANT'
371 branch-pattern: '**/{branch}'
374 pattern: 'packer/vars/{platforms}.json'
376 pattern: 'packer/templates/{templates}.json'
378 pattern: 'packer/provision/{templates}.sh'
380 pattern: 'packer/provision/system_reseal.sh'
382 pattern: 'packer/provision/rh-user_data.sh'
384 pattern: 'packer/provision/devstack-pre-pip.sh'
386 pattern: 'packer/provision/baseline.sh'
391 platform: '{platforms}'
392 template: '{templates}'
395 - email-notification:
396 email-recipients: '{email-recipients}'
397 email-prefix: '[{project}]'
398 - opendaylight-infra-shiplogs:
399 maven-version: 'mvn33'
402 name: 'builder-update-csit-tests'
403 node: centos7-java-builder-2c-8g
405 # builder-update-csit-tests job
407 # This job's purpose is to update csit
408 # tests to run in integration-distribution-test-{stream}
409 # by updating releng-defaults variables: csit-list-carbon,
410 # csit-list-boron, csit-list-beryllium
412 project-type: freestyle
415 - opendaylight-infra-properties:
416 build-days-to-keep: 14
419 - opendaylight-infra-parameters:
420 os-cloud: '{os-cloud}'
423 refspec: 'refs/heads/{branch}'
424 artifacts: '{archive-artifacts}'
427 - gerrit-trigger-scm:
429 choosing-strategy: 'default'
432 - opendaylight-infra-wrappers:
433 build-timeout: '{build-timeout}'
437 jobs: 'builder-jjb-merge'
441 git checkout -b auto-update-csit-jobs
442 - integration-list-jobs:
443 blacklist: '{csit-list-blacklist}'
444 search_string: "csit"
446 jobs-filename: "csit_jobs_nitrogen.lst"
447 - integration-list-jobs:
448 blacklist: '{csit-list-blacklist}'
449 search_string: "csit"
451 jobs-filename: "csit_jobs_carbon.lst"
452 - integration-list-jobs:
453 blacklist: '{csit-list-blacklist}'
454 search_string: "csit"
456 jobs-filename: "csit_jobs_boron.lst"
457 - integration-list-jobs:
458 blacklist: '{csit-list-blacklist}'
459 search_string: "csit"
461 jobs-filename: "csit_jobs_beryllium.lst"
462 - integration-replace-block-text:
463 starting-regex: "'csit-list-nitrogen: >'"
464 ending-regex: "'csit-list-carbon: >'"
465 file-with-changes-to-insert: "'csit_jobs_nitrogen.lst'"
466 file-to-change: "'jjb/releng-defaults.yaml'"
467 - integration-replace-block-text:
468 starting-regex: "'csit-list-carbon: >'"
469 ending-regex: "'csit-list-boron: >'"
470 file-with-changes-to-insert: "'csit_jobs_carbon.lst'"
471 file-to-change: "'jjb/releng-defaults.yaml'"
472 - integration-replace-block-text:
473 starting-regex: "'csit-list-boron: >'"
474 ending-regex: "'csit-list-beryllium: >'"
475 file-with-changes-to-insert: "'csit_jobs_boron.lst'"
476 file-to-change: "'jjb/releng-defaults.yaml'"
477 - integration-replace-block-text:
478 starting-regex: "'csit-list-beryllium: >'"
479 ending-regex: "'# CSIT TESTS END SED MARKER'"
480 file-with-changes-to-insert: "'csit_jobs_beryllium.lst'"
481 file-to-change: "'jjb/releng-defaults.yaml'"
484 git add jjb/releng-defaults.yaml
485 - opendaylight-infra-push-gerrit-patch:
486 project: "releng/builder"
487 gerrit-topic: "auto-update-csit-jobs"
488 gerrit-commit-message: "Auto Update CSIT Jobs to run"
491 - email-notification:
492 email-recipients: '{email-recipients}'
493 email-prefix: '[releng]'
494 - opendaylight-infra-shiplogs:
495 maven-version: 'mvn33'