summaryrefslogtreecommitdiff
path: root/tests/fixtures/config/mqtt-driver/git/common-config/zuul.d/config.yaml
blob: 1cee46f5c0a98abc40c186cabcbb5915bfd4af17 (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
- pipeline:
    name: check
    manager: independent
    trigger:
      gerrit:
        - event: patchset-created
    start:
      mqtt:
        topic: "{tenant}/zuul_start/{pipeline}/{project}/{branch}"
        # This doesn't make sense here -- there should be no return
        # data yet, which is why we include it in this test.
        include-returned-data: True
    success:
      gerrit:
        Verified: 1
      mqtt:
        topic: "{tenant}/zuul_buildset/{pipeline}/{project}/{branch}"
        include-returned-data: True
    failure:
      gerrit:
        Verified: -1
      mqtt:
        topic: "{tenant}/zuul_buildset/{pipeline}/{project}/{branch}"

- job:
    name: base
    parent: null

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

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

- project:
    name: org/project
    check:
      jobs:
        - test
        - dependent-test:
            dependencies:
              - test

- project:
    name: common-config
    check:
      jobs: []