Fabien Boucher | 194a2bf | 2017-12-02 18:17:58 +0100 | [diff] [blame] | 1 | - pipeline: |
2 | name: post | ||||
3 | manager: independent | ||||
4 | trigger: | ||||
5 | git: | ||||
6 | - event: ref-updated | ||||
7 | ref: ^refs/heads/.*$ | ||||
8 | |||||
9 | - pipeline: | ||||
10 | name: tag | ||||
11 | manager: independent | ||||
12 | trigger: | ||||
13 | git: | ||||
14 | - event: ref-updated | ||||
15 | ref: ^refs/tags/.*$ | ||||
16 | |||||
17 | - job: | ||||
18 | name: base | ||||
19 | parent: null | ||||
20 | run: playbooks/base.yaml | ||||
21 | |||||
22 | - job: | ||||
23 | name: post-job | ||||
24 | run: playbooks/post-job.yaml | ||||
25 | |||||
26 | - job: | ||||
27 | name: tag-job | ||||
28 | run: playbooks/post-job.yaml | ||||
29 | |||||
30 | - project: | ||||
31 | name: org/project | ||||
32 | post: | ||||
33 | jobs: | ||||
34 | - post-job | ||||
35 | tag: | ||||
36 | jobs: | ||||
37 | - tag-job |