avm99963 | 48a222d | 2021-02-09 02:06:14 +0100 | [diff] [blame] | 1 | - job: |
Adrià Vilanova Martínez | 94420f3 | 2021-02-10 09:53:05 +0000 | [diff] [blame] | 2 | name: base |
avm99963 | 48a222d | 2021-02-09 02:06:14 +0100 | [diff] [blame] | 3 | parent: null |
Adrià Vilanova Martínez | 0d05ff0 | 2021-02-10 09:54:16 +0000 | [diff] [blame] | 4 | description: | |
| 5 | The recommended base job. |
| 6 | |
| 7 | All jobs ultimately inherit from this. It runs a pre-playbook |
| 8 | which copies all of the job's prepared git repos on to all of |
| 9 | the nodes in the nodeset. |
| 10 | |
| 11 | It also sets a default timeout value (which may be overidden). |
avm99963 | 66946ba | 2021-02-11 00:48:10 +0100 | [diff] [blame] | 12 | pre-run: |
avm99963 | 66946ba | 2021-02-11 00:48:10 +0100 | [diff] [blame] | 13 | - playbooks/base/pre.yaml |
Adrià Vilanova Martínez | 0d05ff0 | 2021-02-10 09:54:16 +0000 | [diff] [blame] | 14 | post-run: |
| 15 | - playbooks/base/post-ssh.yaml |
| 16 | - playbooks/base/post-logs.yaml |
| 17 | roles: |
| 18 | - zuul: zuul/zuul-jobs |
| 19 | timeout: 1800 |
avm99963 | 48a222d | 2021-02-09 02:06:14 +0100 | [diff] [blame] | 20 | nodeset: |
| 21 | nodes: |
| 22 | - name: ubuntu-focal |
| 23 | label: ubuntu-focal |
Adrià Vilanova Martínez | 0d05ff0 | 2021-02-10 09:54:16 +0000 | [diff] [blame] | 24 | secrets: |
| 25 | - name: s3_config |
| 26 | secret: s3-secrets |
Adrià Vilanova Martínez | be495d1 | 2023-11-27 19:59:05 +0100 | [diff] [blame] | 27 | |
| 28 | - job: |
| 29 | name: copybara-base |
| 30 | parent: base |
| 31 | description: | |
| 32 | Base job for jobs which deal with Copybara. |
| 33 | |
| 34 | It sets up the git credentials for the Copybara bot. |
| 35 | pre-run: |
| 36 | - playbooks/copybara-base/pre.yaml |
| 37 | cleanup-run: |
| 38 | - playbooks/copybara-base/cleanup.yaml |
| 39 | roles: |
| 40 | - zuul: zuul/jobs |
| 41 | post-review: true |
| 42 | nodeset: |
| 43 | nodes: |
| 44 | - name: copybara |
| 45 | label: copybara |
| 46 | secrets: |
| 47 | - name: copybara_secrets |
| 48 | secret: copybara-secrets |
Adrià Vilanova Martínez | 663309a | 2023-11-29 19:54:30 +0100 | [diff] [blame] | 49 | |
| 50 | - job: |
| 51 | name: copybara-test-base |
| 52 | parent: base |
| 53 | description: | |
| 54 | Base job for test jobs which deal with Copybara. |
| 55 | |
| 56 | It doesn't set up the git credentials for the Copybara bot since |
| 57 | it is meant for jobs which are run pre-review. |
| 58 | |
| 59 | For instance, it can be used to validate Copybara config files. |
| 60 | nodeset: |
| 61 | nodes: |
| 62 | - name: copybara |
| 63 | label: copybara |