The Gatekeeper, or a project gating system
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

67 lines
1.2 KiB

pipelines:
- name: check
manager: IndependentPipelineManager
trigger:
gerrit:
- event: patchset-created
success:
gerrit:
Verified: 1
failure:
gerrit:
Verified: -1
- name: tests
manager: IndependentPipelineManager
trigger:
gerrit:
- event: patchset-created
email_filter: ^.*@example.org$
success:
gerrit:
Verified: 1
failure:
gerrit:
Verified: -1
- name: post
manager: IndependentPipelineManager
trigger:
gerrit:
- event: ref-updated
ref: ^(?!refs/).*$
ignore-deletes: False
- name: gate
manager: DependentPipelineManager
trigger:
gerrit:
- event: comment-added
approval:
- Approved: 1
start:
gerrit:
Verified: 0
success:
gerrit:
Verified: 1
failure:
gerrit:
Verified: -1
jobs:
- name: ^.*-merge$
failure-message: Unable to merge change, please rebase and try again.
projects:
- name: example/project
check:
- project-merge
tests:
- project-merge:
- project-test
gate:
- project-merge:
- project-test
post:
- project-publish