blob: e651207e413d2f8c264d10bb7d2a386af9004f72 [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:
18 - zuul: zuul/zuul-jobs
19 timeout: 1800
avm9996348a222d2021-02-09 02:06:14 +010020 nodeset:
21 nodes:
22 - name: ubuntu-focal
23 label: ubuntu-focal
Adrià Vilanova Martínez0d05ff02021-02-10 09:54:16 +000024 secrets:
25 - name: s3_config
26 secret: s3-secrets
Adrià Vilanova Martínezbe495d12023-11-27 19:59:05 +010027
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
Adrià Vilanova Martínez87ea5222024-07-13 12:33:03 +020037 post-run:
38 - name: playbooks/copybara-base/cleanup.yaml
39 cleanup: true
Adrià Vilanova Martínezbe495d12023-11-27 19:59:05 +010040 roles:
41 - zuul: zuul/jobs
42 post-review: true
43 nodeset:
44 nodes:
45 - name: copybara
46 label: copybara
47 secrets:
48 - name: copybara_secrets
49 secret: copybara-secrets
Adrià Vilanova Martínez663309a2023-11-29 19:54:30 +010050
51- job:
52 name: copybara-test-base
53 parent: base
54 description: |
55 Base job for test jobs which deal with Copybara.
56
57 It doesn't set up the git credentials for the Copybara bot since
58 it is meant for jobs which are run pre-review.
59
60 For instance, it can be used to validate Copybara config files.
61 nodeset:
62 nodes:
63 - name: copybara
64 label: copybara