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
4b825719
Commit
4b825719
authored
Apr 13, 2021
by
Pavel Shutsin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable instance DevOps adoption by default
parent
2323fd01
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
config/feature_flags/development/devops_adoption_feature.yml
config/feature_flags/development/devops_adoption_feature.yml
+2
-2
doc/user/admin_area/analytics/dev_ops_report.md
doc/user/admin_area/analytics/dev_ops_report.md
+6
-6
ee/app/controllers/ee/admin/dev_ops_report_controller.rb
ee/app/controllers/ee/admin/dev_ops_report_controller.rb
+1
-1
No files found.
config/feature_flags/development/devops_adoption_feature.yml
View file @
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
:
fals
e
default_enabled
:
tru
e
doc/user/admin_area/analytics/dev_ops_report.md
View file @
4b825719
...
...
@@ -59,18 +59,18 @@ DevOps Adoption allows you to:
### Disable or enable DevOps Adoption
DevOps Adoption is deployed behind a feature flag that is
**
dis
abled by default**
.
DevOps Adoption is deployed behind a feature flag that is
**
en
abled by default**
.
[
GitLab administrators with access to the GitLab Rails console
](
../../../administration/feature_flags.md
)
can opt to
en
able it.
can opt to
dis
able it.
To
en
able it:
To
dis
able it:
```
ruby
Feature
.
en
able
(
:devops_adoption_feature
)
Feature
.
dis
able
(
:devops_adoption_feature
)
```
To
dis
able it:
To
reen
able it:
```
ruby
Feature
.
dis
able
(
:devops_adoption_feature
)
Feature
.
en
able
(
:devops_adoption_feature
)
```
ee/app/controllers/ee/admin/dev_ops_report_controller.rb
View file @
4b825719
...
...
@@ -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
...
...
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