blob: 13cf535258d4566c5c1a0a461509fee6124b089d [file] [log] [blame]
sankar palanivelecbc68e2021-05-10 17:49:42 +01001- pipeline:
2 name: check
3 description: |
4 Newly uploaded patchsets enter this pipeline to receive an
5 initial +/-1 Verified vote.
6 manager: independent
7 require:
8 gerrit:
9 open: True
10 current-patchset: True
11 trigger:
12 gerrit:
13 - event: patchset-created
14 - event: change-restored
15 - event: comment-added
16 comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*recheck
17 success:
18 gerrit:
19 Verified: 1
20 failure:
21 gerrit:
22 Verified: -1
23
24- pipeline:
25 name: gate
26 description: |
27 Changes that have been approved are enqueued in order in this
28 pipeline, and if they pass tests, will be merged.
29 manager: dependent
30 post-review: True
31 require:
32 gerrit:
33 open: True
34 current-patchset: True
35 approval:
sankar palanivel0af64e62021-05-13 10:49:24 +010036 #- Workflow: 1
37 - Verified: 1
sankar palanivelecbc68e2021-05-10 17:49:42 +010038 trigger:
39 gerrit:
40 - event: comment-added
41 approval:
sankar palanivel0af64e62021-05-13 10:49:24 +010042 #- Workflow: 1
43 - Verified: 1
sankar palanivelecbc68e2021-05-10 17:49:42 +010044 start:
45 gerrit:
46 Verified: 0
47 success:
48 gerrit:
49 Verified: 2
50 submit: true
51 failure:
52 gerrit:
53 Verified: -2
54
55- pipeline:
56 name: post
57 description: |
58 This pipeline runs jobs that operate after each change is
59 merged. Queue items are identified by the abbreviated hash (git
60 log --format=%h) of the merge commit.
61 manager: supercedent
62 precedence: high
63 post-review: True
64 trigger:
65 gerrit:
66 - event: ref-updated
67 ref: ^refs/heads/.*$
68
69- pipeline:
70 name: promote
71 description: |
72 This pipeline runs jobs that operate after each change is merged
73 in order to promote artifacts generated in the gate
74 pipeline.
75 manager: supercedent
76 precedence: high
77 post-review: True
78 trigger:
79 gerrit:
80 - event: change-merged
81 success:
82 gerrit: {}
83 failure:
84 gerrit: {}
85
86- pipeline:
87 name: deploy
88 description: |
89 This pipeline runs jobs that operate after each change is merged
90 in order to deploy to production.
91 manager: serial
92 precedence: high
93 post-review: True
94 trigger:
95 gerrit:
96 - event: change-merged
97 success:
98 gerrit: {}
99 failure:
100 gerrit: {}
101
102- pipeline:
sankar palanivelc77ce432021-05-27 15:50:24 +0100103 name: opendev-merge
sankar palanivel10ff9e22021-05-27 12:26:51 +0100104 manager: independent
sankar palanivelbb597bd2021-05-25 16:10:03 +0100105 precedence: high
106 post-review: True
107 trigger:
108 opendev-gerrit:
109 - event: change-merged
sankar palanivelcb21d7c2021-05-27 16:03:24 +0100110 - event: comment-added
111 comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*remerge
sankar palanivelbb597bd2021-05-25 16:10:03 +0100112
113- pipeline:
sankar palanivelecbc68e2021-05-10 17:49:42 +0100114 name: release
115 description: |
116 When a commit is tagged as a release, this pipeline runs jobs
117 that publish archives and documentation.
118 manager: independent
119 precedence: high
120 post-review: True
121 trigger:
122 gerrit:
123 - event: ref-updated
124 ref: ^refs/tags/[0-9]+(\.[0-9]+)*$
125
126- pipeline:
127 name: tag
128 post-review: true
129 description: This pipeline runs jobs in response to any tag event.
130 manager: independent
131 precedence: high
132 trigger:
133 gerrit:
134 - event: ref-updated
135 ref: ^refs/tags/.*$
sankar palanivel6d631fc2021-05-18 16:53:41 +0100136
137- pipeline:
138 name: periodic
139 post-review: true
140 description: Jobs in this queue are triggered on a timer.
141 manager: independent
142 precedence: low
143 trigger:
144 timer:
sankar palanivelc77ce432021-05-27 15:50:24 +0100145 - time: '0 1 * * *'