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

Update public datasette instance after rebuild #17

Open
danyx23 opened this issue Jul 5, 2023 · 0 comments
Open

Update public datasette instance after rebuild #17

danyx23 opened this issue Jul 5, 2023 · 0 comments

Comments

@danyx23
Copy link
Contributor

danyx23 commented Jul 5, 2023

Currently, there is a (broken) cronjob on the analytics server that is supposed to build the sqlite file and then does a dummy git commit to owid-datasette and pushes this. We want to get rid of analytics soon and so this should instead be done in the datasette LXC container instead.

Instead of doing dummy commits to trigger redeploys, the digital ocean API should be called to trigger a restart of the owid-public container after the sqlite file has been uploaded.

When this is done, the datasette folder on analytics and the cronjob can be deleted

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