summaryrefslogtreecommitdiff
path: root/tests/fixtures/layouts/requirements-pagure.yaml
blob: 36f785f30fcfb989ba886aa5df075b79d7d8c6ca (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
- pipeline:
    name: req-score-1
    manager: independent
    require:
      pagure:
        score: 1
    trigger:
      pagure:
        - event: pg_pull_request_review
          action: thumbsup
    success:
      pagure:
        status: 'success'

- pipeline:
    name: req-score-2
    manager: independent
    require:
      pagure:
        score: 2
    trigger:
      pagure:
        - event: pg_pull_request_review
          action: thumbsup
    success:
      pagure:
        status: 'success'

- pipeline:
    name: trigger-flag
    manager: independent
    trigger:
      pagure:
        - event: pg_pull_request
          action: status
          status: success
    success:
      pagure:
        status: 'success'

- pipeline:
    name: trigger-tag
    manager: independent
    trigger:
      pagure:
        - event: pg_pull_request
          action: tagged
          tag:
            - gateit
            - mergeit
    success:
      pagure:
        status: 'success'

- pipeline:
    name: require-tag
    manager: independent
    require:
      pagure:
        tags: gateit
    trigger:
      pagure:
        - event: pg_pull_request
          action: changed
    success:
      pagure:
        status: 'success'

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

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

- project:
    name: org/project1
    req-score-1:
      jobs:
        - project-test

- project:
    name: org/project2
    req-score-2:
      jobs:
        - project-test

- project:
    name: org/project3
    trigger-flag:
      jobs:
        - project-test

- project:
    name: org/project4
    trigger-tag:
      jobs:
        - project-test

- project:
    name: org/project5
    require-tag:
      jobs:
        - project-test