zuul/tests/fixtures/layout-no-jobs.yaml
James E. Blair 18c6444f32 Add internal noop job
It does nothing.  Successfully.

This can be used in cases where a gate pipeline is required to
merge changes, but a project has no jobs to run.  This will
run a fake internal job that succeeds without wasting any worker
resources.

Change-Id: Ica0d109aaae5fd9aff6485eaba9c428491f98c60
2014-03-18 10:56:47 -07:00

44 lines
842 B
YAML

includes:
- python-file: custom_functions.py
pipelines:
- name: check
manager: IndependentPipelineManager
trigger:
gerrit:
- event: patchset-created
success:
gerrit:
verified: 1
failure:
gerrit:
verified: -1
- name: gate
manager: DependentPipelineManager
failure-message: Build failed. For information on how to proceed, see http://wiki.example.org/Test_Failures
trigger:
gerrit:
- event: comment-added
approval:
- approved: 1
success:
gerrit:
verified: 2
submit: true
failure:
gerrit:
verified: -2
start:
gerrit:
verified: 0
precedence: high
projects:
- name: org/project
merge-mode: cherry-pick
check:
- gate-noop
gate:
- gate-noop