Commit 80adf2e6 authored by mc_rocha's avatar mc_rocha

Move yaml processor secrets configuration to EE

The secrets configuration on YamlProcessor::Result class is related to the DAST on-demand scans and it should be moved to the EE Variant.

Changelog: fixed
MR:
EE: true
parent b05150f7
......@@ -12,7 +12,10 @@ module EE
job = jobs.fetch(name.to_sym, {})
super.deep_merge(
options: { dast_configuration: job[:dast_configuration] }.compact
{
options: { dast_configuration: job[:dast_configuration] }.compact,
secrets: job[:secrets]
}.compact
)
end
end
......
......@@ -80,7 +80,6 @@ module Gitlab
cache: job[:cache],
resource_group_key: job[:resource_group],
scheduling_type: job[:scheduling_type],
secrets: job[:secrets],
options: {
image: job[:image],
services: job[:services],
......
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