blob: 9fe5bd2b8ce2e282d6fe34b591928fdb2f9b867b [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 palanivelbb597bd2021-05-25 16:10:03 +0100103 name: opendev-merge-check
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 palanivelbb597bd2021-05-25 16:10:03 +0100110
111- pipeline:
sankar palanivelecbc68e2021-05-10 17:49:42 +0100112 name: release
113 description: |
114 When a commit is tagged as a release, this pipeline runs jobs
115 that publish archives and documentation.
116 manager: independent
117 precedence: high
118 post-review: True
119 trigger:
120 gerrit:
121 - event: ref-updated
122 ref: ^refs/tags/[0-9]+(\.[0-9]+)*$
123
124- pipeline:
125 name: tag
126 post-review: true
127 description: This pipeline runs jobs in response to any tag event.
128 manager: independent
129 precedence: high
130 trigger:
131 gerrit:
132 - event: ref-updated
133 ref: ^refs/tags/.*$
sankar palanivel6d631fc2021-05-18 16:53:41 +0100134
135- pipeline:
136 name: periodic
137 post-review: true
138 description: Jobs in this queue are triggered on a timer.
139 manager: independent
140 precedence: low
141 trigger:
142 timer:
sankar palanivelaa8e9002021-05-26 14:15:08 +0100143 - time: '*/30 * * * *'