debian-mirror-gitlab/lib/gitlab/ci/status/build/factory.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
1.1 KiB
Ruby
Raw Normal View History

2018-12-13 13:39:08 +05:30
# frozen_string_literal: true
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,
2018-12-05 23:21:45 +05:30
Status::Build::Scheduled,
2018-05-09 12:01:36 +05:30
Status::Build::Manual,
Status::Build::Canceled,
Status::Build::Created,
2020-03-13 15:44:24 +05:30
Status::Build::WaitingForResource,
2019-07-07 11:18:12 +05:30
Status::Build::Preparing,
2018-05-09 12:01:36 +05:30
Status::Build::Pending,
2022-03-02 08:16:31 +05:30
Status::Build::Skipped,
Status::Build::WaitingForApproval],
2018-05-09 12:01:36 +05:30
[Status::Build::Cancelable,
2017-08-17 22:00:37 +05:30
Status::Build::Retryable],
2019-07-07 11:18:12 +05:30
[Status::Build::FailedUnmetPrerequisites,
Status::Build::Failed],
2017-08-17 22:00:37 +05:30
[Status::Build::FailedAllowed,
2018-12-05 23:21:45 +05:30
Status::Build::Unschedule,
2017-08-17 22:00:37 +05:30
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