Commit c27d7b6d authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch '325795-enable-instance-devops-adoption-by-default' into 'master'

Enable instance DevOps adoption by default

See merge request gitlab-org/gitlab!59267
parents 536a6a27 4b825719
---
name: devops_adoption_feature
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/46005
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/271568
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/325795
milestone: '13.6'
type: development
group: group::optimize
default_enabled: false
default_enabled: true
......@@ -59,18 +59,18 @@ DevOps Adoption allows you to:
### Disable or enable DevOps Adoption
DevOps Adoption is deployed behind a feature flag that is **disabled by default**.
DevOps Adoption 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 opt to enable it.
can opt to disable it.
To enable it:
To disable it:
```ruby
Feature.enable(:devops_adoption_feature)
Feature.disable(:devops_adoption_feature)
```
To disable it:
To reenable it:
```ruby
Feature.disable(:devops_adoption_feature)
Feature.enable(:devops_adoption_feature)
```
......@@ -16,7 +16,7 @@ module EE
feature_already_in_use = ::Analytics::DevopsAdoption::Segment.any?
::License.feature_available?(:devops_adoption) &&
(feature_already_in_use || ::Feature.enabled?(:devops_adoption_feature, default_enabled: false))
(feature_already_in_use || ::Feature.enabled?(:devops_adoption_feature, default_enabled: :yaml))
end
end
end
......
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