Commit d4522de2 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Revert adding new methods in CI/CD stage class

parent 056f1b70
......@@ -19,10 +19,6 @@ module Ci
name
end
def index
statuses.first.stage_idx
end
def statuses_count
@statuses_count ||= statuses.count
end
......@@ -49,14 +45,6 @@ module Ci
status.to_s == 'success'
end
def failed?
status.to_s == 'failed'
end
def canceled?
status.to_s == 'canceled'
end
def has_warnings?
if @warnings.nil?
statuses.latest.failed_but_allowed.any?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment