bc353841d5
Change-Id: Ib6d0fef267a7b54997be14bec15ae354831113e7 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
108 lines
2.8 KiB
YAML
108 lines
2.8 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)
|
|
github:
|
|
- event: pull_request
|
|
action:
|
|
- opened
|
|
- changed
|
|
- reopened
|
|
- event: pull_request
|
|
action: comment
|
|
comment: (?i)^\s*recheck\s*$
|
|
start:
|
|
github:
|
|
status: pending
|
|
comment: false
|
|
success:
|
|
gerrit:
|
|
Verified: 1
|
|
github:
|
|
status: 'success'
|
|
mysql:
|
|
score: 1
|
|
failure:
|
|
gerrit:
|
|
Verified: -1
|
|
github:
|
|
status: 'failure'
|
|
mysql:
|
|
score: -1
|
|
|
|
- pipeline:
|
|
name: release
|
|
# NOTE(pabelanger): release pipeline needs access to credentials (eg: pypi).
|
|
allow-secrets: true
|
|
description: When a commit is tagged as a release, this pipeline runs jobs that publish archives and documentation.
|
|
manager: independent
|
|
precedence: high
|
|
trigger:
|
|
gerrit:
|
|
- event: ref-updated
|
|
ref: ^refs/tags/[0-9]+(\.[0-9]+)*$
|
|
# TODO(pabelanger): Uncomment for production
|
|
# failure:
|
|
# smtp:
|
|
# from: zuul@openstack.org
|
|
# to: release-job-failures@lists.openstack.org
|
|
# subject: 'Release of {change.project} failed'
|
|
|
|
- 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
|
|
|
|
- job:
|
|
name: publish-openstack-tarball
|
|
parent: base
|
|
description: |
|
|
Publish job to upload artifacts to tarballs.openstack.org
|
|
post-run: playbooks/publish/openstack-tarball
|
|
|
|
- project:
|
|
name: openstack-infra/zuul-jobs
|
|
check:
|
|
jobs:
|
|
- openstack-doc-build
|
|
- tox-py35-on-zuul
|