Files
zuul-config/zuul.d/pipelines.yaml
Thierry Carrez 513cf2ed91 Point to user-friendly explanations
For each test, point to documentation that explains what
the check is, how to fix it, how to investigate failure,
and how to get more help.

Change-Id: I8a9d6274c0df8233004437cdd5a51d8f13d1cd21
2019-02-05 16:38:18 +01:00

152 lines
4.0 KiB
YAML

# Shared zuul config specific to the Kata Containers Zuul tenant
# Contains definitions of pipelines
- pipeline:
name: gerrit-check
description: |
Newly uploaded Gerrit patchsets enter this pipeline to receive an
initial +/-1 Verified vote.
success-message: Build succeeded (check pipeline).
failure-message: |
Build failed (check pipeline). For information on how to proceed, see
http://docs.openstack.org/infra/manual/developers.html#automated-testing
manager: independent
precedence: low
require:
gerrit:
open: True
current-patchset: True
trigger:
gerrit:
- event: patchset-created
- event: change-restored
- event: comment-added
comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*recheck
success:
gerrit:
# Note that gerrit keywords are case-sensitive.
Verified: 1
mysql:
failure:
gerrit:
Verified: -1
mysql:
- pipeline:
name: gerrit-gate
description: |
Gerrit changes that have been approved by core reviewers are enqueued
in order in this pipeline, and if they pass tests, will be merged.
success-message: Build succeeded (gate pipeline).
failure-message: |
Build failed (gate pipeline). For information on how to proceed, see
http://docs.openstack.org/infra/manual/developers.html#automated-testing
manager: dependent
precedence: normal
post-review: True
require:
gerrit:
open: True
current-patchset: True
trigger:
gerrit:
- event: comment-added
approval:
- Workflow: 1
- event: comment-added
comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*reverify
start:
gerrit:
Verified: 0
success:
gerrit:
Verified: 2
submit: true
mysql:
failure:
gerrit:
Verified: -2
mysql:
window-floor: 20
window-increase-factor: 2
- pipeline:
name: SoB-check
description: |
New and modified GitHub PRs enter this pipeline to be tested.
success-message: DCO (Signed-Off-By) is present.
failure-message: Missing DCO (Signed-Off-By) in commit message.
manager: independent
precedence: low
trigger:
github:
- event: pull_request
action:
- opened
- changed
- reopened
- event: pull_request
action: comment
comment: (?i)^\s*/zuul-recheck\s*$
start:
github:
status: pending
comment: false
success:
github:
status: 'success'
comment: false
status-url: |
https://github.com/kata-containers/community/wiki/The-SoB-check
mysql:
failure:
github:
status: 'failure'
comment: false
status-url: |
https://github.com/kata-containers/community/wiki/The-SoB-check
mysql:
# Don't report merge-failures to github
merge-failure:
mysql:
- pipeline:
name: WIP-check
description: |
New, modified and re-labelled GitHub PRs enter this pipeline to
have their merge-readiness status reevaluated.
success-message: PR is ready to merge.
failure-message: PR merging is blocked by a WIP label or title keyword.
manager: independent
precedence: low
trigger:
github:
- event: pull_request
action:
- opened
- changed
- reopened
- labeled
- unlabeled
start:
github:
status: pending
comment: false
success:
github:
status: 'success'
comment: false
status-url: |
https://github.com/kata-containers/community/wiki/The-WIP-check
mysql:
failure:
github:
status: 'failure'
comment: false
status-url: |
https://github.com/kata-containers/community/wiki/The-WIP-check
mysql:
# Don't report merge-failures to github
merge-failure:
mysql: