23 lines
471 B
Ruby
23 lines
471 B
Ruby
module Gitlab
|
|
module CycleAnalytics
|
|
class StagingStage < BaseStage
|
|
include ProductionHelper
|
|
def start_time_attrs
|
|
@start_time_attrs ||= mr_metrics_table[:merged_at]
|
|
end
|
|
|
|
def end_time_attrs
|
|
@end_time_attrs ||= mr_metrics_table[:first_deployed_to_production_at]
|
|
end
|
|
|
|
def name
|
|
:staging
|
|
end
|
|
|
|
def description
|
|
"From merge request merge until deploy to production"
|
|
end
|
|
end
|
|
end
|
|
end
|