summaryrefslogtreecommitdiff
path: root/tests/fixtures/layouts/multiple-templates.yaml
blob: ece8396f931a075b531378e70a7f70d5520dda4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
- pipeline:
    name: check
    manager: independent
    trigger:
      gerrit:
        - event: patchset-created
    success:
      gerrit:
        Verified: 1
    failure:
      gerrit:
        Verified: -1

- job:
    name: base
    parent: null
    run: playbooks/base.yaml

- job:
    name: py27
    run: playbooks/py27.yaml

- project-template:
    name: python-jobs
    check:
      jobs:
        - py27

- project-template:
    name: python-trusty-jobs
    check:
      jobs:
        - py27:
            tags:
              - trusty

- project:
    name: org/project1
    templates:
      - python-jobs
      - python-trusty-jobs

- project:
    name: org/project2
    templates:
      - python-jobs