summaryrefslogtreecommitdiff
path: root/tests/fixtures/layouts/serial.yaml
blob: 70d16bd1a32086ed134f2a265369527d2d7b6378 (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
47
48
- pipeline:
    name: deploy
    manager: serial
    trigger:
      gerrit:
        - event: change-merged
    post-review: True
    success:
      gerrit: {}
    failure:
      gerrit: {}

- job:
    name: base
    parent: null
    nodeset:
      nodes:
        - label: ubuntu-xenial
          name: controller

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

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

- project:
    name: org/project
    deploy:
      jobs:
        - job1
        - job2

- project:
    name: org/project1
    queue: shared
    deploy:
      jobs:
        - job1

- project:
    name: org/project2
    queue: shared
    deploy:
      jobs:
        - job1