zuul/tests/fixtures/layout-merge-queues.yaml
James E. Blair c3d428ee89 Fix merging transitively-connected change queues.
When combining change queues, given 3 projects that were transitively
connected by shared jobs, depending on the order of processing, it
was possible for them not to be combined.  To correct this, repeat
the combining operation until the resulting set can be combined no
further.

In order to make the test (and actual usage) behavior more deterministic,
the list of projects returned by the pipeline is now sorted by name.

A test is added for this.

Change-Id: If1386cad4118257efee9aa9918ad12a626927038
2013-12-03 17:15:17 -08:00

26 lines
412 B
YAML

pipelines:
- name: gate
manager: DependentPipelineManager
precedence: low
trigger:
gerrit:
- event: comment-added
approval:
- approved: 1
projects:
- name: projectA
gate:
- test-only-a
- common-test1
- name: projectB
gate:
- test-only-b
- common-test2
- name: projectC
gate:
- common-test1
- common-test2