zuul/tests/fixtures/layouts/job-variants.yaml

65 lines
1.1 KiB
YAML

- pipeline:
name: check
manager: independent
trigger:
gerrit:
- event: patchset-created
success:
gerrit:
Verified: 1
failure:
gerrit:
Verified: -1
- job:
name: base
parent: null
pre-run: base-pre
post-run: base-post
nodeset:
nodes:
- name: controller
label: base
run: playbooks/base.yaml
- job:
name: python27
parent: base
timeout: 40
pre-run: py27-pre
post-run:
- py27-post-a
- py27-post-b
nodeset:
nodes:
- name: controller
label: new
run: playbooks/python27.yaml
- job:
name: python27
timeout: 50
branches:
- stable/diablo
pre-run: py27-diablo-pre
run: py27-diablo
post-run: py27-diablo-post
nodeset:
nodes:
- name: controller
label: old
- job:
name: python27
branches:
- stable/essex
pre-run: py27-essex-pre
post-run: py27-essex-post
run: playbooks/python27.yaml
- project:
name: org/project
check:
jobs:
- python27