debian-mirror-gitlab/lib/gitlab/cycle_analytics/production_helper.rb

14 lines
342 B
Ruby
Raw Normal View History

2018-12-23 12:14:25 +05:30
# frozen_string_literal: true
2017-08-17 22:00:37 +05:30
module Gitlab
module CycleAnalytics
module ProductionHelper
2018-03-27 19:54:05 +05:30
def stage_query(project_ids)
super(project_ids)
2018-03-17 18:26:18 +05:30
.where(mr_metrics_table[:first_deployed_to_production_at]
.gteq(@options[:from])) # rubocop:disable Gitlab/ModuleWithInstanceVariables
2017-08-17 22:00:37 +05:30
end
end
end
end