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.
Differential D3872
[services] Blob/Backup - Read env vars in runtime instead of compile-time flags • karol on Apr 28 2022, 2:34 AM. Authored by Tags None Referenced Files
Details 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. 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.
Diff Detail
Event Timeline
Comment Actions This is true, we can have hasEnvFlag. Creating a follow up as this is landed already https://linear.app/comm/issue/ENG-1104/consider-creating-hasenvflag-function |