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)
Sat, Dec 28, 9:48 PM
Unknown Object (File)
Fri, Dec 20, 10:31 AM
Unknown Object (File)
Fri, Dec 20, 10:31 AM
Unknown Object (File)
Fri, Dec 20, 10:28 AM
Unknown Object (File)
Fri, Dec 20, 6:39 AM
Unknown Object (File)
Dec 1 2024, 4:43 AM
Unknown Object (File)
Nov 17 2024, 3:05 AM
Unknown Object (File)
Nov 17 2024, 3:05 AM
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