blob: bdc5be13d9ea2665048d2a6413a63f9becfa7170 [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
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ínez663309a2023-11-29 19:54:30 +010049
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