blob: e4cb9eccd52a30bf14706c81592144a418f0999d [file] [log] [blame]
SF initial configuratora26c41e2022-10-06 13:33:13 +03001# This file is managed by ansible, do not edit directly
2---
3- pipeline:
4 name: check
5 description: |
6 Newly uploaded patchsets enter this pipeline to receive an
7 initial +/-1 Verified vote.
8 manager: independent
9 require:
10 gerrit:
11 open: True
12 current-patchset: True
SF initial configuratora26c41e2022-10-06 13:33:13 +030013 trigger:
14 gerrit:
15 - event: patchset-created
16 - event: change-restored
17 - event: comment-added
SF initial configuratorac4a92c2024-04-22 10:30:50 +030018 comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*(recheck|reverify)
SF initial configuratora26c41e2022-10-06 13:33:13 +030019 - event: comment-added
20 require-approval:
21 - Verified: [-1, -2]
22 username: zuul
23 approval:
24 - Workflow: 1
25 start:
26 gerrit:
27 Verified: 0
SF initial configuratora26c41e2022-10-06 13:33:13 +030028 success:
29 gerrit:
30 Verified: 1
SF initial configuratora26c41e2022-10-06 13:33:13 +030031 failure:
32 gerrit:
33 Verified: -1
SF initial configuratora26c41e2022-10-06 13:33:13 +030034
35- pipeline:
36 name: gate
37 description: |
38 Changes that have been approved by core developers are enqueued
39 in order in this pipeline, and if they pass tests, will be
40 merged.
41 success-message: Build succeeded (gate pipeline).
42 failure-message: |
43 Build failed (gate pipeline). For information on how to proceed, see
44 http://docs.openstack.org/infra/manual/developers.html#automated-testing
45 manager: dependent
46 precedence: high
47 post-review: True
48 require:
49 gerrit:
50 open: True
51 current-patchset: True
52 approval:
53 - Verified: [1, 2]
54 username: zuul
55 - Workflow: 1
SF initial configuratora26c41e2022-10-06 13:33:13 +030056 trigger:
57 gerrit:
58 - event: comment-added
59 approval:
60 - Workflow: 1
61 - event: comment-added
62 approval:
63 - Verified: 1
64 username: zuul
SF initial configuratora26c41e2022-10-06 13:33:13 +030065 start:
66 gerrit:
67 Verified: 0
SF initial configuratora26c41e2022-10-06 13:33:13 +030068 success:
69 gerrit:
70 Verified: 2
71 submit: true
SF initial configuratora26c41e2022-10-06 13:33:13 +030072 failure:
73 gerrit:
74 Verified: -2
SF initial configuratora26c41e2022-10-06 13:33:13 +030075 window-floor: 20
76 window-increase-factor: 2
77
78- pipeline:
79 name: post
80 post-review: true
81 description: This pipeline runs jobs that operate after each change is merged.
82 manager: supercedent
83 precedence: low
84 trigger:
85 gerrit:
86 - event: ref-updated
87 ref: ^refs/heads/.*$
SF initial configuratora26c41e2022-10-06 13:33:13 +030088 failure:
89 smtp:
90 from: "zuul@spfactory.storpool.com"
91 to: "root@localhost"
92 subject: '[Zuul] Job failed in post pipeline: {change.project}'
93
94- pipeline:
95 name: pre-release
96 description: When a commit is tagged with a pre-release tag, this pipeline runs jobs that publish archives and documentation.
97 manager: independent
98 precedence: high
99 post-review: True
100 trigger:
101 gerrit:
102 - event: ref-updated
103 ref: ^refs/tags/([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9alpha|beta|rc.-]+))?(?:\+([0-9a-zA-Z.-]+))?$
SF initial configuratora26c41e2022-10-06 13:33:13 +0300104 failure:
105 smtp:
106 from: "zuul@spfactory.storpool.com"
107 to: "root@localhost"
108 subject: '[Zuul] Job failed in pre-release pipeline: {change.project}'
109
110- pipeline:
111 name: release
112 post-review: true
113 description: When a commit is tagged as a release, this pipeline runs jobs that publish archives and documentation.
114 manager: independent
115 precedence: high
116 trigger:
117 gerrit:
118 - event: ref-updated
119 ref: ^refs/tags/([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z.-]+))?(?:\+([0-9a-zA-Z.-]+))?$
SF initial configuratora26c41e2022-10-06 13:33:13 +0300120 failure:
121 smtp:
122 from: "zuul@spfactory.storpool.com"
123 to: "root@localhost"
124 subject: '[Zuul] Job failed in release pipeline: {change.project}'
125
126- pipeline:
127 name: periodic
128 post-review: true
129 description: Jobs in this queue are triggered daily.
130 manager: independent
131 precedence: low
132 trigger:
133 timer:
134 - time: '0 0 * * *'
135 failure:
136 smtp:
137 from: "zuul@spfactory.storpool.com"
138 to: "root@localhost"
139 subject: '[Zuul] Job failed in periodic pipeline: {change.project}'
140
141- pipeline:
142 name: experimental
143 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.
144 success-message: Build succeeded (experimental pipeline).
145 failure-message: Build failed (experimental pipeline).
146 manager: independent
147 precedence: normal
148 trigger:
149 gerrit:
150 - event: comment-added
151 comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*check experimental\s*$
SF initial configuratora26c41e2022-10-06 13:33:13 +0300152 success:
153 gerrit: {}
SF initial configuratora26c41e2022-10-06 13:33:13 +0300154 failure:
155 gerrit: {}
SF initial configuratora26c41e2022-10-06 13:33:13 +0300156
157- pipeline:
158 name: merge-check
159 description: >
160 Each time a change merges, this pipeline verifies that all open changes
161 on the same project are still mergeable.
162 failure-message: Build failed (merge-check pipeline).
163 manager: independent
164 ignore-dependencies: true
165 precedence: low
166 trigger: {}