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

Fix spec failures

parent 2ab77fa2
...@@ -101,15 +101,15 @@ module EE ...@@ -101,15 +101,15 @@ module EE
except: except_value }.compact except: except_value }.compact
end end
def bridge_needs
needs_value[:bridge] if needs_value
end
private private
def overwrite_entry(deps, key, current_entry) def overwrite_entry(deps, key, current_entry)
deps.default[key] unless current_entry.specified? deps.default[key] unless current_entry.specified?
end end
def bridge_needs
needs_value[:bridge] if needs_value
end
end end
end end
end end
......
...@@ -115,7 +115,8 @@ module Gitlab ...@@ -115,7 +115,8 @@ module Gitlab
entry :needs, Entry::Needs, entry :needs, Entry::Needs,
description: 'Needs configuration for this job.', description: 'Needs configuration for this job.',
metadata: { allowed_needs: %i[job] } metadata: { allowed_needs: %i[job] },
inherit: false
entry :variables, Entry::Variables, entry :variables, Entry::Variables,
description: 'Environment variables available for this job.', description: 'Environment variables available for this job.',
......
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