From d3f7c2332d29f10e217c44df295deb8c5fbfc6d2 Mon Sep 17 00:00:00 2001 From: Lyle Kozloff Date: Wed, 12 Dec 2018 23:35:50 +0000 Subject: Rephrasing to remove HTML requirement --- doc/ci/variables/where_variables_can_be_used.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/ci/variables/where_variables_can_be_used.md b/doc/ci/variables/where_variables_can_be_used.md index b57ae5355da..1757bd56dc6 100644 --- a/doc/ci/variables/where_variables_can_be_used.md +++ b/doc/ci/variables/where_variables_can_be_used.md @@ -17,8 +17,8 @@ There are two places defined variables can be used. On the: | Definition | Can be expanded? | Expansion place | Description | |--------------------------------------|-------------------|-----------------|--------------| -| `environment:url` | yes | GitLab | The variable expansion is made by GitLab's [internal variable expansion mechanism](#gitlab-internal-variable-expansion-mechanism).
- Supported: all variables defined for a job (project/group variables, variables from `.gitlab-ci.yml`, variables from triggers, variables from pipeline schedules)
- Not supported: variables defined in Runner's `config.toml` and variables created in job's `script` | -| `environment:name` | yes | GitLab | Similar to `environment:url`, but the variables expansion doesn't support:
- variables that are based on the environment's name (`CI_ENVIRONMENT_NAME`, `CI_ENVIRONMENT_SLUG`)
- any other variables related to environment (currently only `CI_ENVIRONMENT_URL`)
- [persisted variables](#persisted-variables) | +| `environment:url` | yes | GitLab | The variable expansion is made by GitLab's [internal variable expansion mechanism](#gitlab-internal-variable-expansion-mechanism).
- Supported variables include: all variables defined for a job (project/group variables, variables from `.gitlab-ci.yml`, variables from triggers, variables from pipeline schedules). Unsupported variables are those variables defined in Runner's `config.toml` and variables created in job's `script` | +| `environment:name` | yes | GitLab | Similar to `environment:url`, but the variables expansion doesn't support variables that are based on the environment's name (`CI_ENVIRONMENT_NAME`, `CI_ENVIRONMENT_SLUG`), any other variables related to environment (currently only `CI_ENVIRONMENT_URL`) or [persisted variables](#persisted-variables) | | `variables` | yes | Runner | The variable expansion is made by GitLab Runner's [internal variable expansion mechanism](#gitlab-runner-internal-variable-expansion-mechanism) | | `image` | yes | Runner | The variable expansion is made by GitLab Runner's [internal variable expansion mechanism](#gitlab-runner-internal-variable-expansion-mechanism) | | `services:[]` | yes | Runner | The variable expansion is made by GitLab Runner's [internal variable expansion mechanism](#gitlab-runner-internal-variable-expansion-mechanism) | @@ -26,7 +26,7 @@ There are two places defined variables can be used. On the: | `cache:key` | yes | Runner | The variable expansion is made by GitLab Runner's [internal variable expansion mechanism](#gitlab-runner-internal-variable-expansion-mechanism) | | `artifacts:name` | yes | Runner | The variable expansion is made by GitLab Runner's shell environment | | `script`, `before_script`, `after_script` | yes | Script execution shell | The variable expansion is made by the [execution shell environment](#execution-shell-environment) | -| `only:variables:[]`, `except:variables:[]` | no | n/a | The variable must be in the form of `$variable`.
Not supported:
- variables that are based on the environment's name (`CI_ENVIRONMENT_NAME`, `CI_ENVIRONMENT_SLUG`)
- any other variables related to environment (currently only `CI_ENVIRONMENT_URL`)
- [persisted variables](#persisted-variables) | +| `only:variables:[]`, `except:variables:[]` | no | n/a | The variable must be in the form of `$variable`, unsupported or thoes that are based on the environment's name (`CI_ENVIRONMENT_NAME`, `CI_ENVIRONMENT_SLUG`), any other variables related to environment (currently only `CI_ENVIRONMENT_URL`) and [persisted variables](#persisted-variables) | ### `config.toml` file -- cgit v1.2.3