bcgov / cas-registration

A web app for Registration in OBPS under the Clean Growth branch
Apache License 2.0
1 stars 1 forks source link

DevOps: Automate the testing of migrations on deployment to -test #2197

Open pbastia opened 1 month ago

pbastia commented 1 month ago

Describe the task

We can leverage @dleard 's helm chart to test backups to run this when deploying to -test. Here's a playbook of how this could be done: 1) Use the test-backups chart to restore the latest prod backups from GCP in a sandbox namespace (tools or others) 2) Run a job testing the upcoming migrations on that restored cluster 3) Clean up everything in that namespace 4) Carry on with the deploy to -test

Acceptance Criteria

Additional context

patriciarussellCAS commented 2 weeks ago

@dleard and @pbastia I forgot to ask about this one in refinement today. Do we need any further discussion to refine this? I'd like to bring this in next sprint if possible.