Move has_one :sourced_pipeline relation to CI::Processable
What does this MR do and why?
- RE: "The relation
has_many :sourced_pipelines
defined inCi::Bridge
andCi::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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #218393 (closed)
Edited by Leaminn Ma