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
8b506273
Commit
8b506273
authored
Oct 08, 2021
by
Niklas
Committed by
Marcel Amirault
Oct 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc Consistency: ci/variables
parent
16487aff
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
doc/ci/variables/index.md
doc/ci/variables/index.md
+5
-5
doc/ci/variables/where_variables_can_be_used.md
doc/ci/variables/where_variables_can_be_used.md
+1
-1
No files found.
doc/ci/variables/index.md
View file @
8b506273
...
@@ -191,7 +191,7 @@ The output is:
...
@@ -191,7 +191,7 @@ The output is:
### Add a CI/CD variable to a group
### Add a CI/CD variable to a group
> Support for
[environment scopes](https://gitlab.com/gitlab-org/gitlab/-/issues/2874) added to GitLab Premium in
13.11
> Support for
environment scopes [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/2874) in GitLab Premium
13.11
To make a CI/CD variable available to all projects in a group, define a group CI/CD variable.
To make a CI/CD variable available to all projects in a group, define a group CI/CD variable.
...
@@ -244,7 +244,7 @@ To add an instance variable:
...
@@ -244,7 +244,7 @@ To add an instance variable:
1.
Select the
**Add variable**
button, and fill in the details:
1.
Select the
**Add variable**
button, and fill in the details:
-
**Key**
: Must be one line, with no spaces, using only letters, numbers, or
`_`
.
-
**Key**
: Must be one line, with no spaces, using only letters, numbers, or
`_`
.
-
**Value**
:
[
In
GitLab 13.3 and later
](
https://gitlab.com/gitlab-org/gitlab/-/issues/220028
)
,
-
**Value**
:
In
[
GitLab 13.3 and later
](
https://gitlab.com/gitlab-org/gitlab/-/issues/220028
)
,
10,000 characters is allowed. This is also bounded by the limits of the selected
10,000 characters is allowed. This is also bounded by the limits of the selected
runner operating system. In GitLab 13.0 to 13.2, 700 characters is allowed.
runner operating system. In GitLab 13.0 to 13.2, 700 characters is allowed.
-
**Type**
:
[
`File` or `Variable`
](
#cicd-variable-types
)
.
-
**Type**
:
[
`File` or `Variable`
](
#cicd-variable-types
)
.
...
@@ -346,9 +346,9 @@ The value of the variable must:
...
@@ -346,9 +346,9 @@ The value of the variable must:
-
Be a single line.
-
Be a single line.
-
Be 8 characters or longer, consisting only of:
-
Be 8 characters or longer, consisting only of:
-
Characters from the Base64 alphabet (RFC4648).
-
Characters from the Base64 alphabet (RFC4648).
-
The
`@`
and
`:`
characters (
[
In GitLab 12.2
](
https://gitlab.com/gitlab-org/gitlab-foss/-/issues/63043
)
and later
).
-
The
`@`
and
`:`
characters (
In
[
GitLab 12.2 and later
](
https://gitlab.com/gitlab-org/gitlab-foss/-/issues/63043
)
).
-
The
`.`
character (
[
In GitLab 12.10
](
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/29022
)
and later
).
-
The
`.`
character (
In
[
GitLab 12.10 and later
](
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/29022
)
).
-
The
`~`
character (
[
In GitLab 13.12
](
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/61517
)
and later
).
-
The
`~`
character (
In
[
GitLab 13.12 and later
](
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/61517
)
).
-
Not match the name of an existing predefined or custom CI/CD variable.
-
Not match the name of an existing predefined or custom CI/CD variable.
NOTE:
NOTE:
...
...
doc/ci/variables/where_variables_can_be_used.md
View file @
8b506273
...
@@ -5,7 +5,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w
...
@@ -5,7 +5,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w
type
:
reference
type
:
reference
---
---
# Where variables can be used
# Where variables can be used
**(FREE)**
As it's described in the
[
CI/CD variables
](
index.md
)
docs, you can
As it's described in the
[
CI/CD variables
](
index.md
)
docs, you can
define many different variables. Some of them can be used for all GitLab CI/CD
define many different variables. Some of them can be used for all GitLab CI/CD
...
...
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