Commit 51813f5b authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'docs_update_pipelines_for_merged_results' into 'master'

Update troubleshooting section of doc/ci/merge_request_pipelines/pipelines_for_merged_results/index.md

See merge request gitlab-org/gitlab!25568
parents 885e4d44 fa6d3b16
...@@ -85,13 +85,27 @@ the following feature flags are enabled on your GitLab instance: ...@@ -85,13 +85,27 @@ the following feature flags are enabled on your GitLab instance:
- `:ci_use_merge_request_ref` - `:ci_use_merge_request_ref`
- `:merge_ref_auto_sync` - `:merge_ref_auto_sync`
To check these feature flag values, please ask administrator to execute the following commands: To check and set these feature flag values, please ask an administrator to:
```shell 1. Log into the Rails console of the GitLab instance:
> sudo gitlab-rails console # Login to Rails console of GitLab instance.
> Feature.enabled?(:ci_use_merge_request_ref) # Check if it's enabled or not. ```shell
> Feature.enable(:ci_use_merge_request_ref) # Enable the feature flag. sudo gitlab-rails console
``` ```
1. Check if the flags are enabled or not:
```ruby
Feature.enabled?(:ci_use_merge_request_ref)
Feature.enabled?(:merge_ref_auto_sync)
```
1. If needed, enable the feature flags:
```ruby
Feature.enable(:ci_use_merge_request_ref)
Feature.enable(:merge_ref_auto_sync)
```
### Intermittently pipelines fail by `fatal: reference is not a tree:` error ### Intermittently pipelines fail by `fatal: reference is not a tree:` error
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment