owid / etl

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

:bug: fix default env #2845

Closed Marigold closed 1 week ago

Marigold commented 1 week ago

Using STAGING=branch updates variables like config.DB_HOST, but it wasn't reflected in OWID_ENV object, which was using variables from .env file (irrespective of staging).

This is a hotfix, unit tests coming up in a next PR.

owidbot commented 1 week ago
Quick links (staging server): Site Admin Wizard

Login: ssh owid@staging-site-fix-default-env

chart-diff: ✅ No charts for review.
data-diff: ✅ No differences found ```diff Legend: +New ~Modified -Removed =Identical Details Hint: Run this locally with etl diff REMOTE data/ --include yourdataset --verbose --snippet ``` Automatically updated datasets matching _weekly_wildfires|excess_mortality|covid|fluid|flunet|country_profile|garden/ihme_gbd/2019/gbd_risk_ are not included

Edited: 2024-06-19 11:23:10 UTC Execution time: 12.69 seconds