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

donate database initializations, migrations and upgrades #220

Open
marcidy opened this issue Jul 11, 2019 · 2 comments
Open

donate database initializations, migrations and upgrades #220

marcidy opened this issue Jul 11, 2019 · 2 comments

Comments

@marcidy
Copy link
Contributor

marcidy commented Jul 11, 2019

Decide how to handle dabase upgrades. When deploying, there is a manual step to run python scripts/initialize_database.py to load the initial data required to use donate. But also as models change, the database will have to be migrated. Unclear if we want to automate that. automatically deploy a tested migration is GOOD, but deploying a migration AUTOMATICALLY just because it was committed isn't!

@marcidy
Copy link
Contributor Author

marcidy commented Jul 11, 2019

@marcidy marcidy closed this as completed Jul 11, 2019
@marcidy marcidy reopened this Jul 11, 2019
@marcidy
Copy link
Contributor Author

marcidy commented Jul 11, 2019

look at "loading custom facts" maybe:

https://docs.ansible.com/ansible/latest/user_guide/playbooks_conditionals.html
specificlally "should I develop a module" or something.

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

1 participant