17dd6779f0
With the previous CRD changes in effect, the merge-check pipeline became rather large since it needlessly stacked dependent (both git-dependent and commit-dependent) changes for each change tested. Since commit-dependencies should not affect whether a change has a merge conflict, and git-dependencies are already taken care of, add an option to allow independent pipelines to ignore dependencies. We will only set this for the merge-check pipeline in OpenStack. Change-Id: I553446374ac12aa3e3f2e4bbea7ca8fafba42294
55 lines
1.0 KiB
YAML
55 lines
1.0 KiB
YAML
pipelines:
|
|
- name: check
|
|
manager: IndependentPipelineManager
|
|
source: gerrit
|
|
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
|
|
source: gerrit
|
|
trigger:
|
|
gerrit:
|
|
- event: comment-added
|
|
approval:
|
|
- approved: 1
|
|
success:
|
|
gerrit:
|
|
verified: 2
|
|
submit: true
|
|
failure:
|
|
gerrit:
|
|
verified: -2
|
|
start:
|
|
gerrit:
|
|
verified: 0
|
|
precedence: high
|
|
|
|
- name: merge-check
|
|
manager: IndependentPipelineManager
|
|
source: gerrit
|
|
ignore-dependencies: true
|
|
trigger:
|
|
zuul:
|
|
- event: project-change-merged
|
|
merge-failure:
|
|
gerrit:
|
|
verified: -1
|
|
|
|
projects:
|
|
- name: org/project
|
|
check:
|
|
- project-check
|
|
gate:
|
|
- project-gate
|
|
merge-check:
|
|
- noop
|