Skip to content

Add status to Ci::Partition

Max Orefice requested to merge morefice/add-ci-partitioning-status into master

Ref: #454978 (closed)

What does this MR do and why?

This MR is the first toward bringing CI automated partitioning creation.

  • Adds new status column to keep track of Ci::Partition life cycle with a state machine
  • Add relevant logic used to determine when we need to create this record. It will then be used to decide when we want to create new partitions dynamically.

In a follow up MR we will introduce a CRON worker to populate this record when necessary.

Why are we doing this?

It adds a new status to Ci::Partition which will be used to implement our time decay feature.

Edited by Max Orefice

Merge request reports