diff options
| author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-09 00:10:07 +0000 |
|---|---|---|
| committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-09 00:10:07 +0000 |
| commit | c72613147447f060da53873ba698133198cf416c (patch) | |
| tree | c4ee34f7dca96bb48033c94910d3865b065c2439 /doc/ci/variables | |
| parent | f26a600a69b3a13d3102d801f5d92d3235ea56d4 (diff) | |
| download | gitlab-ce-c72613147447f060da53873ba698133198cf416c.tar.gz | |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/ci/variables')
| -rw-r--r-- | doc/ci/variables/index.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/ci/variables/index.md b/doc/ci/variables/index.md index e9d4fd8549c..4febed95157 100644 --- a/doc/ci/variables/index.md +++ b/doc/ci/variables/index.md @@ -592,6 +592,7 @@ deploy: BUILD_VARIABLE: value_from_deploy_job script: - echo "$BUILD_VARIABLE" # Output is: 'value_from_build_job' due to precedence + environment: production ``` The [`dependencies`](../yaml/index.md#dependencies) or @@ -616,12 +617,19 @@ deploy_one: - echo "$BUILD_VERSION" # Output is: 'hello' dependencies: - build + environment: + name: customer1 + deployment_tier: production + deploy_two: stage: deploy script: - echo "$BUILD_VERSION" # Output is empty dependencies: [] + environment: + name: customer2 + deployment_tier: production deploy_three: stage: deploy @@ -629,6 +637,10 @@ deploy_three: - echo "$BUILD_VERSION" # Output is: 'hello' needs: - build + environment: + name: customer3 + deployment_tier: production + deploy_four: stage: deploy @@ -637,6 +649,9 @@ deploy_four: needs: job: build artifacts: true + environment: + name: customer4 + deployment_tier: production deploy_five: stage: deploy @@ -645,6 +660,9 @@ deploy_five: needs: job: build artifacts: false + environment: + name: customer5 + deployment_tier: production ``` [Multi-project pipelines](../pipelines/downstream_pipelines.md#pass-dotenv-variables-created-in-a-job) |
