Skip to content

Automatically create next partitions for CI tables

Marius Bobin requested to merge mb-new-ci-partitions into master

What does this MR do and why?

  • it registers the CommitStatus model in the postures partitioning models, which enables the weekly vacuum analyze on p_ci_builds
  • it creates a new partition for the CI partitioned tables on dev/test/self-managed. They will not affect .com because the partitions were created here with previous migrations.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

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

Edited by Marius Bobin

Merge request reports