Jan Hruban | 37615e5 | 2015-11-19 14:30:49 +0100 | [diff] [blame] | 1 | - pipeline: |
2 | name: gate | ||||
3 | description: Gatekeeping | ||||
4 | manager: dependent | ||||
5 | trigger: | ||||
6 | github: | ||||
7 | - event: pull_request | ||||
8 | action: labeled | ||||
James E. Blair | 2f589fe | 2017-10-26 12:57:41 -0700 | [diff] [blame^] | 9 | label: merge |
Jan Hruban | 37615e5 | 2015-11-19 14:30:49 +0100 | [diff] [blame] | 10 | success: |
11 | github: | ||||
12 | merge: true | ||||
James E. Blair | 2f589fe | 2017-10-26 12:57:41 -0700 | [diff] [blame^] | 13 | unlabel: merge |
Jan Hruban | 37615e5 | 2015-11-19 14:30:49 +0100 | [diff] [blame] | 14 | failure: |
15 | github: | ||||
James E. Blair | 2f589fe | 2017-10-26 12:57:41 -0700 | [diff] [blame^] | 16 | unlabel: merge |
Jan Hruban | 37615e5 | 2015-11-19 14:30:49 +0100 | [diff] [blame] | 17 | |
18 | - job: | ||||
James E. Blair | 2bab6e7 | 2017-08-07 09:52:45 -0700 | [diff] [blame] | 19 | name: base |
20 | parent: null | ||||
James E. Blair | 2f589fe | 2017-10-26 12:57:41 -0700 | [diff] [blame^] | 21 | run: playbooks/base.yaml |
James E. Blair | 2bab6e7 | 2017-08-07 09:52:45 -0700 | [diff] [blame] | 22 | |
23 | - job: | ||||
Jan Hruban | 37615e5 | 2015-11-19 14:30:49 +0100 | [diff] [blame] | 24 | name: project-test1 |
James E. Blair | 2f589fe | 2017-10-26 12:57:41 -0700 | [diff] [blame^] | 25 | run: playbooks/project-test1.yaml |
James E. Blair | 2bab6e7 | 2017-08-07 09:52:45 -0700 | [diff] [blame] | 26 | |
Jan Hruban | 37615e5 | 2015-11-19 14:30:49 +0100 | [diff] [blame] | 27 | - job: |
28 | name: project-test2 | ||||
James E. Blair | 2f589fe | 2017-10-26 12:57:41 -0700 | [diff] [blame^] | 29 | run: playbooks/project-test2.yaml |
James E. Blair | 2bab6e7 | 2017-08-07 09:52:45 -0700 | [diff] [blame] | 30 | |
Jan Hruban | 37615e5 | 2015-11-19 14:30:49 +0100 | [diff] [blame] | 31 | - job: |
32 | name: project-merge | ||||
33 | failure-message: Unable to merge change | ||||
34 | hold-following-changes: true | ||||
James E. Blair | 2f589fe | 2017-10-26 12:57:41 -0700 | [diff] [blame^] | 35 | run: playbooks/project-merge.yaml |
Jan Hruban | 37615e5 | 2015-11-19 14:30:49 +0100 | [diff] [blame] | 36 | |
37 | - project: | ||||
38 | name: org/project | ||||
39 | gate: | ||||
40 | jobs: | ||||
41 | - project-merge | ||||
42 | - project-test1: | ||||
43 | dependencies: project-merge | ||||
44 | - project-test2: | ||||
45 | dependencies: project-merge |