diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-17 12:09:32 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-17 12:09:32 +0300 |
commit | afed1a4be18c74f8b95a0b8e0e359a1339ca1ad1 (patch) | |
tree | 108265d8da2c5856183f9032c16dd9ae63cf9b01 /doc/ci/parent_child_pipelines.md | |
parent | 9e3e71602cac2593f77282b1862fbd163e78233f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/ci/parent_child_pipelines.md')
-rw-r--r-- | doc/ci/parent_child_pipelines.md | 38 |
1 files changed, 31 insertions, 7 deletions
diff --git a/doc/ci/parent_child_pipelines.md b/doc/ci/parent_child_pipelines.md index 3e3af9427c3..45b472bfb91 100644 --- a/doc/ci/parent_child_pipelines.md +++ b/doc/ci/parent_child_pipelines.md @@ -150,12 +150,36 @@ We also have an [example project using Dynamic Child Pipelines with Jsonnet](htt In GitLab 12.9, the child pipeline could fail to be created in certain cases, causing the parent pipeline to fail. This is [resolved in GitLab 12.10](https://gitlab.com/gitlab-org/gitlab/-/issues/209070). -## Limitations +## Nested child pipelines -In GitLab 13.3 and older, a parent pipeline can trigger many child pipelines, but -those child pipeline cannot trigger further 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), disabled by default. +> - It's disabled on GitLab.com. +> - It's not recommended for production use. +> - To use it in GitLab self-managed instances, ask a GitLab administrator to [enable it](#enable-or-disable-nested-child-pipelines). **(CORE ONLY)** -In GitLab 13.4 and newer, the [maximum depth of child pipelines was increased to 2](https://gitlab.com/gitlab-org/gitlab/-/issues/29651). -A parent pipeline can trigger many child pipelines. These child pipelines can trigger -their own child pipelines. This second layer of child pipelines cannot trigger further -child pipelines. +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 +pipelines, and these child pipelines can trigger their own child pipelines. It's not +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. +[GitLab administrators with access to the GitLab Rails console](../administration/feature_flags.md) +can enable it. + +To enable it: + +```ruby +Feature.enable(:ci_child_of_child_pipeline) +``` + +To disable it: + +```ruby +Feature.disable(:ci_child_of_child_pipeline) +``` |