OPEnSLab-OSU / Spool

GNU General Public License v3.0
2 stars 1 forks source link

Spool should have a test production environment. #40

Closed eliwinkelman closed 3 years ago

eliwinkelman commented 4 years ago

Is your feature request related to a problem? Please describe. There is a significant enough difference between the production and development environments that things can break in the production app that worked fine in development (mostly things with auth0 configuration, mongodb, cloudflare, etc.). It would be preferable to not loose application uptime to testing/fixing configuration issues. Another place this would be helpful is testing database migrations in large version changes.

Describe the solution you'd like A second server or a different application on the same servers which has an identical setup/environment, is connected to the same auth0 tenant, i.e. exactly the same except for the application, the domain/url, and possibly the database (for a migration).

Describe alternatives you've considered We could run the production server locally with as similar an environment as possible. This would probably work in the short-medium term, but the more differences between the two environments the more likely it is that an issue will get missed. If we could get a machine with the same operating system, etc. that would help (or a developer with a dual boot).

The best solution to this should be discussed.

eliwinkelman commented 3 years ago

For now, this will be replaced by automated testing and occasional production downtime.