Initialize config repository
diff --git a/zuul.d/_pipelines.yaml b/zuul.d/_pipelines.yaml
new file mode 100644
index 0000000..ec77979
--- /dev/null
+++ b/zuul.d/_pipelines.yaml
@@ -0,0 +1,222 @@
+# This file is managed by ansible, do not edit directly
+---
+- pipeline:
+ name: check
+ description: |
+ Newly uploaded patchsets enter this pipeline to receive an
+ initial +/-1 Verified vote.
+ manager: independent
+ require:
+ gerrit:
+ open: True
+ current-patchset: True
+ opendev.org:
+ 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|reverify)
+ - event: comment-added
+ require-approval:
+ - Verified: [-1, -2]
+ username: zuul
+ approval:
+ - Workflow: 1
+ opendev.org:
+ - event: patchset-created
+ - event: change-restored
+ - event: comment-added
+ comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*(recheck|reverify)
+ - event: comment-added
+ require-approval:
+ - Verified: [-1, -2]
+ username: zuul
+ approval:
+ - Workflow: 1
+ start:
+ gerrit:
+ Verified: 0
+ opendev.org:
+ Verified: 0
+ success:
+ gerrit:
+ Verified: 1
+ opendev.org:
+ Verified: 1
+ failure:
+ gerrit:
+ Verified: -1
+ opendev.org:
+ Verified: -1
+
+- pipeline:
+ name: gate
+ description: |
+ Changes that have been approved by core developers 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: high
+ post-review: True
+ require:
+ gerrit:
+ open: True
+ current-patchset: True
+ approval:
+ - Verified: [1, 2]
+ username: zuul
+ - Workflow: 1
+ opendev.org:
+ open: True
+ current-patchset: True
+ approval:
+ - Verified: [1, 2]
+ username: zuul
+ - Workflow: 1
+ trigger:
+ gerrit:
+ - event: comment-added
+ approval:
+ - Workflow: 1
+ - event: comment-added
+ approval:
+ - Verified: 1
+ username: zuul
+ opendev.org:
+ - event: comment-added
+ approval:
+ - Workflow: 1
+ - event: comment-added
+ approval:
+ - Verified: 1
+ username: zuul
+ start:
+ gerrit:
+ Verified: 0
+ opendev.org:
+ Verified: 0
+ success:
+ gerrit:
+ Verified: 2
+ submit: true
+ opendev.org:
+ Verified: 2
+ submit: true
+ failure:
+ gerrit:
+ Verified: -2
+ opendev.org:
+ Verified: -2
+ window-floor: 20
+ window-increase-factor: 2
+
+- pipeline:
+ name: post
+ post-review: true
+ description: This pipeline runs jobs that operate after each change is merged.
+ manager: supercedent
+ precedence: low
+ trigger:
+ gerrit:
+ - event: ref-updated
+ ref: ^refs/heads/.*$
+ opendev.org:
+ - event: ref-updated
+ ref: ^refs/heads/.*$
+ failure:
+ smtp:
+ from: "zuul@spfactory.storpool.com"
+ to: "root@localhost"
+ subject: '[Zuul] Job failed in post pipeline: {change.project}'
+
+- pipeline:
+ name: pre-release
+ description: When a commit is tagged with a pre-release tag, this pipeline runs jobs that publish archives and documentation.
+ manager: independent
+ precedence: high
+ post-review: True
+ trigger:
+ gerrit:
+ - event: ref-updated
+ ref: ^refs/tags/([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9alpha|beta|rc.-]+))?(?:\+([0-9a-zA-Z.-]+))?$
+ opendev.org:
+ - event: ref-updated
+ ref: ^refs/tags/([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9alpha|beta|rc.-]+))?(?:\+([0-9a-zA-Z.-]+))?$
+ failure:
+ smtp:
+ from: "zuul@spfactory.storpool.com"
+ to: "root@localhost"
+ subject: '[Zuul] Job failed in pre-release pipeline: {change.project}'
+
+- pipeline:
+ name: release
+ post-review: true
+ description: When a commit is tagged as a release, this pipeline runs jobs that publish archives and documentation.
+ manager: independent
+ precedence: high
+ trigger:
+ gerrit:
+ - event: ref-updated
+ ref: ^refs/tags/([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z.-]+))?(?:\+([0-9a-zA-Z.-]+))?$
+ opendev.org:
+ - event: ref-updated
+ ref: ^refs/tags/([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z.-]+))?(?:\+([0-9a-zA-Z.-]+))?$
+ failure:
+ smtp:
+ from: "zuul@spfactory.storpool.com"
+ to: "root@localhost"
+ subject: '[Zuul] Job failed in release pipeline: {change.project}'
+
+- pipeline:
+ name: periodic
+ post-review: true
+ description: Jobs in this queue are triggered daily.
+ manager: independent
+ precedence: low
+ trigger:
+ timer:
+ - time: '0 0 * * *'
+ failure:
+ smtp:
+ from: "zuul@spfactory.storpool.com"
+ to: "root@localhost"
+ subject: '[Zuul] Job failed in periodic pipeline: {change.project}'
+
+- pipeline:
+ name: experimental
+ description: On-demand pipeline for requesting a run against a set of jobs that are not yet gating. Leave review comment of "check experimental" to run jobs in this pipeline.
+ success-message: Build succeeded (experimental pipeline).
+ failure-message: Build failed (experimental pipeline).
+ manager: independent
+ precedence: normal
+ trigger:
+ gerrit:
+ - event: comment-added
+ comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*check experimental\s*$
+ opendev.org:
+ - event: comment-added
+ comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*check experimental\s*$
+ success:
+ gerrit: {}
+ opendev.org: {}
+ failure:
+ gerrit: {}
+ opendev.org: {}
+
+- pipeline:
+ name: merge-check
+ description: >
+ Each time a change merges, this pipeline verifies that all open changes
+ on the same project are still mergeable.
+ failure-message: Build failed (merge-check pipeline).
+ manager: independent
+ ignore-dependencies: true
+ precedence: low
+ trigger: {}