blob: 77391a0c2b8adb351b3d92a2610ac868f7b6fa73 [file] [log] [blame]
Paul Belanger01be8ca2016-11-11 12:21:06 -05001- pipeline:
2 name: check
3 manager: independent
Paul Belanger01be8ca2016-11-11 12:21:06 -05004 trigger:
5 gerrit:
6 - event: patchset-created
7 start:
8 smtp:
9 to: you@example.com
10 success:
11 gerrit:
Tobias Henkelea98a192017-05-29 21:15:17 +020012 Verified: 1
Paul Belanger01be8ca2016-11-11 12:21:06 -050013 smtp:
14 to: alternative_me@example.com
15 from: zuul_from@example.com
16 failure:
17 gerrit:
Tobias Henkelea98a192017-05-29 21:15:17 +020018 Verified: -1
Paul Belanger01be8ca2016-11-11 12:21:06 -050019
20- pipeline:
21 name: gate
22 manager: dependent
23 success-message: Build succeeded (gate).
Paul Belanger01be8ca2016-11-11 12:21:06 -050024 trigger:
25 gerrit:
26 - event: comment-added
27 approval:
Tobias Henkelea98a192017-05-29 21:15:17 +020028 - Approved: 1
Paul Belanger01be8ca2016-11-11 12:21:06 -050029 success:
30 gerrit:
Tobias Henkelea98a192017-05-29 21:15:17 +020031 Verified: 2
Paul Belanger01be8ca2016-11-11 12:21:06 -050032 submit: true
33 failure:
34 gerrit:
Tobias Henkelea98a192017-05-29 21:15:17 +020035 Verified: -2
Paul Belanger01be8ca2016-11-11 12:21:06 -050036 start:
37 gerrit:
Tobias Henkelea98a192017-05-29 21:15:17 +020038 Verified: 0
Paul Belanger01be8ca2016-11-11 12:21:06 -050039 precedence: high
40
41- job:
James E. Blair2bab6e72017-08-07 09:52:45 -070042 name: base
43 parent: null
James E. Blair2f589fe2017-10-26 12:57:41 -070044 run: playbooks/base.yaml
James E. Blair2bab6e72017-08-07 09:52:45 -070045
46- job:
Paul Belanger01be8ca2016-11-11 12:21:06 -050047 name: project-merge
48 hold-following-changes: true
James E. Blair2f589fe2017-10-26 12:57:41 -070049 run: playbooks/project-merge.yaml
Paul Belanger01be8ca2016-11-11 12:21:06 -050050
51- job:
52 name: project-test1
James E. Blair7e3e6882017-09-20 15:47:13 -070053 nodeset:
54 nodes:
55 - name: controller
56 label: label1
James E. Blair2f589fe2017-10-26 12:57:41 -070057 run: playbooks/project-test1.yaml
Paul Belanger01be8ca2016-11-11 12:21:06 -050058
59- job:
60 name: project-test1
61 branches: stable
James E. Blair7e3e6882017-09-20 15:47:13 -070062 nodeset:
63 nodes:
64 - name: controller
65 label: label2
James E. Blair2f589fe2017-10-26 12:57:41 -070066 run: playbooks/project-test1.yaml
Paul Belanger01be8ca2016-11-11 12:21:06 -050067
68- job:
69 name: project-test2
James E. Blair2f589fe2017-10-26 12:57:41 -070070 run: playbooks/project-test2.yaml
Paul Belanger01be8ca2016-11-11 12:21:06 -050071
Paul Belanger01be8ca2016-11-11 12:21:06 -050072- project:
73 name: org/project
74 check:
75 jobs:
Fredrik Medleyf8aec832015-09-28 13:40:20 +020076 - project-merge
77 - project-test1:
78 dependencies: project-merge
79 - project-test2:
80 dependencies: project-merge
Paul Belanger01be8ca2016-11-11 12:21:06 -050081 gate:
82 jobs:
Fredrik Medleyf8aec832015-09-28 13:40:20 +020083 - project-merge
84 - project-test1:
85 dependencies: project-merge
86 - project-test2:
87 dependencies: project-merge