blob: cd996c7e142db9aa4a1219f0cacd4b1ad21b1639 [file] [log] [blame]
avm9996348a222d2021-02-09 02:06:14 +01001- job:
Adrià Vilanova Martínez94420f32021-02-10 09:53:05 +00002 name: base
avm9996348a222d2021-02-09 02:06:14 +01003 parent: null
Adrià Vilanova Martínez0d05ff02021-02-10 09:54:16 +00004 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).
avm9996366946ba2021-02-11 00:48:10 +010012 pre-run:
avm9996366946ba2021-02-11 00:48:10 +010013 - playbooks/base/pre.yaml
Adrià Vilanova Martínez0d05ff02021-02-10 09:54:16 +000014 post-run:
15 - playbooks/base/post-ssh.yaml
16 - playbooks/base/post-logs.yaml
17 roles:
Adrià Vilanova Martíneze241f602024-07-13 12:43:11 +020018 - zuul: zuul/jobs
Adrià Vilanova Martínez0d05ff02021-02-10 09:54:16 +000019 - zuul: zuul/zuul-jobs
20 timeout: 1800
avm9996348a222d2021-02-09 02:06:14 +010021 nodeset:
22 nodes:
23 - name: ubuntu-focal
24 label: ubuntu-focal
Adrià Vilanova Martínez0d05ff02021-02-10 09:54:16 +000025 secrets:
26 - name: s3_config
27 secret: s3-secrets
Adrià Vilanova Martínezbe495d12023-11-27 19:59:05 +010028
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ínez87ea5222024-07-13 12:33:03 +020038 post-run:
39 - name: playbooks/copybara-base/cleanup.yaml
40 cleanup: true
Adrià Vilanova Martínezbe495d12023-11-27 19:59:05 +010041 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ínez663309a2023-11-29 19:54:30 +010051
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