5 - '{project-name}-rtd-jobs':
6 project-pattern: releng/builder
7 rtd-build-url: https://readthedocs.org/api/v2/webhook/opendaylight-releng-builder/32926/
8 rtd-token: e9fa62bd60a39c22de631791309ccacc37a9929e
9 - gerrit-jenkins-cfg-merge:
10 jenkins-silos: releng sandbox
11 - gerrit-jenkins-sandbox-cleanup
12 - gerrit-jjb-deploy-job
14 build-node: centos7-builder-4c-4g
18 - builder-copy-sandbox-logs
19 - builder-openstack-cron
21 # Automation for docs and jobs
22 - 'builder-update-image-list'
24 # The following values are only specified here
25 # so that code blocks look similar to other projects.
26 project: 'releng/builder'
30 build-node: centos7-builder-2c-2g
31 archive-artifacts: '**/*.log'
35 https://jenkins.opendaylight.org/releng
36 https://jenkins.opendaylight.org/sandbox
39 name: builder-check-poms
40 node: centos7-builder-2c-1g
42 project-type: freestyle
45 - opendaylight-infra-properties:
46 build-days-to-keep: 14
49 - opendaylight-infra-parameters:
50 os-cloud: '{os-cloud}'
53 refspec: 'refs/heads/{branch}'
54 artifacts: '{archive-artifacts}'
57 - opendaylight-infra-wrappers:
58 build-timeout: '{build-timeout}'
64 - shell: !include-raw-escape: check-poms.sh
68 email-recipients: '{email-recipients}'
69 email-prefix: '[releng]'
73 name: builder-copy-sandbox-logs
74 node: centos7-builder-2c-1g
76 project-type: freestyle
79 - opendaylight-infra-properties:
83 - opendaylight-infra-parameters:
91 - opendaylight-infra-wrappers:
96 server-name: '{gerrit-server-name}'
98 - comment-added-contains-event:
99 comment-contains-value: 'copy-logs:'
101 - project-compare-type: ANT
102 project-pattern: '**'
104 - branch-compare-type: ANT
108 - shell: !include-raw-escape: copy-sandbox-logs.sh
115 name: builder-openstack-cron
116 project-type: freestyle
121 - lf-infra-properties:
122 build-days-to-keep: 7
125 - lf-infra-parameters:
129 lftools-version: '{lftools-version}'
132 default: '{os-cloud}'
134 The name of a cloud configuration in clouds.yaml. OS_CLOUD is a
135 variable name that is significant to openstack client as a
136 environment variable. Please refer to the documentation for
138 https://docs.openstack.org/developer/python-openstackclient/
140 name: ARCHIVE_ARTIFACTS
141 default: '{archive-artifacts}'
142 description: Artifacts to archive to the logs server.
145 default: '{jenkins-urls}'
146 description: 'Space separated list of Jenkins URLs to check for active builds'
154 build-timeout: '{build-timeout}'
155 jenkins-ssh-credential: '{jenkins-ssh-credential}'
156 # Listed after to override openstack-infra-wrappers clouds.yaml definition
157 - config-file-provider:
159 - file-id: clouds-yaml
160 target: '$HOME/.config/openstack/clouds.yaml'
162 target: '$HOME/.npmrc'
164 target: '$HOME/.config/pip/pip.conf'
167 - timed: '0,30 * * * *'
173 pip install --user --upgrade lftools[openstack]~=0.17.1
175 - odl-openstack-cleanup-stale-stacks
176 - odl-openstack-cleanup-stale-nodes
177 - odl-openstack-cleanup-orphaned-nodes
179 - odl-openstack-cleanup-stale-volumes
181 - odl-openstack-check-image-protection
182 - odl-openstack-cleanup-old-images
188 name: 'builder-update-image-list'
189 project-type: freestyle
190 node: centos7-builder-2c-1g
193 - opendaylight-infra-properties:
194 build-days-to-keep: 7
197 - opendaylight-infra-parameters:
201 refspec: 'refs/heads/{branch}'
202 artifacts: '{archive-artifacts}'
209 - opendaylight-infra-wrappers:
210 build-timeout: '{build-timeout}'
211 # Listed after to override openstack-infra-wrappers clouds.yaml definition
212 - config-file-provider:
214 - file-id: clouds-yaml
215 target: '$HOME/.config/openstack/clouds.yaml'
218 # Update image list every Monday to Friday at 11:00 UTC
219 - timed: '0 11 * * 1-5'
222 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
223 - lf-infra-push-gerrit-patch:
225 gerrit-user: 'jenkins-$SILO'
226 gerrit-host: 'git.opendaylight.org'
227 gerrit-topic: 'releng-update-cloud-image-list'
228 gerrit-commit-message: 'Update cloud image list docs'
229 reviewers-email: 'jluhrsen@redhat.com'
232 - email-notification:
233 email-recipients: '{email-recipients}'
234 email-prefix: '[releng]'