summaryrefslogtreecommitdiff
path: root/lib/gitlab/ci/status/deployment/manual.rb
blob: cc871685a6d958c1998080551cc2608e6556eb4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module Gitlab
  module Ci
    module Status
      module Deployment
        class Manual < Status::Extended
          def environment_text
            "Please trigger the build to deploy to %{environment_path}."
          end

          def self.matches?(deployment, user)
            deployment.manual?
          end
        end
      end
    end
  end
end