summaryrefslogtreecommitdiff
path: root/tests/fixtures/layouts/reconfigure-window-fixed.yaml
blob: 9aa1a973c0f3d2c32d4cda62b9ec8611047300a7 (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
- pipeline:
    name: gate
    manager: dependent
    trigger:
      gerrit:
        - event: comment-added
          approval:
            - Approved: 1
    start:
      gerrit:
        Verified: 0
    success:
      gerrit:
        Verified: 2
        submit: true
    failure:
      gerrit:
        Verified: -2
    window: 2
    window-increase-type: exponential
    window-increase-factor: 1
    window-decrease-type: exponential
    window-decrease-factor: 1

- 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
    gate:
      jobs:
        - job1
        - job2