blob: 3239b525935040fb7968fb801e278c1848e7f0a0 [file] [log] [blame]
- pipeline:
name: check
manager: independent
trigger:
gerrit:
- event: patchset-created
success:
gerrit:
Verified: 1
failure:
gerrit:
Verified: -1
- pipeline:
name: gate
manager: dependent
success-message: Build succeeded (gate).
trigger:
gerrit:
- event: comment-added
approval:
- Approved: 1
success:
gerrit:
Verified: 2
submit: true
failure:
gerrit:
Verified: -2
start:
gerrit:
Verified: 0
precedence: high
- job:
name: base
parent: null
run: playbooks/base.yaml
- job:
name: project-test1
nodeset:
nodes:
- name: controller
label: label1
run: playbooks/project-test1.yaml
- job:
name: ignore-branch
branches: ^(?!featureA).*$
nodeset:
nodes:
- name: controller
label: label2
run: playbooks/ignore-branch.yaml
- project:
name: org/project
check:
jobs:
- project-test1
- ignore-branch
gate:
jobs:
- project-test1
- ignore-branch