Skip to content
Snippets Groups Projects
Commit 24b22691 authored by Z.J. van de Weg's avatar Z.J. van de Weg
Browse files

Only count GL pipelines in usage data ping

Now it includes all pipelines, also from external providers. This wasn't
what the product team wanted. Now this is limited to pipelines where the
source is everything but external. This will lead to historical data
being incorrectly marked this way.

Fixes gitlab-org/gitlab-ce#33172
parent 9fe6c2b2
No related branches found
No related tags found
No related merge requests found
Pipeline #
Loading
Loading
@@ -20,7 +20,7 @@ module Gitlab
counts: {
boards: Board.count,
ci_builds: ::Ci::Build.count,
ci_pipelines: ::Ci::Pipeline.count,
ci_pipelines: ::Ci::Pipeline.where.not(source: :external).count,
ci_runners: ::Ci::Runner.count,
ci_triggers: ::Ci::Trigger.count,
ci_pipeline_schedules: ::Ci::PipelineSchedule.count,
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment