Skip to content

Move has_one :sourced_pipeline relation to CI::Processable

Leaminn Ma requested to merge 218393-update-sourced-pipeline-relation into master

What does this MR do and why?

  • RE: "The relation has_many :sourced_pipelines defined in Ci::Bridge and Ci::Build is not correct because a job can only trigger 1 downstream pipeline."
  • Move relation to Ci::Processable, so that both bridge and build have 1 sourced pipeline

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #218393 (closed)

Edited by Leaminn Ma

Merge request reports