Commit e4ed981f authored by Shinya Maeda's avatar Shinya Maeda

Make Ci::Stage status transition event consistent with Ci::Pipeline

parent e84230eb
......@@ -66,7 +66,7 @@ module Ci
transition any - [:manual] => :manual
end
event :schedule do
event :delay do
transition any - [:scheduled] => :scheduled
end
end
......@@ -81,7 +81,7 @@ module Ci
when 'failed' then drop
when 'canceled' then cancel
when 'manual' then block
when 'scheduled' then schedule
when 'scheduled' then delay
when 'skipped', nil then skip
else
raise HasStatus::UnknownStatusError,
......
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