-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[blob-service] Make S3 bucket configurable
Summary: Part of [[ https://linear.app/comm/issue/ENG-4573/make-blob-service-s3-bucket-name-configurable | ENG-4573 ]]. Added a new `--s3-bucket-name` CLI option and `BLOB_S3_BUCKET_NAME` environment variable that allows to override the default `commapp-blob` S3 bucket. We need this to be able to use a separate bucket in staging environment. Test Plan: Ran integration tests locally - confirmed that default S3 bucket is used. Ran integration tests with `--s3-bucket-name` set to non-existent bucket - they fail with `NoSuchBucketError` as expected. Repeated with the environment variable set instead. Reviewers: jon, varun, michal Reviewed By: jon Subscribers: ashoat, tomek Differential Revision: https://phab.comm.dev/D8742
- Loading branch information
Showing
4 changed files
with
17 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters