project-config/zuul.yaml
James E. Blair d811c8fe0f Update base job to content in base-test
We have demonstrated that the changes in base-test work, port them
over to the openstack base job.

Change-Id: I30bc85cd726aebfa0981fad0ff0595a34cfb227c
2017-07-17 13:49:55 -07:00

62 lines
1.6 KiB
YAML

- pipeline:
name: check
manager: independent
trigger:
gerrit:
- event: patchset-created
- event: comment-added
comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*(recheck|reverify)
success:
gerrit:
verified: 1
failure:
gerrit:
verified: -1
- job:
name: base
description: |
The base job for OpenStack's installation of Zuul.
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 runs a post-playbook which copies
all of the files in the logs/ subdirectory of the executor
work directory to the logserver.
It also sets default timeout and nodeset values (which may be
overidden).
pre-run: playbooks/base/pre
post-run:
- playbooks/base/post-ssh
- playbooks/base/post-logs
roles:
- zuul: openstack-infra/zuul-jobs
timeout: 1800
nodes:
- name: ubuntu-xenial
label: ubuntu-xenial
- job:
name: base-test
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
post-run:
- playbooks/base-test/post-ssh
- playbooks/base-test/post-logs
roles:
- zuul: openstack-infra/zuul-jobs
timeout: 1800
nodes:
- name: ubuntu-xenial
label: ubuntu-xenial
- project:
name: openstack-infra/zuul-jobs
check:
jobs:
- openstack-doc-build
- tox-py35-on-zuul