summaryrefslogtreecommitdiff
path: root/lib/gitlab/ci/status/deployment/factory.rb
blob: feeac8a833c9fa6b6512993c9db05f0adc7c2474 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module Gitlab
  module Ci
    module Status
      module Deployment
        class Factory < Status::Factory
          def self.extended_statuses
            [[Status::Deployment::Canceled,
              Status::Deployment::Created,
              Status::Deployment::Failed,
              Status::Deployment::Running,
              Status::Deployment::Success]]
          end

          def self.common_helpers
            Status::Deployment::Common
          end
        end
      end
    end
  end
end