Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit 591a7ab

Browse files
fix(ta): use bucket specified in config (#1034)
1 parent 3813d1b commit 591a7ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

codecov/settings_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
DATABASE_ROUTERS = ["codecov.db.DatabaseRouter"]
117117

118118
# GCS
119-
GCS_BUCKET_NAME = "codecov"
119+
GCS_BUCKET_NAME = get_config("services", "minio", "bucket", default="codecov")
120120

121121

122122
# Password validation

codecov/settings_staging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
COOKIE_SAME_SITE = "None"
7373
SESSION_COOKIE_SAMESITE = "None"
7474

75-
GCS_BUCKET_NAME = "codecov-staging"
75+
GCS_BUCKET_NAME = get_config("services", "minio", "bucket", default="codecov-staging")
7676

7777
CSRF_TRUSTED_ORIGINS = [
7878
get_config("setup", "trusted_origin", default="https://*.codecov.dev")

0 commit comments

Comments
 (0)