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

Fix spec failures

parent 6b0bfda8
...@@ -340,7 +340,7 @@ module Ci ...@@ -340,7 +340,7 @@ module Ci
end end
def runner_required_features def runner_required_features
%w(variables) []
end end
def merge_request def merge_request
...@@ -598,7 +598,7 @@ module Ci ...@@ -598,7 +598,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
} }
## ##
......
...@@ -81,7 +81,7 @@ module Ci ...@@ -81,7 +81,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