| - job: |
| name: base |
| parent: null |
| description: | |
| The recommended base job. |
| |
| All jobs ultimately inherit from this. It runs a pre-playbook |
| which copies all of the job's prepared git repos on to all of |
| the nodes in the nodeset. |
| |
| It also sets a default timeout value (which may be overidden). |
| pre-run: |
| - playbooks/base/pre.yaml |
| post-run: |
| - playbooks/base/post-ssh.yaml |
| - playbooks/base/post-logs.yaml |
| roles: |
| - zuul: zuul/jobs |
| - zuul: zuul/zuul-jobs |
| timeout: 1800 |
| nodeset: |
| nodes: |
| - name: ubuntu-focal |
| label: ubuntu-focal |
| secrets: |
| - name: s3_config |
| secret: s3-secrets |
| |
| - job: |
| name: copybara-base |
| parent: base |
| description: | |
| Base job for jobs which deal with Copybara. |
| |
| It sets up the git credentials for the Copybara bot. |
| pre-run: |
| - playbooks/copybara-base/pre.yaml |
| post-run: |
| - name: playbooks/copybara-base/cleanup.yaml |
| cleanup: true |
| roles: |
| - zuul: zuul/jobs |
| post-review: true |
| nodeset: |
| nodes: |
| - name: copybara |
| label: copybara |
| secrets: |
| - name: copybara_secrets |
| secret: copybara-secrets |
| |
| - job: |
| name: copybara-test-base |
| parent: base |
| description: | |
| Base job for test jobs which deal with Copybara. |
| |
| It doesn't set up the git credentials for the Copybara bot since |
| it is meant for jobs which are run pre-review. |
| |
| For instance, it can be used to validate Copybara config files. |
| nodeset: |
| nodes: |
| - name: copybara |
| label: copybara |