blob: 3828a06eb442d83193ddace199f2d03f6cc3666c [file] [log] [blame]
Clint Byrumb9de8be2017-05-27 13:49:19 -07001- pipeline:
2 name: check
3 manager: independent
4 trigger:
5 gerrit:
6 - event: patchset-created
7 success:
8 gerrit:
Tobias Henkelea98a192017-05-29 21:15:17 +02009 Verified: 1
Clint Byrumb9de8be2017-05-27 13:49:19 -070010 failure:
11 gerrit:
Tobias Henkelea98a192017-05-29 21:15:17 +020012 Verified: -1
Clint Byrumb9de8be2017-05-27 13:49:19 -070013
14- pipeline:
15 name: post
16 manager: independent
17 trigger:
18 gerrit:
19 - event: ref-updated
20 ref: ^(?!refs/).*$
21
22- pipeline:
23 name: gate
24 manager: dependent
25 failure-message: Build failed. For information on how to proceed, see http://wiki.example.org/Test_Failures
James E. Blair2f589fe2017-10-26 12:57:41 -070026 merge-failure-message: The merge failed! For more information...
Clint Byrumb9de8be2017-05-27 13:49:19 -070027 trigger:
28 gerrit:
29 - event: comment-added
30 approval:
Tobias Henkelea98a192017-05-29 21:15:17 +020031 - Approved: 1
Clint Byrumb9de8be2017-05-27 13:49:19 -070032 success:
33 gerrit:
Tobias Henkelea98a192017-05-29 21:15:17 +020034 Verified: 2
Clint Byrumb9de8be2017-05-27 13:49:19 -070035 submit: true
36 failure:
37 gerrit:
Tobias Henkelea98a192017-05-29 21:15:17 +020038 Verified: -2
Clint Byrumb9de8be2017-05-27 13:49:19 -070039 merge-failure:
40 gerrit:
Tobias Henkelea98a192017-05-29 21:15:17 +020041 Verified: -1
Clint Byrumb9de8be2017-05-27 13:49:19 -070042 smtp:
43 to: you@example.com
44 start:
45 gerrit:
Tobias Henkelea98a192017-05-29 21:15:17 +020046 Verified: 0
Clint Byrumb9de8be2017-05-27 13:49:19 -070047 precedence: high
48
49- job:
James E. Blair2bab6e72017-08-07 09:52:45 -070050 name: base
51 parent: null
James E. Blair2f589fe2017-10-26 12:57:41 -070052 run: playbooks/base.yaml
James E. Blair2bab6e72017-08-07 09:52:45 -070053
54- job:
Clint Byrumb9de8be2017-05-27 13:49:19 -070055 name: project-merge
56 hold-following-changes: true
James E. Blair2f589fe2017-10-26 12:57:41 -070057 run: playbooks/project-merge.yaml
Clint Byrumb9de8be2017-05-27 13:49:19 -070058
59- job:
60 name: project-test1
James E. Blair2f589fe2017-10-26 12:57:41 -070061 run: playbooks/project-test1.yaml
Clint Byrumb9de8be2017-05-27 13:49:19 -070062
63- job:
64 name: project-test2
James E. Blair2f589fe2017-10-26 12:57:41 -070065 run: playbooks/project-test2.yaml
Clint Byrumb9de8be2017-05-27 13:49:19 -070066
67- project:
68 name: org/project
69 check:
70 jobs:
71 - project-merge
72 - project-test1:
73 dependencies: project-merge
74 - project-test2:
75 dependencies: project-merge
76 gate:
77 jobs:
78 - project-merge
79 - project-test1:
80 dependencies: project-merge
81 - project-test2:
82 dependencies: project-merge