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
918af497
Commit
918af497
authored
Jun 04, 2020
by
Rehab Hassanein
Committed by
Marcel Amirault
Jun 04, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify a condition for on_stop
parent
7fc9242c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
doc/ci/environments/index.md
doc/ci/environments/index.md
+6
-0
No files found.
doc/ci/environments/index.md
View file @
918af497
...
...
@@ -699,6 +699,12 @@ stop action when the associated branch is deleted. The `stop_review` job must
be in the same
`stage`
as the
`deploy_review`
job in order for the environment
to automatically stop.
Additionally, both jobs should have matching
[
`rules`
](
../yaml/README.md#onlyexcept-basic
)
or
[
`only/except`
](
../yaml/README.md#onlyexcept-basic
)
configuration. In the example
above, if the configuration is not identical, the
`stop_review`
job might not be
included in all pipelines that include the
`deploy_review`
job, and it will not be
possible to trigger the
`action: stop`
to stop the environment automatically.
You can read more in the
[
`.gitlab-ci.yml` reference
](
../yaml/README.md#environmenton_stop
)
.
#### Environments auto-stop
...
...
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