Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
dfce8edd
Commit
dfce8edd
authored
Mar 17, 2022
by
Russell Dickenson
Committed by
Nick Gaskill
Mar 17, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve documentation on how to approve or reject a deployment
parent
a29830c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
8 deletions
+19
-8
doc/ci/environments/deployment_approvals.md
doc/ci/environments/deployment_approvals.md
+19
-8
No files found.
doc/ci/environments/deployment_approvals.md
View file @
dfce8edd
...
...
@@ -81,23 +81,34 @@ Maintainer role.
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/342180/) in GitLab 14.9
A blocked deployment is enqueued as soon as it receives the required number of approvals. A single
rejection causes the deployment to fail. The creator of a deployment cannot approve it, even if they
have permission to deploy.
You can use the UI or API to take these actions on a deployment:
You can approve or reject a deployment to a protected environment either in the UI or using the API:
-
Approve it
-
Allow it to proceed
-
Reject it
### Using the UI
### Approve or reject a deployment using the UI
Prerequisites:
-
Permission to deploy to the protected environment.
To approve or reject a deployment to a protected environment using the UI:
1.
On the top bar, select
**Menu > Projects**
and find your project.
1.
On the left sidebar, select
**Deployments > Environments**
.
1.
In the deployment's row, select
**Approval options**
(
**{thumb-up}**
).
1.
Select
**Approve**
or
**Reject**
.
### Using the API
### Approve or reject a deployment using the API
Prerequisites:
-
Permission to deploy to the protected environment.
Users who are allowed to deploy to the protected environment can approve or reject a blocked
deployment using the
[
Deployments API
](
../../api/deployments.md#approve-or-reject-a-blocked-deployment
)
.
To approve or reject a deployment to a protected environment using the API, pass the
required attributes. For more details, see
[
Approve or reject a blocked deployment
](
../../api/deployments.md#approve-or-reject-a-blocked-deployment
)
.
Example:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment