diff options
author | Achilleas Pipinellis <axilleas@axilleas.me> | 2017-02-16 12:04:55 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axilleas@axilleas.me> | 2017-02-16 12:04:55 +0300 |
commit | f4bb5dd0ad8fb5d6f766b8462aa6f58bb36d75b0 (patch) | |
tree | 799efde1fc8ee70afcaa02ef9089e704b83ed4c9 /doc/ci/environments.md | |
parent | 58cc360a45cb03049745668a0134cea1b14b2d9e (diff) |
Clarify that stage is needed to stop environments
[ci skip]
Diffstat (limited to 'doc/ci/environments.md')
-rw-r--r-- | doc/ci/environments.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/ci/environments.md b/doc/ci/environments.md index 3bba94f8b83..3c31ba45d3d 100644 --- a/doc/ci/environments.md +++ b/doc/ci/environments.md @@ -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]. |