-
- Downloads
There was an error fetching the commit references. Please try again later.
Make needs: to require previous jobs
This changes `needs:` from weak reference to have a strong reference. This means that job will not be created unless all needs are present as part of a pipeline.
Showing
- app/models/ci/pipeline.rb 3 additions, 2 deletionsapp/models/ci/pipeline.rb
- lib/gitlab/ci/pipeline/seed/build.rb 28 additions, 3 deletionslib/gitlab/ci/pipeline/seed/build.rb
- lib/gitlab/ci/pipeline/seed/stage.rb 10 additions, 9 deletionslib/gitlab/ci/pipeline/seed/stage.rb
- spec/lib/gitlab/ci/pipeline/chain/populate_spec.rb 4 additions, 4 deletionsspec/lib/gitlab/ci/pipeline/chain/populate_spec.rb
- spec/lib/gitlab/ci/pipeline/seed/build_spec.rb 37 additions, 1 deletionspec/lib/gitlab/ci/pipeline/seed/build_spec.rb
- spec/lib/gitlab/ci/pipeline/seed/stage_spec.rb 13 additions, 1 deletionspec/lib/gitlab/ci/pipeline/seed/stage_spec.rb
- spec/services/ci/create_pipeline_service_spec.rb 56 additions, 0 deletionsspec/services/ci/create_pipeline_service_spec.rb
Please register or sign in to comment