
This updates the base-jobs to use the new post-run cleanup flag rather than the deprecated cleanup-run attribute. Change-Id: I252f110698d0193e82fb437d0914a7698733f216
35 lines
964 B
YAML
35 lines
964 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
|
|
- name: playbooks/base/cleanup.yaml
|
|
cleanup: true
|
|
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
|
|
- name: playbooks/base-test/cleanup.yaml
|
|
cleanup: true
|
|
roles:
|
|
- zuul: opendev.org/zuul/zuul-jobs
|
|
timeout: 1800
|