Skip to content

Allow to fine tune what to inherit

What does this MR do?

This implements the future:

Allow the inherit: to fine tune what will be inherited:


default:
  before_script: echo Hello World
  image: ruby:2.1

variables:
  DOMAIN: my-domain.com
  KEY: value

dast:
  inherit:
    default: [image] # inherit only `image:`, but not `before_script`
    variables: [DOMAIN] # inherit only `DOMAIN`, but not `key`
  script: echo Hello World

Related to: #207484 (closed) and !25690 (merged)

Related to: #209778 (closed)

Does this MR meet the acceptance criteria?

Conformity

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading