summaryrefslogtreecommitdiff
path: root/lib/gitlab/ci/status/deployment/pending.rb
blob: 6b6baddbccb652ab05a848e8775ad9c5aef256c4 (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 Pending < Status::Extended
          def environment_text
            "This job deploys to %{environmentLink} soon."
          end

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