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: |
Adrià Vilanova Martínez | e241f60 | 2024-07-13 12:43:11 +0200 | [diff] [blame] | 18 | - zuul: zuul/jobs |
Adrià Vilanova Martínez | 0d05ff0 | 2021-02-10 09:54:16 +0000 | [diff] [blame] | 19 | - zuul: zuul/zuul-jobs |
| 20 | timeout: 1800 |
avm99963 | 48a222d | 2021-02-09 02:06:14 +0100 | [diff] [blame] | 21 | nodeset: |
| 22 | nodes: |
| 23 | - name: ubuntu-focal |
| 24 | label: ubuntu-focal |
Adrià Vilanova Martínez | 0d05ff0 | 2021-02-10 09:54:16 +0000 | [diff] [blame] | 25 | secrets: |
| 26 | - name: s3_config |
| 27 | secret: s3-secrets |
Adrià Vilanova Martínez | be495d1 | 2023-11-27 19:59:05 +0100 | [diff] [blame] | 28 | |
| 29 | - job: |
| 30 | name: copybara-base |
| 31 | parent: base |
| 32 | description: | |
| 33 | Base job for jobs which deal with Copybara. |
| 34 | |
| 35 | It sets up the git credentials for the Copybara bot. |
| 36 | pre-run: |
| 37 | - playbooks/copybara-base/pre.yaml |
Adrià Vilanova Martínez | 87ea522 | 2024-07-13 12:33:03 +0200 | [diff] [blame] | 38 | post-run: |
| 39 | - name: playbooks/copybara-base/cleanup.yaml |
| 40 | cleanup: true |
Adrià Vilanova Martínez | be495d1 | 2023-11-27 19:59:05 +0100 | [diff] [blame] | 41 | roles: |
| 42 | - zuul: zuul/jobs |
| 43 | post-review: true |
| 44 | nodeset: |
| 45 | nodes: |
| 46 | - name: copybara |
| 47 | label: copybara |
| 48 | secrets: |
| 49 | - name: copybara_secrets |
| 50 | secret: copybara-secrets |
Adrià Vilanova Martínez | 663309a | 2023-11-29 19:54:30 +0100 | [diff] [blame] | 51 | |
| 52 | - job: |
| 53 | name: copybara-test-base |
| 54 | parent: base |
| 55 | description: | |
| 56 | Base job for test jobs which deal with Copybara. |
| 57 | |
| 58 | It doesn't set up the git credentials for the Copybara bot since |
| 59 | it is meant for jobs which are run pre-review. |
| 60 | |
| 61 | For instance, it can be used to validate Copybara config files. |
| 62 | nodeset: |
| 63 | nodes: |
| 64 | - name: copybara |
| 65 | label: copybara |