Merge branch 'ce-9826-fix-broken-downstreams-backport-factory' into 'master'
Backports EE change for expanded pipelines See merge request gitlab-org/gitlab-ce!26043
This commit is contained in:
commit
30e52b239c
|
|
@ -82,6 +82,12 @@ FactoryBot.define do
|
|||
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
|
||||
config_source { Ci::Pipeline.config_sources[:auto_devops_source] }
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue