zuul/tests/fixtures/layout-rate-limit.yaml
Clark Boylan 7603a37725 Add rate limiting to dependent pipeline queues
When changes report failure reduce the total number of changes that will
be tested concurrently in the pipeline queue the reported change
belonged too. Increase the number of changes that will be tested when
changes report success. This implements simple rate limiting which
should reduce resource thrash when tests are unstable.

Change-Id: Id092446c83649b3916751c4e4665d2adc75d0458
2014-01-22 11:45:34 -08:00

33 lines
721 B
YAML

pipelines:
- 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
start:
gerrit:
verified: 0
success:
gerrit:
verified: 2
submit: true
failure:
gerrit:
verified: -2
window: 2
window-floor: 1
window-increase-type: linear
window-increase-factor: 1
window-decrease-type: exponential
window-decrease-factor: 2
projects:
- name: org/project
gate:
- project-merge:
- project-test1
- project-test2