diff options
author | James E. Blair <jim@acmegating.com> | 2022-11-28 09:33:31 -0800 |
---|---|---|
committer | James E. Blair <jim@acmegating.com> | 2022-11-28 09:33:31 -0800 |
commit | 6a7e65d5dca817f69577ba0c27189ca964c159d5 (patch) | |
tree | fe5903f4c6428832008497bb23f819292f3aa104 /doc | |
parent | a09a7a170728071de7d59c2df9bf9c25324c1a84 (diff) | |
download | zuul-6a7e65d5dca817f69577ba0c27189ca964c159d5.tar.gz |
Add Gerrit Verified/Workflow submit reqs to tutorial
Gerrit 3.7 forbids setting the MaxWithBlock function on labels,
so replace that with these equivalent submit requirements in our
tutorial example configuration.
Change-Id: Iadca7d36a342eb1a890a7b83a5e08938a2b52e20
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/examples/playbooks/project.config | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/source/examples/playbooks/project.config b/doc/source/examples/playbooks/project.config index 6ca005dd4..8ffaf229b 100644 --- a/doc/source/examples/playbooks/project.config +++ b/doc/source/examples/playbooks/project.config @@ -80,3 +80,13 @@ value = 0 Ready for reviews value = +1 Approved defaultValue = 0 +[submit-requirement "Verified"] + description = A maximum vote is required for the \ + 'Verified' label. A minimum vote is blocking. + submittableIf = label:Verified=MAX AND -label:Verified=MIN + canOverrideInChildProjects = true +[submit-requirement "Workflow"] + description = A maximum vote is required for the \ + 'Workflow' label. A minimum vote is blocking. + submittableIf = label:Workflow=MAX AND -label:Workflow=MIN + canOverrideInChildProjects = true |