blob: 179dee67918879f3a5c97ce21ba47c416d461f00 [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:
36 - Workflow: 1
37 trigger:
38 gerrit:
39 - event: comment-added
40 approval:
41 - Workflow: 1
42 start:
43 gerrit:
44 Verified: 0
45 success:
46 gerrit:
47 Verified: 2
48 submit: true
49 failure:
50 gerrit:
51 Verified: -2
52
53- pipeline:
54 name: post
55 description: |
56 This pipeline runs jobs that operate after each change is
57 merged. Queue items are identified by the abbreviated hash (git
58 log --format=%h) of the merge commit.
59 manager: supercedent
60 precedence: high
61 post-review: True
62 trigger:
63 gerrit:
64 - event: ref-updated
65 ref: ^refs/heads/.*$
66
67- pipeline:
68 name: promote
69 description: |
70 This pipeline runs jobs that operate after each change is merged
71 in order to promote artifacts generated in the gate
72 pipeline.
73 manager: supercedent
74 precedence: high
75 post-review: True
76 trigger:
77 gerrit:
78 - event: change-merged
79 success:
80 gerrit: {}
81 failure:
82 gerrit: {}
83
84- pipeline:
85 name: deploy
86 description: |
87 This pipeline runs jobs that operate after each change is merged
88 in order to deploy to production.
89 manager: serial
90 precedence: high
91 post-review: True
92 trigger:
93 gerrit:
94 - event: change-merged
95 success:
96 gerrit: {}
97 failure:
98 gerrit: {}
99
100- pipeline:
101 name: release
102 description: |
103 When a commit is tagged as a release, this pipeline runs jobs
104 that publish archives and documentation.
105 manager: independent
106 precedence: high
107 post-review: True
108 trigger:
109 gerrit:
110 - event: ref-updated
111 ref: ^refs/tags/[0-9]+(\.[0-9]+)*$
112
113- pipeline:
114 name: tag
115 post-review: true
116 description: This pipeline runs jobs in response to any tag event.
117 manager: independent
118 precedence: high
119 trigger:
120 gerrit:
121 - event: ref-updated
122 ref: ^refs/tags/.*$