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
ec1fe543
Commit
ec1fe543
authored
Sep 17, 2020
by
Furkan Ayhan
Committed by
Kamil Trzciński
Sep 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable ci_child_of_child_pipeline by default
Also add a changelog for the feature
parent
0cc0f7ef
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
11 deletions
+15
-11
changelogs/unreleased/29651-243747-enable-child-of-child-pipeline.yml
...nreleased/29651-243747-enable-child-of-child-pipeline.yml
+5
-0
config/feature_flags/development/ci_child_of_child_pipeline.yml
.../feature_flags/development/ci_child_of_child_pipeline.yml
+1
-1
doc/ci/parent_child_pipelines.md
doc/ci/parent_child_pipelines.md
+8
-9
lib/gitlab/ci/features.rb
lib/gitlab/ci/features.rb
+1
-1
No files found.
changelogs/unreleased/29651-243747-enable-child-of-child-pipeline.yml
0 → 100644
View file @
ec1fe543
---
title
:
Implement allowing child pipeline to have child pipeline
merge_request
:
42580
author
:
type
:
added
config/feature_flags/development/ci_child_of_child_pipeline.yml
View file @
ec1fe543
...
...
@@ -4,4 +4,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/41102
rollout_issue_url
:
https://gitlab.com/gitlab-org/gitlab/-/issues/243747
group
:
'
group::continuous
integration'
type
:
development
default_enabled
:
fals
e
default_enabled
:
tru
e
doc/ci/parent_child_pipelines.md
View file @
ec1fe543
...
...
@@ -153,10 +153,10 @@ This is [resolved in GitLab 12.10](https://gitlab.com/gitlab-org/gitlab/-/issues
## Nested child pipelines
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/29651) in GitLab 13.4.
> - It's [deployed behind a feature flag](../user/feature_flags.md),
dis
abled by default.
> - It's
dis
abled on GitLab.com.
> - It's
not
recommended for production use.
> -
To use it in GitLab self-managed instances, ask a GitLab administrator to [en
able it](#enable-or-disable-nested-child-pipelines). **(CORE ONLY)**
> - It's [deployed behind a feature flag](../user/feature_flags.md),
en
abled by default.
> - It's
en
abled on GitLab.com.
> - It's recommended for production use.
> -
For GitLab self-managed instances, GitLab administrators can opt to [dis
able it](#enable-or-disable-nested-child-pipelines). **(CORE ONLY)**
Parent and child pipelines were introduced with a maximum depth of one level of child
pipelines, which was later increased to two. A parent pipeline can trigger many child
...
...
@@ -165,12 +165,11 @@ possible to trigger another level of child pipelines.
### Enable or disable nested child pipelines **(CORE ONLY)**
Nested child pipelines with a depth of two are under development and not ready for
production use. This feature is deployed behind a feature flag that is
**disabled by default**
.
Enabling this feature allows child pipelines to trigger one more level of child pipelines.
The second level of child pipelines cannot trigger any further child pipelines.
Nested child pipelines with a depth of two are under development but ready for
production use. This feature is deployed behind a feature flag that is
**enabled by default**
.
[
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:
...
...
lib/gitlab/ci/features.rb
View file @
ec1fe543
...
...
@@ -59,7 +59,7 @@ module Gitlab
end
def
self
.
child_of_child_pipeline_enabled?
(
project
)
::
Feature
.
enabled?
(
:ci_child_of_child_pipeline
,
project
,
default_enabled:
fals
e
)
::
Feature
.
enabled?
(
:ci_child_of_child_pipeline
,
project
,
default_enabled:
tru
e
)
end
def
self
.
trace_overwrite?
...
...
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