HomePhabricator
Diffusion Comm df25e4a43a8d

[keyserver] Fix update-geoip call in Docker environment

Description

[keyserver] Fix update-geoip call in Docker environment

Summary: yarn prod-build in keyserver is supposed to call yarn update-geoip, but this call fails in the Docker environment beacuse that call doesn't have access to the GeoIP license. This diff makes sure we forward that environment variable to the Docker build environment (instead of only being available in the production environment).

Test Plan: cd keyserver && ./bash/dc.sh up --build, with keyserver/.env populated with COMM_JSONCONFIG_secrets_geoip_license env var set. Monitor output and make sure update-geoip runs. It took about 3 minutes on my MBP, probably will take 5-6 minutes in prod

Reviewers: atul

Reviewed By: atul

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D7071

Details

Provenance
ashoatAuthored on Mar 14 2023, 3:10 PM
Reviewer
atul
Differential Revision
D7071: [keyserver] Fix update-geoip call in Docker environment
Parents
rCOMMa642904cfbf4: Revert "[native] Temporary changes for staff release"
Branches
Unknown
Tags
Unknown