Create CI pipeline to apply Helm release for executing Container Registry post deployment migrations
Problem statement
Post deployment migrations (PDMs) for the Container Registry metadata database on production, staging and preprod are currently executed manually. In this epic (gitlab-org&17933), we are automating the execution of PDMs for Container Registry.
We need to create a CI pipeline for applying the Helm release created in #21258 (closed).
Proposal
-
The CI pipeline should execute PDMs on pre and staging first, and then in production. -
Execution of PDMs in each environment should be done in a child pipeline, allowing the trigger job to use aOpened #21504resource_groupthat will serve as a "pipeline lock". In addition, the job in the child pipeline that actually applies changes to the cluster can use the cluster levelresource_group. -
Send notifications toOpened #21505.#announcementsand#g_container-registrychannels in Slack - To prevent auto-deploy packages being deployed at the same time, execution of the new pipeline for Container Registry PDMs will have to be coordinated with Release Managers.
Edited by Reuben Pereira