/
pipelines.yaml
142 lines (138 loc) · 3.8 KB
/
pipelines.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
---
- pipeline:
name: manual-ci
description: |
A collection of NFV CI jobs triggered manually via comment.
success-message: Build succeeded (manual-ci pipeline).
failure-message: |
Build failed (manual-ci pipeline). To rerun just this ci comment
"seans-manual-ci: recheck". To rerun other ci jobs comment "recheck".
Note this ci does not currently run on "recheck".
manager: independent
require:
opendev.org:
open: true
current-patchset: true
reject:
opendev.org:
approval:
- Workflow: -1
trigger:
opendev.org:
- event: comment-added
comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*seans-manual-ci:\s*recheck
- event: comment-added
comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*check experimental
precedence: high
start:
opendev.org:
Code-Review: 0
success:
opendev.org:
Code-Review: 1
failure:
opendev.org:
Code-Review: -1
- pipeline:
name: automatic-ci
description: |
A collection of NFV CI jobs.
success-message: Build succeeded (automatic-ci pipeline).
failure-message: |
Build failed (automatic-ci pipeline). To rerun just this ci comment
"seans-automatic-ci: recheck". To rerun other ci jobs comment "recheck".
Note this ci does run on "recheck".
manager: independent
require:
opendev.org:
open: true
current-patchset: true
reject:
opendev.org:
approval:
- Workflow: -1
trigger:
opendev.org:
- event: patchset-created
- event: change-restored
- event: comment-added
comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*recheck
- event: comment-added
comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*seans-automatic-ci:\s*recheck
precedence: low
start:
opendev.org:
Code-Review: 0
success:
opendev.org:
Code-Review: 1
failure:
opendev.org:
Code-Review: -1
- pipeline:
name: nightly-ci
description: |
A collection of NFV CI jobs run nightly.
success-message: Build succeeded (nightly-ci pipeline).
failure-message: |
Build failed (nightly-ci pipeline). To rerun just this ci comment
"seans-nightly-ci: recheck". To rerun other ci jobs comment "recheck".
Note this ci does run on "recheck".
manager: independent
trigger:
timer:
- time: '17 05 * * * * 60'
precedence: low
success:
opendev.org:
Code-Review: 1
failure:
opendev.org:
Code-Review: -1
- pipeline:
name: weekly-ci
description: |
A collection of NFV CI jobs run weekly.
success-message: Build succeeded (weekly-ci pipeline).
failure-message: |
Build failed (weekly-ci pipeline). To rerun just this ci comment
"seans-weekly-ci: recheck". To rerun other ci jobs comment "recheck".
Note this ci does run on "recheck".
manager: independent
trigger:
timer:
- time: '0 8 * * 6'
precedence: low
success:
opendev.org:
Code-Review: 1
failure:
opendev.org:
Code-Review: -1
- pipeline:
name: check
description: |
Newly opened pull requests enter this pipeline to receive an
initial verification
manager: independent
trigger:
github:
- event: pull_request
action:
- opened
- changed
- reopened
- event: pull_request
action: comment
comment: (?i)^\s*recheck\s*$
- event: check_run
start:
github:
check: 'in_progress'
comment: false
success:
github:
check: 'success'
failure:
github:
check: 'failure'