2017-08-17 22:00:37 +05:30
|
|
|
module Gitlab
|
|
|
|
module Ci
|
|
|
|
module Status
|
|
|
|
module Build
|
|
|
|
class Factory < Status::Factory
|
|
|
|
def self.extended_statuses
|
2018-05-09 12:01:36 +05:30
|
|
|
[[Status::Build::Erased,
|
|
|
|
Status::Build::Manual,
|
|
|
|
Status::Build::Canceled,
|
|
|
|
Status::Build::Created,
|
|
|
|
Status::Build::Pending,
|
|
|
|
Status::Build::Skipped],
|
|
|
|
[Status::Build::Cancelable,
|
2017-08-17 22:00:37 +05:30
|
|
|
Status::Build::Retryable],
|
2018-05-09 12:01:36 +05:30
|
|
|
[Status::Build::Failed],
|
2017-08-17 22:00:37 +05:30
|
|
|
[Status::Build::FailedAllowed,
|
|
|
|
Status::Build::Play,
|
|
|
|
Status::Build::Stop],
|
2018-05-09 12:01:36 +05:30
|
|
|
[Status::Build::Action],
|
|
|
|
[Status::Build::Retried]]
|
2017-08-17 22:00:37 +05:30
|
|
|
end
|
|
|
|
|
|
|
|
def self.common_helpers
|
|
|
|
Status::Build::Common
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|