blob: 0e21d57d4ab2dac6f72a8d04f68a35cb225fd8c0 [file] [log] [blame]
includes:
- python-file: openstack_functions.py
pipelines:
- name: check
manager: IndependentPipelineManager
require:
open: True
current-patchset: True
trigger:
review_gerrit:
- event: patchset-created
- event: comment-added
require-approval:
- verified: [-1, -2]
username: jenkins
approval:
- workflow: 1
success:
review_gerrit:
verified: 1
failure:
review_gerrit:
verified: -1
- name: post
manager: IndependentPipelineManager
trigger:
review_gerrit:
- event: ref-updated
ref: ^(?!refs/).*$
ignore-deletes: True
- name: gate
manager: DependentPipelineManager
success-message: Your change is awesome.
failure-message: Build failed. For information on how to proceed, see http://wiki.example.org/Test_Failures
require:
open: True
current-patchset: True
approval:
- verified: [1, 2]
username: jenkins
- workflow: 1
reject:
approval:
- code-review: [-1, -2]
trigger:
review_gerrit:
- event: comment-added
approval:
- approved: 1
start:
review_gerrit:
verified: 0
success:
review_gerrit:
verified: 2
code-review: 1
submit: true
failure:
review_gerrit:
verified: -2
workinprogress: true
- name: merge-check
manager: IndependentPipelineManager
source: review_gerrit
ignore-dependencies: true
trigger:
zuul:
- event: project-change-merged
merge-failure:
review_gerrit:
verified: -1
jobs:
- name: ^.*-merge$
failure-message: Unable to merge change
hold-following-changes: true
- name: test-merge
parameter-function: devstack_params
- name: test-test
- name: test-merge2
success-pattern: http://logs.example.com/{change.number}/{change.patchset}/{pipeline.name}/{job.name}/{build.number}/success
failure-pattern: http://logs.example.com/{change.number}/{change.patchset}/{pipeline.name}/{job.name}/{build.number}/fail
- name: project-testfile
files:
- 'tools/.*-requires'
projects:
- name: test-org/test
merge-mode: cherry-pick
check:
- test-merge2:
- test-thing1:
- test-thing2
- test-thing3
gate:
- test-thing
post:
- test-post