summaryrefslogtreecommitdiff
path: root/tests/fixtures/layouts/reconfigure-window2.yaml
blob: 8949f7d2febd730c0ecb7450b238cb0cc750f34b (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
- 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: 1
    window-floor: 1
    window-increase-type: linear
    window-increase-factor: 1
    window-decrease-type: linear
    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