Skip to content
代码片段 群组 项目
未验证 提交 13b62ee7 编辑于 作者: Marcel Amirault's avatar Marcel Amirault 提交者: GitLab
浏览文件

Merge branch 'master' into 'master'

Add integration level persisted variables documentation

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/144642



Merged-by: default avatarMarcel Amirault <mamirault@gitlab.com>
Approved-by: default avatarMarcel Amirault <mamirault@gitlab.com>
Reviewed-by: default avatarMarcel Amirault <mamirault@gitlab.com>
Co-authored-by: default avatarKostas Evangelou <kevangel@cern.ch>
No related branches found
No related tags found
无相关合并请求
......@@ -144,7 +144,20 @@ These restrictions exist because `after_script` scripts are executed in a
## Persisted variables
Some predefined variables are called "persisted".
Some predefined variables are called "persisted". Persisted variables are:
- Supported for definitions where the ["Expansion place"](#gitlab-ciyml-file) is:
- Runner.
- Script execution shell.
- Not supported:
- For definitions where the ["Expansion place"](#gitlab-ciyml-file) is GitLab.
- In the `rules`, `only`, and `except` [variables expressions](../jobs/job_control.md#cicd-variable-expressions).
[Pipeline trigger jobs](../yaml/index.md#trigger) cannot use job-level persisted variables,
but can use pipeline-level persisted variables.
Some of the persisted variables contain tokens and cannot be used by some definitions
due to security reasons.
Pipeline-level persisted variables:
......@@ -163,20 +176,27 @@ Job-level persisted variables:
- `CI_REGISTRY_USER`
- `CI_REPOSITORY_URL`
Persisted variables are:
- Supported for definitions where the ["Expansion place"](#gitlab-ciyml-file) is:
- Runner.
- Script execution shell.
- Not supported:
- For definitions where the ["Expansion place"](#gitlab-ciyml-file) is GitLab.
- In the `only`, `except`, and `rules` [variables expressions](../jobs/job_control.md#cicd-variable-expressions).
[Pipeline trigger jobs](../yaml/index.md#trigger) cannot use job-level persisted variables,
but can use pipeline-level persisted variables.
Some of the persisted variables contain tokens and cannot be used by some definitions
due to security reasons.
Persisted variables for specific integrations:
- [Harbor](../../user/project/integrations/harbor.md):
- `HARBOR_URL`
- `HARBOR_HOST`
- `HARBOR_OCI`
- `HARBOR_PROJECT`
- `HARBOR_USERNAME`
- `HARBOR_PASSWORD`
- [Apple App Store Connect](../../user/project/integrations/apple_app_store.md):
- `APP_STORE_CONNECT_API_KEY_ISSUER_ID`
- `APP_STORE_CONNECT_API_KEY_KEY_ID`
- `APP_STORE_CONNECT_API_KEY_KEY`
- `APP_STORE_CONNECT_API_KEY_IS_KEY_CONTENT_BASE64`
- [Google Play](../../user/project/integrations/google_play.md):
- `SUPPLY_PACKAGE_NAME`
- `SUPPLY_JSON_KEY_DATA`
- [Diffblue Cover](../../integration/diffblue_cover.md):
- `DIFFBLUE_LICENSE_KEY`
- `DIFFBLUE_ACCESS_TOKEN_NAME`
- `DIFFBLUE_ACCESS_TOKEN`
## Variables with an environment scope
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册