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

Fix spec failures

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