diff options
author | Mayra Cabrera <mcabrera@gitlab.com> | 2018-04-19 10:31:46 -0500 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2018-04-20 12:18:41 -0500 |
commit | 800ee75aa5f65fc41f32c8d7f3519256cd37c645 (patch) | |
tree | 7c4eb77281c943d13e9894577bc2755f4ec72e76 /doc/ci | |
parent | 0dd6d25c251beffca510094281ac8403fad6d8d0 (diff) | |
download | gitlab-ce-800ee75aa5f65fc41f32c8d7f3519256cd37c645.tar.gz |
Ensure deploy tokens variables are not available in the context of only/except
Diffstat (limited to 'doc/ci')
-rw-r--r-- | doc/ci/environments.md | 2 | ||||
-rw-r--r-- | doc/ci/variables/README.md | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/doc/ci/environments.md b/doc/ci/environments.md index b3d9f0bc96c..517e25f00f7 100644 --- a/doc/ci/environments.md +++ b/doc/ci/environments.md @@ -260,6 +260,8 @@ are unsupported in environment name context: - `CI_REGISTRY_PASSWORD` - `CI_REPOSITORY_URL` - `CI_ENVIRONMENT_URL` +- `CI_DEPLOY_USER` +- `CI_DEPLOY_PASSWORD` GitLab Runner exposes various [environment variables][variables] when a job runs, and as such, you can use them as environment names. Let's add another job in diff --git a/doc/ci/variables/README.md b/doc/ci/variables/README.md index 117918bec50..f0df8b96cab 100644 --- a/doc/ci/variables/README.md +++ b/doc/ci/variables/README.md @@ -548,6 +548,8 @@ You can find a full list of unsupported variables below: - `CI_REGISTRY_PASSWORD` - `CI_REPOSITORY_URL` - `CI_ENVIRONMENT_URL` +- `CI_DEPLOY_USER` +- `CI_DEPLOY_PASSWORD` These variables are also not supported in a contex of a [dynamic environment name][dynamic-environments]. |