summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-03-28 16:18:06 +0200
committerMatija Čupić <matteeyah@gmail.com>2018-03-28 16:18:06 +0200
commitbb0483dc2f9501461407766f74600e0f3d283686 (patch)
tree3d73dc66c3e10ca640dde78fe6c85493c2100588 /lib
parentd6509274f32fce8b879051d19e4c9d2bb8f9d09e (diff)
downloadgitlab-ce-bb0483dc2f9501461407766f74600e0f3d283686.tar.gz
Move the empty state extended status to be the beginning
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/ci/status/build/factory.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/gitlab/ci/status/build/factory.rb b/lib/gitlab/ci/status/build/factory.rb
index 004a9b305b7..b809a9cf766 100644
--- a/lib/gitlab/ci/status/build/factory.rb
+++ b/lib/gitlab/ci/status/build/factory.rb
@@ -4,17 +4,17 @@ module Gitlab
module Build
class Factory < Status::Factory
def self.extended_statuses
- [[Status::Build::Cancelable,
+ [[Status::Build::Manual,
+ Status::Build::Canceled,
+ Status::Build::Created,
+ Status::Build::Pending,
+ Status::Build::Skipped],
+ [Status::Build::Cancelable,
Status::Build::Retryable],
[Status::Build::FailedAllowed,
Status::Build::Play,
Status::Build::Stop],
- [Status::Build::Action],
- [Status::Build::Manual,
- Status::Build::Canceled,
- Status::Build::Created,
- Status::Build::Pending,
- Status::Build::Skipped]]
+ [Status::Build::Action]]
end
def self.common_helpers