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
ac8e8550
Commit
ac8e8550
authored
May 05, 2021
by
Furkan Ayhan
Committed by
Dmitry Gruzd
May 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable ci_workflow_rules_variables by default
parent
c3c7afb0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
11 deletions
+18
-11
changelogs/unreleased/300997-enable-ci_workflow_rules_variables.yml
.../unreleased/300997-enable-ci_workflow_rules_variables.yml
+5
-0
config/feature_flags/development/ci_workflow_rules_variables.yml
...feature_flags/development/ci_workflow_rules_variables.yml
+1
-1
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+12
-10
No files found.
changelogs/unreleased/300997-enable-ci_workflow_rules_variables.yml
0 → 100644
View file @
ac8e8550
---
title
:
Implement variables for pipeline workflow rules
merge_request
:
59970
author
:
type
:
added
config/feature_flags/development/ci_workflow_rules_variables.yml
View file @
ac8e8550
...
@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/300997
...
@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/300997
milestone
:
'
13.11'
milestone
:
'
13.11'
type
:
development
type
:
development
group
:
group::pipeline authoring
group
:
group::pipeline authoring
default_enabled
:
fals
e
default_enabled
:
tru
e
doc/ci/yaml/README.md
View file @
ac8e8550
...
@@ -226,13 +226,15 @@ If your rules match both branch pipelines and merge request pipelines,
...
@@ -226,13 +226,15 @@ If your rules match both branch pipelines and merge request pipelines,
#### `workflow:rules:variables`
#### `workflow:rules:variables`
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/294232) in GitLab 13.11.
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/294232) in GitLab 13.11.
> - It's [deployed behind a feature flag](../../user/feature_flags.md), disabled by default.
> - [Deployed behind a feature flag](../../user/feature_flags.md), disabled by default.
> - It's disabled on GitLab.com.
> - [Enabled by default](https://gitlab.com/gitlab-org/gitlab/-/issues/300997) in GitLab 13.12.
> - It's not recommended for production use.
> - Enabled on GitLab.com.
> - To use it in GitLab self-managed instances, ask a GitLab administrator to [enable it](#enable-or-disable-workflowrulesvariables). **(CORE ONLY)**
> - Recommended for production use.
> - For GitLab self-managed instances, GitLab administrators can opt to [disable it](#enable-or-disable-workflowrulesvariables). **(FREE SELF)**
WARNING:
There can be
This feature might not be available to you. Check the
**version history**
note above for details.
[
risks when disabling released features
](
../../user/feature_flags.md#risks-when-disabling-released-features
)
.
Refer to this feature's version history for more details.
You can use
[
`variables`
](
#variables
)
in
`workflow:rules:`
to define variables for specific pipeline conditions.
You can use
[
`variables`
](
#variables
)
in
`workflow:rules:`
to define variables for specific pipeline conditions.
...
@@ -285,12 +287,12 @@ When the branch is something else:
...
@@ -285,12 +287,12 @@ When the branch is something else:
-
job1's
`DEPLOY_VARIABLE`
is
`job1-default-deploy`
.
-
job1's
`DEPLOY_VARIABLE`
is
`job1-default-deploy`
.
-
job2's
`DEPLOY_VARIABLE`
is
`default-deploy`
.
-
job2's
`DEPLOY_VARIABLE`
is
`default-deploy`
.
##### Enable or disable workflow:rules:variables **(
CORE ONLY
)**
##### Enable or disable workflow:rules:variables **(
FREE SELF
)**
rules:variables is under development and no
t ready for production use.
workflow:rules:variables is under development bu
t ready for production use.
It is deployed behind a feature flag that is
**
dis
abled by default**
.
It is deployed behind a feature flag that is
**
en
abled by default**
.
[
GitLab administrators with access to the GitLab Rails console
](
../../administration/feature_flags.md
)
[
GitLab administrators with access to the GitLab Rails console
](
../../administration/feature_flags.md
)
can
en
able it.
can
opt to dis
able it.
To enable it:
To enable it:
...
...
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