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
path: root/doc/ci
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-06-03 06:08:48 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-06-03 06:08:48 +0300
commitcd4685432eff18f4c829ff44a8ac990ddaf8971b (patch)
tree624f5a15c3c33c875ed4605d1abf8011d0aaf87f /doc/ci
parent77628d9c8306401a73ea3737d97ed479f3f08c0b (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/ci')
-rw-r--r--doc/ci/pipelines/downstream_pipelines.md6
-rw-r--r--doc/ci/variables/index.md4
2 files changed, 10 insertions, 0 deletions
diff --git a/doc/ci/pipelines/downstream_pipelines.md b/doc/ci/pipelines/downstream_pipelines.md
index ffcfee98f05..9de1e225a81 100644
--- a/doc/ci/pipelines/downstream_pipelines.md
+++ b/doc/ci/pipelines/downstream_pipelines.md
@@ -661,6 +661,12 @@ For example, in a [multi-project pipeline](#multi-project-pipelines):
artifacts: true
```
+### Control what type of variables to forward to downstream pipelines
+
+Use the [`trigger:forward` keyword](../yaml/index.md#triggerforward) to specify
+what type of variables to forward to the downstream pipeline. Forwarded variables
+are considered trigger variables, which have the [highest precedence](../variables/index.md#cicd-variable-precedence).
+
## Troubleshooting
### Trigger job fails and does not create multi-project pipeline
diff --git a/doc/ci/variables/index.md b/doc/ci/variables/index.md
index 64a0f1038ad..1e50756d08f 100644
--- a/doc/ci/variables/index.md
+++ b/doc/ci/variables/index.md
@@ -718,6 +718,10 @@ use this setting for control over the environment the pipeline runs in.
The example can be copied to your own group or instance for testing. More details
on what other GitLab CI patterns are demonstrated are available at the project page.
+- You can [pass CI/CD variables to downstream pipelines](../pipelines/downstream_pipelines.md#pass-cicd-variables-to-a-downstream-pipeline).
+ Use [`trigger:forward` keyword](../yaml/index.md#triggerforward) to specify what type of variables
+ to pass to the downstream pipeline.
+
## Troubleshooting
### List all variables