zuul-base-jobs/zuul.yaml

31 lines
910 B
YAML

- 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.yaml
cleanup-run: playbooks/base/cleanup.yaml
roles:
- zuul: opendev.org/zuul/zuul-jobs
timeout: 1800
- job:
name: base-test
parent: null
description: |
A job to test changes to the base job without disturbing the
main job in production. Not for general use.
pre-run: playbooks/base-test/pre.yaml
post-run: playbooks/base-test/post.yaml
cleanup-run: playbooks/base-test/cleanup.yaml
roles:
- zuul: opendev.org/zuul/zuul-jobs
timeout: 1800