-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set up Prod/Stg/Sandbox environment setup #342
Comments
automation.pdap.io now has two builds: One for Sandbox, and one for Stage. They should occur around the same time, but this allows us to be more flexible if we need to in the future. Next up is the question of dummy data. In some cases, we may not need any dummy data and can simply use data from the tables -- tables such as Then there are some cases where we simply don't need to include all that data -- for example, We also want to be mindful that our schemas will change, so the more dummy data we believe we should possess, the more dummy data to modify if we adjust our schemas. Additionally, some newly-created tables, such as For now, I think we can get away with a handful of dummy data in sensitive tables such as |
Scripts modified so that sandbox database has non-sensitive data added from production. Next up is dummy data. Dummy Data TODO
|
Additionally, in the course of developing this logic, I came to the conclusion that Python would be preferable to shell scripts, and made an issue accordingly. |
@josh-chamberlain I'll need to be made a member of the Notion workspace to add a "Testing" page with information on the Stage and Sandbox databases ⛑️ |
Nice work! I like your optionals, too. |
Discussed previously in #340, here is the implementation!
TODO
Sandbox
database in Digital Ocean, with same specs aspdap-db-dev
(which unfortunately cannot be easily renamed).Prod-To-Dev-Migration
job in automation.pdap.io to reflect its new behavior.Optional/Debatable TODO
pdap-db-dev
and build new databasepdap-db-stg
, redirecting all stage connections to this database.The text was updated successfully, but these errors were encountered: