owid / etl

A compute graph for loading and transforming OWID's data
https://docs.owid.io/projects/etl
MIT License
87 stars 23 forks source link

:tada: Create staging server with ETL and Admin for new PRs #1654

Closed Marigold closed 1 year ago

Marigold commented 1 year ago

Staging servers are automatically created for all new PRs in owid-grapher repository with Admin and Cloudflare Pages in dev mode. We learned to use them for ETL workflow, too - most of us have a staging server with their name (like staging-site-mojmir) where we push datasets, play with charts and share them with others.

Taking this even further, we could spin up an automated staging server with ETL and Admin installed. It would run etl ... --grapher on new commits, and so, in theory, we wouldn't even have to run them locally. This could save dev time, especially for large datasets.

Notes

Transferring changes from the staging server to live

If we create / migrate charts on the staging server, it'd be nice to have a way to transfer those changes to live to avoid recreating the same charts. There might be some technical difficulties, but hopefully nothing major.

Issues

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Marigold commented 1 year ago

No way, we have this!