summaryrefslogtreecommitdiff
path: root/doc/ci
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-11 15:08:44 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-11 15:08:44 +0000
commitbcc77054ee9aefd1e332e04a4189390fd5a3112e (patch)
treee6e1908c310e4733038794e932196cae0d66ba9a /doc/ci
parent05b5c609cb8c260b10c2eb1b92b711dc82d32c3f (diff)
downloadgitlab-ce-bcc77054ee9aefd1e332e04a4189390fd5a3112e.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/ci')
-rw-r--r--doc/ci/environments.md13
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/ci/environments.md b/doc/ci/environments.md
index 61f09bf6e00..eddda2031b0 100644
--- a/doc/ci/environments.md
+++ b/doc/ci/environments.md
@@ -115,11 +115,14 @@ With this configuration, we:
- Lastly we deploy to the staging server.
NOTE: **Note:**
-The `environment` keyword is just a hint for GitLab that this job actually
-deploys to the `name` environment. It can also have a `url` that is
-exposed in various places within GitLab. Each time a job that
-has an environment specified succeeds, a deployment is recorded, storing
-the Git SHA and environment name.
+The `environment` keyword defines where the app is deployed.
+The environment `name` and `url` is exposed in various places
+within GitLab. Each time a job that has an environment specified
+succeeds, a deployment is recorded, along with the Git SHA and environment name.
+
+CAUTION: **Caution**:
+Some characters are not allowed in environment names. Use only letters,
+numbers, spaces, and `-`, `_`, `/`, `{`, `}`, or `.`. Also, it must not start nor end with `/`.
In summary, with the above `.gitlab-ci.yml` we have achieved the following: