Cascade partition_id to Ci::Sources::Pipeline
Ref: #383073 (closed)
What does this MR do and why?
This MR allows multi-project pipelines to be persisted in different partitions as described in the blueprint.
It does 2 things:
- Introduce
source_partition_id
and persists thepartition_id
fromsource_job
- Propagates
partition_id
fromCi::Pipeline
toCi::Sources::Pipeline
.
This needs to be wired up before redefining all FKs for ci_builds
in order to partition this table.
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.
Edited by Max Orefice