CDCgov / prime-central

Apache License 2.0
9 stars 2 forks source link

Create a Staging Process / Site #146

Closed pete-gov closed 3 years ago

pete-gov commented 3 years ago

The moment the beta site is in used for real, we can no longer #yolodeploy to it - we need to have a process that copies the underlying data into a staging environment to test deploys and upgrades on.

Will flesh this out as I move forward on it, but for now a skeleton is:

pete-gov commented 3 years ago

In progress on this, expecting to have initial version Tue or Wed morning.

pete-gov commented 3 years ago

I think I have this entire process scripted out but need some minor auth changes from Nick (requested via PM).

In the current implementation, staging is a weird hybrid setup where it's using separate everything from prod except for the same nginx proxy that everyone else is using - hopefully we'll be making that obsolete before it matters.

pete-gov commented 3 years ago

Staging deployment process is completed and verified. Posting instructions in internal doc.

pete-gov commented 3 years ago

Do note that this process will need to be updated when the beta site is moved to a managed database.