Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
841ee037
Commit
841ee037
authored
Aug 17, 2021
by
Fiona Neill
Committed by
Marcel Amirault
Aug 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds list of supported variables for include.ref
parent
9d089c9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
doc/ci/yaml/index.md
doc/ci/yaml/index.md
+5
-4
No files found.
doc/ci/yaml/index.md
View file @
841ee037
...
@@ -425,15 +425,16 @@ configurations. Local configurations in the `.gitlab-ci.yml` file override inclu
...
@@ -425,15 +425,16 @@ configurations. Local configurations in the `.gitlab-ci.yml` file override inclu
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/284883) in GitLab 13.8.
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/284883) in GitLab 13.8.
> - [Feature flag removed](https://gitlab.com/gitlab-org/gitlab/-/issues/294294) in GitLab 13.9.
> - [Feature flag removed](https://gitlab.com/gitlab-org/gitlab/-/issues/294294) in GitLab 13.9.
> - [
Custom variable support
added](https://gitlab.com/gitlab-org/gitlab/-/issues/219065) in GitLab 14.2.
> - [
Support for project, group, and instance variables
added](https://gitlab.com/gitlab-org/gitlab/-/issues/219065) in GitLab 14.2.
In
`include`
sections in your
`.gitlab-ci.yml`
file, you can use:
In
`include`
sections in your
`.gitlab-ci.yml`
file, you can use:
-
Project
[
predefined variables
](
../variables/predefined_variables.md
)
.
-
[
Custom instance, group, and project variables
](
../variables/index.md#custom-cicd-variables
)
in GitLab 14.2 and later.
-
`$CI_COMMIT_REF_NAME`
[
predefined variable
](
../variables/predefined_variables.md
)
in GitLab 14.2
-
`$CI_COMMIT_REF_NAME`
[
predefined variable
](
../variables/predefined_variables.md
)
in GitLab 14.2
and later.
and later.
-
[
Project variables
](
../variables/index.md#add-a-cicd-variable-to-a-project
)
-
[
Group variables
](
../variables/index.md#add-a-cicd-variable-to-a-group
)
-
[
Instance variables
](
../variables/index.md#add-a-cicd-variable-to-an-instance
)
-
Project
[
predefined variables
](
../variables/predefined_variables.md
)
.
```
yaml
```
yaml
include
:
include
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment