diff options
author | blackst0ne <blackst0ne.ru@gmail.com> | 2017-05-07 08:29:43 +1100 |
---|---|---|
committer | blackst0ne <blackst0ne.ru@gmail.com> | 2017-05-07 08:29:43 +1100 |
commit | 295cecfb56af4e064340d255140a28959c47b25d (patch) | |
tree | f88460655eddc755c56234c92b5e5f393867ede5 /doc | |
parent | 1005389f70070245092c1ae5f3f9b10b8e7c102e (diff) | |
download | gitlab-ce-295cecfb56af4e064340d255140a28959c47b25d.tar.gz |
Allow numeric values in gitlab-ci.yml
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ci/yaml/README.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md index ad3ebd144df..1c34273f1b8 100644 --- a/doc/ci/yaml/README.md +++ b/doc/ci/yaml/README.md @@ -147,6 +147,10 @@ variables: DATABASE_URL: "postgres://postgres@postgres/my_database" ``` +>**Note:** +Integers (as well as strings) are legal both for variable's name and value. +Floats are not legal and cannot be used. + 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 also defined on a @@ -1147,7 +1151,7 @@ Example: ```yaml variables: - GET_SOURCES_ATTEMPTS: "3" + GET_SOURCES_ATTEMPTS: 3 ``` You can set them in the global [`variables`](#variables) section or the |