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
dfc45d7c
Commit
dfc45d7c
authored
Feb 25, 2020
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix merge train docs about feature flag
This commit fixes the merge train docs
parent
0d7b6c81
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
doc/ci/merge_request_pipelines/pipelines_for_merged_results/merge_trains/index.md
...elines/pipelines_for_merged_results/merge_trains/index.md
+6
-6
No files found.
doc/ci/merge_request_pipelines/pipelines_for_merged_results/merge_trains/index.md
View file @
dfc45d7c
...
...
@@ -140,15 +140,15 @@ workaround you'd be able to take immediately. If it's not available or acceptabl
please read through this section.
Merge train is enabled by default when you enable
[
Pipelines for merged results
](
../index.md
)
,
however, you can
forcibly disable this feature by disabling the feature flag
`:merge_trains_enabled
`
.
After you disabled this feature, all the existing merge trains will b
e aborted and
you will no longer see the
**Start/Add Merge Train**
button
in merge requests.
however, you can
disable this feature by setting the
`:disable_merge_trains`
feature flag to
`enable
`
.
When you disable this feature, all existing merge trains ar
e aborted and
the
**Start/Add Merge Train**
button no longer appears
in merge requests.
To check if the feature flag is enabled on your GitLab instance,
please ask a
dministrator to execute the following commands
:
please ask a
n administrator to execute the following commands
**(CORE ONLY)**
:
```
shell
>
sudo
gitlab-rails console
# Login to Rails console of GitLab instance.
>
Feature.enabled?
(
:
merge_trains_enabled
)
# Check if it's en
abled or not.
>
Feature.
disable
(
:merge_trains_enabled
)
# Disable the feature flag
.
>
Feature.enabled?
(
:
disable_merge_trains
)
# Check if it's dis
abled or not.
>
Feature.
enable
(
:disable_merge_trains
)
# 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