diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-04-16 21:17:05 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-04-18 13:17:48 +0200 |
commit | 5d89bdb16a9340c7d8b43efc03dba623f8fb4d31 (patch) | |
tree | 624d74af1de2baab1542583f8df5ad50e2326977 /doc/ci/variables | |
parent | cf3e3effb01215c2556ba509d3cb4debe1d901e8 (diff) | |
download | gitlab-ce-5d89bdb16a9340c7d8b43efc03dba623f8fb4d31.tar.gz |
Add documentation for job-level build variables
Diffstat (limited to 'doc/ci/variables')
-rw-r--r-- | doc/ci/variables/README.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/ci/variables/README.md b/doc/ci/variables/README.md index b0e53cbc261..35dac4c9337 100644 --- a/doc/ci/variables/README.md +++ b/doc/ci/variables/README.md @@ -70,12 +70,14 @@ These variables can be later used in all executed commands and scripts. The YAML-defined variables are also set to all created service containers, thus allowing to fine tune them. +Variables can be defined on a global level, but also on a job level. + More information about Docker integration can be found in [Using Docker Images](../docker/using_docker_images.md). ### User-defined variables (Secure Variables) **This feature requires GitLab Runner 0.4.0 or higher** -GitLab CI allows you to define per-project **Secure Variables** that are set in build environment. +GitLab CI allows you to define per-project **Secure Variables** that are set in build environment. The secure variables are stored out of the repository (the `.gitlab-ci.yml`). The variables are securely passed to GitLab Runner and are available in build environment. It's desired method to use them for storing passwords, secret keys or whatever you want. |