7000de896a
Add the relevant pipeline, jobs, roles, playbooks etc. to enable a Kata QA CI build/run on Ubuntu 16.04 triggered by the relevant github state changes. Change-Id: Id4174c68856bbb792c002b05e36e36bfe19dbca9 Signed-off-by: Graham Whaley <graham.whaley@intel.com>
193 lines
5.0 KiB
YAML
193 lines
5.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:
|
|
|
|
- pipeline:
|
|
name: PR-check
|
|
description: |
|
|
New and modified GitHub PRs enter this pipeline to be tested.
|
|
success-message: PR checks OK.
|
|
failure-message: PR checks failed.
|
|
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/Zuul-PR-checks
|
|
mysql:
|
|
failure:
|
|
github:
|
|
status: 'failure'
|
|
comment: false
|
|
status-url: |
|
|
https://github.com/kata-containers/community/wiki/Zuul-PR-checks
|
|
mysql:
|
|
# Don't report merge-failures to github
|
|
merge-failure:
|
|
mysql:
|