blob: ec7797956fec9ef686cc4bbe3f06729ab69af431 [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
13 opendev.org:
14 open: True
15 current-patchset: True
16 trigger:
17 gerrit:
18 - event: patchset-created
19 - event: change-restored
20 - event: comment-added
21 comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*(recheck|reverify)
22 - event: comment-added
23 require-approval:
24 - Verified: [-1, -2]
25 username: zuul
26 approval:
27 - Workflow: 1
28 opendev.org:
29 - event: patchset-created
30 - event: change-restored
31 - event: comment-added
32 comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*(recheck|reverify)
33 - event: comment-added
34 require-approval:
35 - Verified: [-1, -2]
36 username: zuul
37 approval:
38 - Workflow: 1
39 start:
40 gerrit:
41 Verified: 0
42 opendev.org:
43 Verified: 0
44 success:
45 gerrit:
46 Verified: 1
47 opendev.org:
48 Verified: 1
49 failure:
50 gerrit:
51 Verified: -1
52 opendev.org:
53 Verified: -1
54
55- pipeline:
56 name: gate
57 description: |
58 Changes that have been approved by core developers are enqueued
59 in order in this pipeline, and if they pass tests, will be
60 merged.
61 success-message: Build succeeded (gate pipeline).
62 failure-message: |
63 Build failed (gate pipeline). For information on how to proceed, see
64 http://docs.openstack.org/infra/manual/developers.html#automated-testing
65 manager: dependent
66 precedence: high
67 post-review: True
68 require:
69 gerrit:
70 open: True
71 current-patchset: True
72 approval:
73 - Verified: [1, 2]
74 username: zuul
75 - Workflow: 1
76 opendev.org:
77 open: True
78 current-patchset: True
79 approval:
80 - Verified: [1, 2]
81 username: zuul
82 - Workflow: 1
83 trigger:
84 gerrit:
85 - event: comment-added
86 approval:
87 - Workflow: 1
88 - event: comment-added
89 approval:
90 - Verified: 1
91 username: zuul
92 opendev.org:
93 - event: comment-added
94 approval:
95 - Workflow: 1
96 - event: comment-added
97 approval:
98 - Verified: 1
99 username: zuul
100 start:
101 gerrit:
102 Verified: 0
103 opendev.org:
104 Verified: 0
105 success:
106 gerrit:
107 Verified: 2
108 submit: true
109 opendev.org:
110 Verified: 2
111 submit: true
112 failure:
113 gerrit:
114 Verified: -2
115 opendev.org:
116 Verified: -2
117 window-floor: 20
118 window-increase-factor: 2
119
120- pipeline:
121 name: post
122 post-review: true
123 description: This pipeline runs jobs that operate after each change is merged.
124 manager: supercedent
125 precedence: low
126 trigger:
127 gerrit:
128 - event: ref-updated
129 ref: ^refs/heads/.*$
130 opendev.org:
131 - event: ref-updated
132 ref: ^refs/heads/.*$
133 failure:
134 smtp:
135 from: "zuul@spfactory.storpool.com"
136 to: "root@localhost"
137 subject: '[Zuul] Job failed in post pipeline: {change.project}'
138
139- pipeline:
140 name: pre-release
141 description: When a commit is tagged with a pre-release tag, this pipeline runs jobs that publish archives and documentation.
142 manager: independent
143 precedence: high
144 post-review: True
145 trigger:
146 gerrit:
147 - event: ref-updated
148 ref: ^refs/tags/([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9alpha|beta|rc.-]+))?(?:\+([0-9a-zA-Z.-]+))?$
149 opendev.org:
150 - event: ref-updated
151 ref: ^refs/tags/([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9alpha|beta|rc.-]+))?(?:\+([0-9a-zA-Z.-]+))?$
152 failure:
153 smtp:
154 from: "zuul@spfactory.storpool.com"
155 to: "root@localhost"
156 subject: '[Zuul] Job failed in pre-release pipeline: {change.project}'
157
158- pipeline:
159 name: release
160 post-review: true
161 description: When a commit is tagged as a release, this pipeline runs jobs that publish archives and documentation.
162 manager: independent
163 precedence: high
164 trigger:
165 gerrit:
166 - event: ref-updated
167 ref: ^refs/tags/([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z.-]+))?(?:\+([0-9a-zA-Z.-]+))?$
168 opendev.org:
169 - event: ref-updated
170 ref: ^refs/tags/([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z.-]+))?(?:\+([0-9a-zA-Z.-]+))?$
171 failure:
172 smtp:
173 from: "zuul@spfactory.storpool.com"
174 to: "root@localhost"
175 subject: '[Zuul] Job failed in release pipeline: {change.project}'
176
177- pipeline:
178 name: periodic
179 post-review: true
180 description: Jobs in this queue are triggered daily.
181 manager: independent
182 precedence: low
183 trigger:
184 timer:
185 - time: '0 0 * * *'
186 failure:
187 smtp:
188 from: "zuul@spfactory.storpool.com"
189 to: "root@localhost"
190 subject: '[Zuul] Job failed in periodic pipeline: {change.project}'
191
192- pipeline:
193 name: experimental
194 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.
195 success-message: Build succeeded (experimental pipeline).
196 failure-message: Build failed (experimental pipeline).
197 manager: independent
198 precedence: normal
199 trigger:
200 gerrit:
201 - event: comment-added
202 comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*check experimental\s*$
203 opendev.org:
204 - event: comment-added
205 comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*check experimental\s*$
206 success:
207 gerrit: {}
208 opendev.org: {}
209 failure:
210 gerrit: {}
211 opendev.org: {}
212
213- pipeline:
214 name: merge-check
215 description: >
216 Each time a change merges, this pipeline verifies that all open changes
217 on the same project are still mergeable.
218 failure-message: Build failed (merge-check pipeline).
219 manager: independent
220 ignore-dependencies: true
221 precedence: low
222 trigger: {}