summaryrefslogtreecommitdiff
path: root/tests/fixtures/layouts/crd-gitlab.yaml
blob: 1884e4026b7f17f8466195b3d79692d600f706dc (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
- pipeline:
    name: check
    manager: independent
    trigger:
      gitlab:
        - event: gl_merge_request
          action: opened

- pipeline:
    name: gate
    manager: dependent
    require:
      gitlab:
        approved: true
    trigger:
      gitlab:
        - event: gl_merge_request
          action: opened
    success:
      gitlab:
        merge: true

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

- job:
    name: project1-test
    run: playbooks/project1-test.yaml

- job:
    name: project2-test
    run: playbooks/project2-test.yaml

- job:
    name: project3-test
    run: playbooks/project3-test.yaml

- job:
    name: project4-test
    run: playbooks/project4-test.yaml

- project:
    name: org/project1
    check:
      jobs:
        - project1-test

- project:
    name: org/project2
    check:
      jobs:
        - project2-test

- project:
    name: org/project3
    queue: cogated
    gate:
      jobs:
        - project3-test

- project:
    name: org/project4
    queue: cogated
    gate:
      jobs:
        - project4-test