-
- Downloads
Persist `needs:` validation as config error
In case when `needs:` is missing, but when requested by service, we would not save the pipeline with config_error. This makes it explicit that we want to persist the error as `config_error` failure reason.
Showing
- changelogs/unreleased/persist-needs-error.yml 5 additions, 0 deletionschangelogs/unreleased/persist-needs-error.yml
- lib/gitlab/ci/pipeline/chain/helpers.rb 6 additions, 1 deletionlib/gitlab/ci/pipeline/chain/helpers.rb
- lib/gitlab/ci/pipeline/chain/populate.rb 1 addition, 1 deletionlib/gitlab/ci/pipeline/chain/populate.rb
- spec/services/ci/create_pipeline_service_spec.rb 20 additions, 4 deletionsspec/services/ci/create_pipeline_service_spec.rb
Please register or sign in to comment