summaryrefslogtreecommitdiff
path: root/tests/fixtures/layout-requirement-older-than.yaml
blob: 0e011ccd326031fcbed0ffdc9c649ae752a841c4 (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
pipelines:
  - name: pipeline
    manager: IndependentPipelineManager
    require:
      any-approval:
        - username: jenkins
          older-than: 48h
    trigger:
      gerrit:
        - event: comment-added
    success:
      gerrit:
        verified: 1
    failure:
      gerrit:
        verified: -1

  - name: trigger
    manager: IndependentPipelineManager
    trigger:
      gerrit:
        - event: comment-added
          require-any-approval:
            - username: jenkins
              older-than: 48h
    success:
      gerrit:
        verified: 1
    failure:
      gerrit:
        verified: -1

projects:
  - name: org/project1
    pipeline:
      - project1-pipeline
  - name: org/project2
    trigger:
      - project2-trigger