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

Tracking issue: Refactor site deployment #3985

Open
3 tasks
Marigold opened this issue Sep 27, 2024 · 3 comments
Open
3 tasks

Tracking issue: Refactor site deployment #3985

Marigold opened this issue Sep 27, 2024 · 3 comments
Labels
ops Devops related issues (stagings servers, ...) priority 3 - nice to have

Comments

@Marigold
Copy link
Contributor

Marigold commented Sep 27, 2024

Our deployment process is unnecessarily complex right now. We haven't changed it when migrating from Netlify to Cloudflare and there easy ways how to simplify it:

  • Our site is built into ~/live-data/bakedSite, it could be just ~/bakedSite
  • Deploy scripts are in owid-grapher repo, but it'd be more natural to have them in ops (since they are similar to staging servers)
  • Is the 20000 file limit by Cloudflare still relevant (as a workaround we serve those files from R2)? There's grapher/exports that contains ~9000 files which can make it impossible
@danyx23
Copy link
Contributor

danyx23 commented Oct 1, 2024

In #3746 Ike tried to get rid of one of the main uses of static chart thumbnails (the other being chart admin preview images). We are a lot closer to being able to delete the static charts now but it would mean reviving that PR and bringing it over the finishing line.

@danyx23 danyx23 changed the title Refactor site deployment Tracking issue: Refactor site deployment Oct 1, 2024
@danyx23 danyx23 added priority 3 - nice to have ops Devops related issues (stagings servers, ...) and removed needs triage labels Oct 1, 2024
@danyx23
Copy link
Contributor

danyx23 commented Oct 1, 2024

The first two points I think you can just do, @Marigold, there is no good reason not to. The third point needs a bit of work on the Grapher side.

@Marigold
Copy link
Contributor Author

Marigold commented Oct 1, 2024

Thanks for the heads-up. It's by no means important, serving files from R2 has been working surprisingly well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ops Devops related issues (stagings servers, ...) priority 3 - nice to have
Projects
None yet
Development

No branches or pull requests

2 participants