Commit f8bac850 authored by Filipa Lacerda's avatar Filipa Lacerda

Backports EE change for expanded pipelines

parent 6fc43e6f
...@@ -82,6 +82,12 @@ FactoryBot.define do ...@@ -82,6 +82,12 @@ FactoryBot.define do
end end
end end
trait :with_job do
after(:build) do |pipeline, evaluator|
pipeline.builds << build(:ci_build, pipeline: pipeline, project: pipeline.project)
end
end
trait :auto_devops_source do trait :auto_devops_source do
config_source { Ci::Pipeline.config_sources[:auto_devops_source] } config_source { Ci::Pipeline.config_sources[:auto_devops_source] }
end end
......
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