Implement post-deploy pipeline
What does this MR do?
Implement the post-deploy independent pipeline
Adds jobs and stages required to execute the post-deploy migrations independently from the coordinated pipeline. This new pipeline will execute migrations on staging and production, notify the status of the execution and only perform the migrations if production is healthy.
The post-deploy independent pipeline is configured as a scheduled one, in upcoming iterations it can be adjusted to be executed through a ChatOps command.
For testing purposes, the post-deploy migrations will still be executed from the coordinated pipeline; once the new pipeline behavior has been verified the post-deploy migration jobs will be removed from the coordinated pipeline.
Test
I've tested this configuration in a personal project
Screen_Recording_2022-04-04_at_13.55.44
Related to gitlab-com/gl-infra/delivery#2046 (closed)
Author Check-list
- [-] Has documentation been updated?