Initial configuration
Change-Id: Ie0129552d01f2e45ec5a15c6b00c28ddd604a914
diff --git a/zuul.d/pipelines.yaml b/zuul.d/pipelines.yaml
new file mode 100644
index 0000000..d2e5584
--- /dev/null
+++ b/zuul.d/pipelines.yaml
@@ -0,0 +1,50 @@
+- pipeline:
+ name: check
+ description: |
+ Newly uploaded patchsets enter this pipeline to receive an
+ initial +/-1 Verified vote.
+ manager: independent
+ precedence: low
+ trigger:
+ gerrit:
+ - event: pending-check
+ scheme: 'zuul-check'
+ enqueue:
+ gerrit:
+ comment: False
+ checks-api:
+ scheme: 'zuul-check'
+ state: SCHEDULED
+ message: 'Change has been enqueued in check'
+ start:
+ gerrit:
+ comment: False
+ checks-api:
+ scheme: 'zuul-check'
+ state: RUNNING
+ message: 'Jobs have started running'
+ no-jobs:
+ gerrit:
+ comment: False
+ checks-api:
+ scheme: 'zuul-check'
+ state: NOT_RELEVANT
+ message: 'Project has no jobs configured'
+ success:
+ sql:
+ gerrit:
+ comment: False
+ Verified: 1
+ checks-api:
+ scheme: 'zuul-check'
+ state: SUCCESSFUL
+ message: 'Change passed all voting jobs'
+ failure:
+ sql:
+ gerrit:
+ comment: False
+ Verified: -1
+ checks-api:
+ scheme: 'zuul-check'
+ state: FAILED
+ message: 'Change failed'