--- - project: name: builder-jobs jobs: - '{project-name}-rtd-jobs': project-pattern: releng/builder rtd-build-url: https://readthedocs.org/api/v2/webhook/opendaylight-releng-builder/32926/ rtd-token: e9fa62bd60a39c22de631791309ccacc37a9929e - gerrit-jenkins-cfg-merge: jenkins-silos: releng sandbox - gerrit-jjb-deploy-job - gerrit-jjb-merge: build-node: centos7-builder-4c-4g build-timeout: 90 - gerrit-jjb-verify - builder-check-poms - builder-copy-sandbox-logs - builder-openstack-cron - gerrit-tox-verify # Automation for docs and jobs - 'builder-update-image-list' # The following values are only specified here # so that code blocks look similar to other projects. project: 'releng/builder' project-name: builder stream: master branch: master build-node: centos7-builder-2c-2g archive-artifacts: '**/*.log' build-timeout: 30 jjb-version: 2.2.1 jenkins-urls: > https://jenkins.opendaylight.org/releng https://jenkins.opendaylight.org/sandbox - job-template: name: builder-check-poms node: centos7-builder-2c-1g project-type: freestyle properties: - opendaylight-infra-properties: build-days-to-keep: 14 parameters: - opendaylight-infra-parameters: os-cloud: '{os-cloud}' project: '{project}' branch: '{branch}' refspec: 'refs/heads/{branch}' artifacts: '{archive-artifacts}' wrappers: - opendaylight-infra-wrappers: build-timeout: '{build-timeout}' triggers: - timed: 'H H * * 1' builders: - shell: !include-raw-escape: check-poms.sh publishers: - email-notification: email-recipients: '{email-recipients}' email-prefix: '[releng]' - lf-infra-publish - job-template: name: builder-copy-sandbox-logs node: centos7-builder-2c-1g project-type: freestyle properties: - opendaylight-infra-properties: build-days-to-keep: 1 parameters: - opendaylight-infra-parameters: os-cloud: '' project: '' branch: '' refspec: '' artifacts: '' wrappers: - opendaylight-infra-wrappers: build-timeout: 10 triggers: - gerrit: server-name: '{gerrit-server-name}' trigger-on: - comment-added-contains-event: comment-contains-value: 'copy-logs:' projects: - project-compare-type: ANT project-pattern: '**' branches: - branch-compare-type: ANT branch-pattern: '**' builders: - shell: !include-raw-escape: copy-sandbox-logs.sh publishers: - lf-infra-publish - job-template: name: builder-openstack-cron project-type: freestyle node: '{build-node}' concurrent: true properties: - lf-infra-properties: build-days-to-keep: 7 parameters: - lf-infra-parameters: project: '{project}' stream: '{stream}' branch: '{branch}' lftools-version: '{lftools-version}' - string: name: OS_CLOUD default: '{os-cloud}' description: | The name of a cloud configuration in clouds.yaml. OS_CLOUD is a variable name that is significant to openstack client as a environment variable. Please refer to the documentation for further details. https://docs.openstack.org/developer/python-openstackclient/ - string: name: ARCHIVE_ARTIFACTS default: '{archive-artifacts}' description: Artifacts to archive to the logs server. - string: name: JENKINS_URLS default: '{jenkins-urls}' description: 'Space separated list of Jenkins URLs to check for active builds' scm: - git-scm: branch: '{branch}' wrappers: - lf-infra-wrappers: build-timeout: '{build-timeout}' jenkins-ssh-credential: '{jenkins-ssh-credential}' # Listed after to override openstack-infra-wrappers clouds.yaml definition - config-file-provider: files: - file-id: clouds-yaml target: '$HOME/.config/openstack/clouds.yaml' - file-id: npmrc target: '$HOME/.npmrc' - file-id: pipconf target: '$HOME/.config/pip/pip.conf' triggers: - timed: '0,30 * * * *' builders: - lf-infra-pre-build - shell: | #!/bin/bash -l pip install --user --upgrade lftools[openstack]~=0.17.1 # Servers - odl-openstack-cleanup-stale-stacks - odl-openstack-cleanup-stale-nodes - odl-openstack-cleanup-orphaned-nodes # Volumes - odl-openstack-cleanup-stale-volumes # Images - odl-openstack-check-image-protection - odl-openstack-cleanup-old-images publishers: - lf-infra-publish - job-template: name: 'builder-update-image-list' project-type: freestyle node: centos7-builder-2c-1g properties: - opendaylight-infra-properties: build-days-to-keep: 7 parameters: - opendaylight-infra-parameters: os-cloud: vex project: '{project}' branch: '{branch}' refspec: 'refs/heads/{branch}' artifacts: '{archive-artifacts}' scm: - git-scm: branch: '{branch}' wrappers: - opendaylight-infra-wrappers: build-timeout: '{build-timeout}' # Listed after to override openstack-infra-wrappers clouds.yaml definition - config-file-provider: files: - file-id: clouds-yaml target: '$HOME/.config/openstack/clouds.yaml' triggers: # Update image list every Monday to Friday at 11:00 UTC - timed: '0 11 * * 1-5' builders: - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh - lf-infra-push-gerrit-patch: project: '{project}' gerrit-user: 'jenkins-$SILO' gerrit-host: 'git.opendaylight.org' gerrit-topic: 'releng-update-cloud-image-list' gerrit-commit-message: 'Update cloud image list docs' reviewers-email: 'jluhrsen@redhat.com' publishers: - email-notification: email-recipients: '{email-recipients}' email-prefix: '[releng]' - lf-infra-publish