Implement Ci::FinishedPipelineChSyncEvent
We need to sync the data from finished pipelines to ClickHouse, similar to the way we're syncing finished builds to ci_finished_builds
:
To that end, we need to:
-
Create a p_ci_finished_pipeline_ch_sync_events
, similar top_ci_finished_build_ch_sync_events
-
Implement the Ci::FinishedPipelineChSyncEvent
model -
Populate records from after_transition any => UNLOCKABLE_STATUSES
inCi::Pipeline