Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2019-04-24 17:57:11 +0300
committerGrzegorz Bizon <grzegorz@gitlab.com>2019-04-24 17:57:11 +0300
commit7734b834fb7aebc1c10f7e8ec20d74a208bd5a8b (patch)
tree9082bc450791c51ff48021ecfa4ce60c103ce4a6 /doc/ci/variables
parent4de9b14ce6137e5d44fd8b10e9566d220f1ebdcd (diff)
parentd1b2056c155f49004a80280e46d7136fd804ad98 (diff)
Merge branch 'add-ci-variable-protected-ref' into 'master'
Add CI variable CI_REF_PROTECTED See merge request gitlab-org/gitlab-ce!26716
Diffstat (limited to 'doc/ci/variables')
-rw-r--r--doc/ci/variables/predefined_variables.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/ci/variables/predefined_variables.md b/doc/ci/variables/predefined_variables.md
index 4c562138b98..40458137752 100644
--- a/doc/ci/variables/predefined_variables.md
+++ b/doc/ci/variables/predefined_variables.md
@@ -84,6 +84,7 @@ future GitLab releases.**
| `CI_PROJECT_PATH_SLUG` | 9.3 | all | `$CI_PROJECT_PATH` lowercased and with everything except `0-9` and `a-z` replaced with `-`. Use in URLs and domain names. |
| `CI_PROJECT_URL` | 8.10 | 0.5 | The HTTP(S) address to access project |
| `CI_PROJECT_VISIBILITY` | 10.3 | all | The project visibility (internal, private, public) |
+| `CI_COMMIT_REF_PROTECTED` | 11.11 | all | If the job is running on a protected branch |
| `CI_REGISTRY` | 8.10 | 0.5 | If the Container Registry is enabled it returns the address of GitLab's Container Registry |
| `CI_REGISTRY_IMAGE` | 8.10 | 0.5 | If the Container Registry is enabled for the project it returns the address of the registry tied to the specific project |
| `CI_REGISTRY_PASSWORD` | 9.0 | all | The password to use to push containers to the GitLab Container Registry |