summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFabien Boucher <fboucher@redhat.com>2020-07-16 12:10:04 +0000
committerFabien Boucher <fboucher@redhat.com>2020-07-29 10:00:19 +0000
commitb1494db03ee8a11ad8e22d6de90b24ca3384aa18 (patch)
tree8025c5fac9b24c5b31333b2cc2da990f463c0f77 /doc
parent7fae9a59260b05aea2db27619029e3d748d2d501 (diff)
downloadzuul-b1494db03ee8a11ad8e22d6de90b24ca3384aa18.tar.gz
gitlab: implement the approval reporter
Change-Id: Iac34f7883d1eda5179b707b3620d17b085bf135c
Diffstat (limited to 'doc')
-rw-r--r--doc/source/examples/pipelines/gitlab-reference-pipelines.yaml3
-rw-r--r--doc/source/reference/drivers/gitlab.rst6
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/source/examples/pipelines/gitlab-reference-pipelines.yaml b/doc/source/examples/pipelines/gitlab-reference-pipelines.yaml
index 000e5ea53..a1bf6d830 100644
--- a/doc/source/examples/pipelines/gitlab-reference-pipelines.yaml
+++ b/doc/source/examples/pipelines/gitlab-reference-pipelines.yaml
@@ -19,14 +19,17 @@
success:
gitlab.com:
comment: true
+ approval: true
sqlreporter:
failure:
gitlab.com:
comment: true
+ approval: false
sqlreporter:
start:
gitlab.com:
comment: true
+ approval: false
sqlreporter:
- pipeline:
diff --git a/doc/source/reference/drivers/gitlab.rst b/doc/source/reference/drivers/gitlab.rst
index cc64a52bf..8e8a17940 100644
--- a/doc/source/reference/drivers/gitlab.rst
+++ b/doc/source/reference/drivers/gitlab.rst
@@ -159,6 +159,12 @@ is taken from the pipeline.
Boolean value that determines if the reporter should add a
comment to the pipeline status to the GitLab Merge Request.
+ .. attr:: approval
+
+ Bolean value that determines whether to report *approve* or *unapprove*
+ into the merge request approval system. To set an approval the Zuul user
+ must be a *Developer* or *Maintainer* project's member. If not set approval
+ won't be reported.
Requirements Configuration
--------------------------