Jan Hruban | 16ad31f | 2015-11-07 14:39:07 +0100 | [diff] [blame] | 1 | - pipeline: |
2 | name: labels | ||||
3 | description: Trigger on labels | ||||
4 | manager: independent | ||||
5 | trigger: | ||||
6 | github: | ||||
7 | - event: pull_request | ||||
8 | action: labeled | ||||
9 | label: | ||||
James E. Blair | 2f589fe | 2017-10-26 12:57:41 -0700 | [diff] [blame] | 10 | - test |
Jan Hruban | 16ad31f | 2015-11-07 14:39:07 +0100 | [diff] [blame] | 11 | - event: pull_request |
12 | action: unlabeled | ||||
13 | label: | ||||
James E. Blair | 2f589fe | 2017-10-26 12:57:41 -0700 | [diff] [blame] | 14 | - do not test |
Jan Hruban | 16ad31f | 2015-11-07 14:39:07 +0100 | [diff] [blame] | 15 | success: |
16 | github: | ||||
17 | label: | ||||
James E. Blair | 2f589fe | 2017-10-26 12:57:41 -0700 | [diff] [blame] | 18 | - tests passed |
Jan Hruban | 16ad31f | 2015-11-07 14:39:07 +0100 | [diff] [blame] | 19 | unlabel: |
James E. Blair | 2f589fe | 2017-10-26 12:57:41 -0700 | [diff] [blame] | 20 | - test |
Jan Hruban | 16ad31f | 2015-11-07 14:39:07 +0100 | [diff] [blame] | 21 | |
22 | - job: | ||||
James E. Blair | 2bab6e7 | 2017-08-07 09:52:45 -0700 | [diff] [blame] | 23 | name: base |
24 | parent: null | ||||
James E. Blair | 2f589fe | 2017-10-26 12:57:41 -0700 | [diff] [blame] | 25 | run: playbooks/base.yaml |
James E. Blair | 2bab6e7 | 2017-08-07 09:52:45 -0700 | [diff] [blame] | 26 | |
27 | - job: | ||||
Jan Hruban | 16ad31f | 2015-11-07 14:39:07 +0100 | [diff] [blame] | 28 | name: project-labels |
James E. Blair | 2f589fe | 2017-10-26 12:57:41 -0700 | [diff] [blame] | 29 | run: playbooks/project-labels.yaml |
Jan Hruban | 16ad31f | 2015-11-07 14:39:07 +0100 | [diff] [blame] | 30 | |
31 | - project: | ||||
32 | name: org/project | ||||
33 | labels: | ||||
34 | jobs: | ||||
35 | - project-labels |