Skip to content
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

create production database dumps to make local testing easier #1431

Open
bhearsum opened this issue Apr 17, 2024 · 2 comments
Open

create production database dumps to make local testing easier #1431

bhearsum opened this issue Apr 17, 2024 · 2 comments

Comments

@bhearsum
Copy link
Contributor

Testing certain types of changes to ship it (product details generation, ui changes) can be difficult without proper data in the Ship It database. Even if you create some data in the database, it's difficult to ensure you have all of the different types of data you need to robustly test.

The solution we've used for this elsewhere is to create nightly database dumps of the production database, and import them at first run for local dev

In Balrog, the database is large enough, and contains some permission/ACL informations, that we need to selectively dump it. Ship It's database is small enough and contains no sensitive data, so we should be able to dump the entire database, which simplifies things.

@gabrielBusta
Copy link
Member

Reminds me of #1396

@bhearsum
Copy link
Contributor Author

Reminds me of #1396

Indeed! We could easily fix that once we have database dumps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants