summaryrefslogtreecommitdiff
path: root/tests/fixtures/layout-requirement-vote.yaml
diff options
context:
space:
mode:
authorJoshua Hesketh <josh@nitrotech.org>2014-06-26 15:30:08 +1000
committerJoshua Hesketh <josh@nitrotech.org>2015-06-05 13:21:39 +1000
commitb2068e80a814e5cf5c5d3786ea15747483bb236f (patch)
tree1babe1aeaeb59a39b2d6cfceda1f9ae21c1c725b /tests/fixtures/layout-requirement-vote.yaml
parent642824b0cb593a2ae82ba779e29cf1524b076edd (diff)
downloadzuul-b2068e80a814e5cf5c5d3786ea15747483bb236f.tar.gz
Add support for negative requirements
This change adds support for false matching of requirements. To make this useful you can now require all approvals match a requirement or only one (ie any). Therefore depreciate require-approvals, replacing with require-approvals-any and a new require-approvals-all. Change-Id: I458e677315ccb90d64cd0c0e734951141324a9c3
Diffstat (limited to 'tests/fixtures/layout-requirement-vote.yaml')
-rw-r--r--tests/fixtures/layout-requirement-vote.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fixtures/layout-requirement-vote.yaml b/tests/fixtures/layout-requirement-vote.yaml
index 7ccadffa6..6736e98b5 100644
--- a/tests/fixtures/layout-requirement-vote.yaml
+++ b/tests/fixtures/layout-requirement-vote.yaml
@@ -2,7 +2,7 @@ pipelines:
- name: pipeline
manager: IndependentPipelineManager
require:
- approval:
+ any-approval:
- username: jenkins
verified: 1
trigger:
@@ -20,7 +20,7 @@ pipelines:
trigger:
gerrit:
- event: comment-added
- require-approval:
+ require-any-approval:
- username: jenkins
verified: 1
success: