Skip to content

Use release/metadata deployments to find latest deployed version for automated pre deployment

Reuben Pereira requested to merge rp/deploy-db-gprd-to-pre into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Content

  • Use release/metadata deployments to find latest deployed version

We can use the deployments recorded in the release/metadata project (https://ops.gitlab.net/gitlab-org/release/metadata/-/environments) to determine which was the latest auto deploy version whose post-deploy migrations were executed.

In this MR we change the tooling to deploy a version to pre whose post-deploy migrations have already been executed. This is consistent with our policy of testing migrations on gitlab.com before deploying to environments that are not part of auto deploy.

Author Check-list

  • Has documentation been updated?

Merge request reports