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
725b6327
Commit
725b6327
authored
Sep 09, 2019
by
Giorgenes Gelatti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add dependency proxy usage ping
parent
cd0d97c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
lib/gitlab/usage_data.rb
lib/gitlab/usage_data.rb
+1
-0
spec/lib/gitlab/usage_data_spec.rb
spec/lib/gitlab/usage_data_spec.rb
+2
-0
No files found.
lib/gitlab/usage_data.rb
View file @
725b6327
...
...
@@ -116,6 +116,7 @@ module Gitlab
def
features_usage_data_ce
{
container_registry_enabled:
Gitlab
.
config
.
registry
.
enabled
,
dependency_proxy_enabled:
Gitlab
.
config
.
try
(
:dependency_proxy
)
&
.
enabled
,
gitlab_shared_runners_enabled:
Gitlab
.
config
.
gitlab_ci
.
shared_runners_enabled
,
gravatar_enabled:
Gitlab
::
CurrentSettings
.
gravatar_enabled?
,
influxdb_metrics_enabled:
Gitlab
::
Metrics
.
influx_metrics_enabled?
,
...
...
spec/lib/gitlab/usage_data_spec.rb
View file @
725b6327
...
...
@@ -55,6 +55,7 @@ describe Gitlab::UsageData do
omniauth_enabled
reply_by_email_enabled
container_registry_enabled
dependency_proxy_enabled
gitlab_shared_runners_enabled
gitlab_pages
git
...
...
@@ -234,6 +235,7 @@ describe Gitlab::UsageData do
expect
(
subject
[
:omniauth_enabled
]).
to
eq
(
Gitlab
::
Auth
.
omniauth_enabled?
)
expect
(
subject
[
:reply_by_email_enabled
]).
to
eq
(
Gitlab
::
IncomingEmail
.
enabled?
)
expect
(
subject
[
:container_registry_enabled
]).
to
eq
(
Gitlab
.
config
.
registry
.
enabled
)
expect
(
subject
[
:dependency_proxy_enabled
]).
to
eq
(
Gitlab
.
config
.
dependency_proxy
.
enabled
)
expect
(
subject
[
:gitlab_shared_runners_enabled
]).
to
eq
(
Gitlab
.
config
.
gitlab_ci
.
shared_runners_enabled
)
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