Merge branch '10879/fix-security-template-inclusion' into 'master'

Include DAST as dependent CI template

See merge request gitlab-org/gitlab-ce!26956
This commit is contained in:
Douglas Barbosa Alexandre 2019-04-04 00:21:44 +00:00
commit 43f9d5d755

View file

@ -4,7 +4,9 @@ require 'spec_helper'
describe "CI YML Templates" do describe "CI YML Templates" do
ABSTRACT_TEMPLATES = %w[Serverless].freeze ABSTRACT_TEMPLATES = %w[Serverless].freeze
PROJECT_DEPENDENT_TEMPLATES = %w[Auto-DevOps].freeze # These templates depend on the presence of the `project`
# param to enable processing of `include:` within CI config.
PROJECT_DEPENDENT_TEMPLATES = %w[Auto-DevOps DAST].freeze
def self.concrete_templates def self.concrete_templates
Gitlab::Template::GitlabCiYmlTemplate.all.reject do |template| Gitlab::Template::GitlabCiYmlTemplate.all.reject do |template|