debian-mirror-gitlab/spec/factories/dev_ops_report_metrics.rb

46 lines
1.2 KiB
Ruby
Raw Normal View History

2019-10-12 21:52:04 +05:30
# frozen_string_literal: true
2018-03-17 18:26:18 +05:30
FactoryBot.define do
2020-11-24 15:15:51 +05:30
factory :dev_ops_report_metric, class: 'DevOpsReport::Metric' do
2019-12-21 20:55:43 +05:30
leader_issues { 9.256 }
instance_issues { 1.234 }
percentage_issues { 13.331 }
2017-09-10 17:25:29 +05:30
2019-12-21 20:55:43 +05:30
leader_notes { 30.33333 }
instance_notes { 28.123 }
percentage_notes { 92.713 }
2017-09-10 17:25:29 +05:30
2019-12-21 20:55:43 +05:30
leader_milestones { 16.2456 }
instance_milestones { 1.234 }
percentage_milestones { 7.595 }
2017-09-10 17:25:29 +05:30
2019-12-21 20:55:43 +05:30
leader_boards { 5.2123 }
instance_boards { 3.254 }
percentage_boards { 62.429 }
2017-09-10 17:25:29 +05:30
2019-12-21 20:55:43 +05:30
leader_merge_requests { 1.2 }
instance_merge_requests { 0.6 }
percentage_merge_requests { 50.0 }
2017-09-10 17:25:29 +05:30
2019-12-21 20:55:43 +05:30
leader_ci_pipelines { 12.1234 }
instance_ci_pipelines { 2.344 }
percentage_ci_pipelines { 19.334 }
2017-09-10 17:25:29 +05:30
2019-12-21 20:55:43 +05:30
leader_environments { 3.3333 }
instance_environments { 2.2222 }
percentage_environments { 66.672 }
2017-09-10 17:25:29 +05:30
2019-12-21 20:55:43 +05:30
leader_deployments { 1.200 }
instance_deployments { 0.771 }
percentage_deployments { 64.25 }
2017-09-10 17:25:29 +05:30
2019-12-21 20:55:43 +05:30
leader_projects_prometheus_active { 0.111 }
instance_projects_prometheus_active { 0.109 }
percentage_projects_prometheus_active { 98.198 }
2017-09-10 17:25:29 +05:30
2019-12-21 20:55:43 +05:30
leader_service_desk_issues { 15.891 }
instance_service_desk_issues { 13.345 }
percentage_service_desk_issues { 83.978 }
2017-09-10 17:25:29 +05:30
end
end