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
1e233275
Commit
1e233275
authored
Nov 02, 2020
by
Marcel Amirault
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix details about merge train feature flag
parent
65e2e1b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
9 deletions
+15
-9
doc/ci/merge_request_pipelines/pipelines_for_merged_results/merge_trains/index.md
...elines/pipelines_for_merged_results/merge_trains/index.md
+15
-9
No files found.
doc/ci/merge_request_pipelines/pipelines_for_merged_results/merge_trains/index.md
View file @
1e233275
...
...
@@ -200,17 +200,23 @@ for more information.
### Merge Trains feature flag **(PREMIUM ONLY)**
To enable and disable the Merge Trains feature, use the
`:disable_merge_trains`
feature flag.
Merge trains are automatically enabled when
[
pipelines for merged results
](
../index.md#pipelines-for-merged-results
)
are enabled. To use pipelines for merged results without using merge trains, you must
enable a
[
feature flag
](
../../../../user/feature_flags.md
)
that blocks the merge trains
feature.
To check if the feature flag is enabled on your GitLab instance,
ask an administrator to execute the following command
s:
[
GitLab administrators with access to the GitLab Rails console
](
../../../../administration/feature_flags.md
)
can enable the feature flag to disable merge train
s:
```
shell
>
sudo
gitlab-rails console
# Login to Rails console of GitLab instance.
>
Feature.enabled?
(
:disable_merge_trains
)
# Check if it's disabled or not.
>
Feature.enable
(
:disable_merge_trains
)
# Enable Merge Trains.
>
Feature.disable
(
:disable_merge_trains
)
# Disable Merge Trains.
```
ruby
Feature
.
enable
(
:disable_merge_trains
)
```
When you disable this feature
, all existing merge trains are cancelled and
After you enable this feature flag
, all existing merge trains are cancelled and
the
**Start/Add to Merge Train**
button no longer appears in merge requests.
To disable the feature flag, and enable merge trains again:
```
ruby
Feature
.
disable
(
:disable_merge_trains
)
```
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