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
0
Merge Requests
0
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
Tatuya Kamada
gitlab-ce
Commits
f4bb5dd0
Commit
f4bb5dd0
authored
Feb 16, 2017
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify that stage is needed to stop environments
[ci skip]
parent
58cc360a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
doc/ci/environments.md
doc/ci/environments.md
+4
-1
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+2
-0
No files found.
doc/ci/environments.md
View file @
f4bb5dd0
...
...
@@ -535,6 +535,7 @@ deploy_review:
-
master
stop_review
:
stage
:
deploy
variables
:
GIT_STRATEGY
:
none
script
:
...
...
@@ -555,7 +556,9 @@ when their associated branch is deleted.
When you have an environment that has a stop action defined (typically when
the environment describes a review app), GitLab will automatically trigger a
stop action when the associated branch is deleted.
stop action when the associated branch is deleted. The
`stop_review`
job must
be in the same
`stage`
as the
`deploy_review`
one in order for the environment
to automatically stop.
You can read more in the
[
`.gitlab-ci.yml` reference
][
onstop
]
.
...
...
doc/ci/yaml/README.md
View file @
f4bb5dd0
...
...
@@ -690,6 +690,8 @@ The `stop_review_app` job is **required** to have the following keywords defined
-
`when`
-
[
reference
](
#when
)
-
`environment:name`
-
`environment:action`
-
`stage`
should be the same as the
`review_app`
in order for the environment
to stop automatically when the branch is deleted
#### dynamic environments
...
...
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