blob: 9a08ccb1db3848a4a33c0742fe0f1d9426ebbf3f [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 palanivelee068ff2021-06-02 09:40:33 +0100103 name: opendev-change-merge
104 description: |
105 This pipeline runs jobs that need to operate in nordix gerrit based
106 on change events from upstream opendev gerrit
sankar palanivel10ff9e22021-05-27 12:26:51 +0100107 manager: independent
sankar palanivelbb597bd2021-05-25 16:10:03 +0100108 precedence: high
109 post-review: True
110 trigger:
111 opendev-gerrit:
112 - event: change-merged
sankar palanivelcb21d7c2021-05-27 16:03:24 +0100113 - event: comment-added
114 comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*remerge
sankar palanivelbb597bd2021-05-25 16:10:03 +0100115
116- pipeline:
sankar palanivelee068ff2021-06-02 09:40:33 +0100117 name: nordix-patchset-create
118 description: |
119 This pipeline runs jobs that need to push changes from the nordix
120 gerrit to its upstream opendev gerrit
121 manager: independent
122 precedence: high
123 post-review: True
124 trigger:
125 gerrit:
126 - event: patchset-created
127 - event: comment-added
128 comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*push-upstream
129
130- pipeline:
sankar palanivelecbc68e2021-05-10 17:49:42 +0100131 name: release
132 description: |
133 When a commit is tagged as a release, this pipeline runs jobs
134 that publish archives and documentation.
135 manager: independent
136 precedence: high
137 post-review: True
138 trigger:
139 gerrit:
140 - event: ref-updated
141 ref: ^refs/tags/[0-9]+(\.[0-9]+)*$
142
143- pipeline:
144 name: tag
145 post-review: true
146 description: This pipeline runs jobs in response to any tag event.
147 manager: independent
148 precedence: high
149 trigger:
150 gerrit:
151 - event: ref-updated
152 ref: ^refs/tags/.*$
sankar palanivel6d631fc2021-05-18 16:53:41 +0100153
154- pipeline:
155 name: periodic
156 post-review: true
157 description: Jobs in this queue are triggered on a timer.
158 manager: independent
159 precedence: low
160 trigger:
161 timer:
Sankar Palanivel791db9d2021-05-31 13:17:36 +0000162 - time: '0 1 * * *'