HomePhabricator
Diffusion Comm 010fcaa64933

[services] Blob/Backup - Read env vars in runtime instead of compile-time flags

Description

[services] Blob/Backup - Read env vars in runtime instead of compile-time flags

Summary:
Depends on D3691

As suggested in https://phabricator.ashoat.com/D3498#98870 we want to avoid using compile-time flags and replace them with reading environment variables in the runtime.

Test Plan:

cd services
yarn test-backup-service
yarn test-backup-service-dev-mode
yarn run-backup-service
yarn run-backup-service-dev-mode
yarn test-blob-service
yarn test-blob-service-dev-mode
yarn run-blob-service
yarn run-blob-service-dev-mode

They all should work as before.

Reviewers: palys-swm, jimpo

Reviewed By: palys-swm

Subscribers: ashoat, palys-swm, Adrian, atul, yayabosh

Differential Revision: https://phabricator.ashoat.com/D3872

Details

Provenance
karolAuthored on Apr 28 2022, 2:33 AM
Reviewer
tomek
Differential Revision
D3872: [services] Blob/Backup - Read env vars in runtime instead of compile-time flags
Parents
rCOMMe82deb6b61df: [services] Dev mode - Set up Blob service
Branches
Unknown
Tags
Unknown