Page MenuHomePhabricator

[blob-service] Make S3 bucket configurable
ClosedPublic

Authored by bartek on Aug 6 2023, 7:53 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 18, 1:21 PM
Unknown Object (File)
Feb 23 2025, 1:50 AM
Unknown Object (File)
Feb 23 2025, 1:50 AM
Unknown Object (File)
Feb 23 2025, 1:46 AM
Unknown Object (File)
Feb 23 2025, 12:39 AM
Unknown Object (File)
Jan 20 2025, 6:59 PM
Unknown Object (File)
Jan 20 2025, 6:59 PM
Unknown Object (File)
Jan 20 2025, 6:58 PM
Subscribers

Details

Summary

Part of 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.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable