blob: 33046a5fab6c33c20d352aed51733a410bf054ac [file] [log] [blame]
- job:
name: base
parent: null
description: |
The recommended base job.
All jobs ultimately inherit from this. It runs a pre-playbook
which copies all of the job's prepared git repos on to all of
the nodes in the nodeset.
It also sets a default timeout value (which may be overidden).
pre-run:
- playbooks/base/pre.yaml
post-run:
- playbooks/base/post-ssh.yaml
- playbooks/base/post-logs.yaml
roles:
- zuul: zuul/zuul-jobs
timeout: 1800
nodeset:
nodes:
- name: ubuntu-focal
label: ubuntu-focal
secrets:
- name: s3_config
secret: s3-secrets
- job:
name: copybara-base
parent: base
description: |
Base job for jobs which deal with Copybara.
It sets up the git credentials for the Copybara bot.
pre-run:
- playbooks/copybara-base/pre.yaml
cleanup-run:
- playbooks/copybara-base/cleanup.yaml
roles:
- zuul: zuul/jobs
post-review: true
nodeset:
nodes:
- name: copybara
label: copybara
secrets:
- name: copybara_secrets
secret: copybara-secrets