diff options
Diffstat (limited to 'lib/gitlab/ci/status/deployment/scheduled.rb')
-rw-r--r-- | lib/gitlab/ci/status/deployment/scheduled.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/gitlab/ci/status/deployment/scheduled.rb b/lib/gitlab/ci/status/deployment/scheduled.rb new file mode 100644 index 00000000000..9c718c930cb --- /dev/null +++ b/lib/gitlab/ci/status/deployment/scheduled.rb @@ -0,0 +1,17 @@ +module Gitlab + module Ci + module Status + module Deployment + class Scheduled < Status::Extended + def environment_text + "This job is scheduled to deploy to %{environmentLink}." + end + + def self.matches?(deployment, user) + deployment.scheduled? + end + end + end + end + end +end |