Commit d7f8a0ce authored by Kamil Trzciński's avatar Kamil Trzciński

Fix spec failures

parent 270f858f
...@@ -344,7 +344,7 @@ module Ci ...@@ -344,7 +344,7 @@ module Ci
end end
def runner_required_features def runner_required_features
%w(variables) []
end end
def merge_request def merge_request
...@@ -602,7 +602,7 @@ module Ci ...@@ -602,7 +602,7 @@ module Ci
def supported_runner?(features) def supported_runner?(features)
runner_required_features.all? do |feature_name| runner_required_features.all? do |feature_name|
features[feature_name] features&.dig(feature_name)
end end
end end
......
...@@ -47,7 +47,7 @@ class CommitStatus < ActiveRecord::Base ...@@ -47,7 +47,7 @@ class CommitStatus < ActiveRecord::Base
stuck_or_timeout_failure: 3, stuck_or_timeout_failure: 3,
runner_system_failure: 4, runner_system_failure: 4,
missing_dependency_failure: 5, missing_dependency_failure: 5,
runner_unsupported: 6, runner_unsupported: 6
} }
## ##
......
...@@ -83,7 +83,7 @@ module Ci ...@@ -83,7 +83,7 @@ module Ci
end end
build.run! build.run!
return true true
end end
def builds_for_shared_runner def builds_for_shared_runner
......
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