Skip to content

Commit

Permalink
fix(ta): use bucket specified in config (#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-sentry authored Dec 4, 2024
1 parent 3813d1b commit 591a7ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion codecov/settings_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
DATABASE_ROUTERS = ["codecov.db.DatabaseRouter"]

# GCS
GCS_BUCKET_NAME = "codecov"
GCS_BUCKET_NAME = get_config("services", "minio", "bucket", default="codecov")


# Password validation
Expand Down
2 changes: 1 addition & 1 deletion codecov/settings_staging.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
COOKIE_SAME_SITE = "None"
SESSION_COOKIE_SAMESITE = "None"

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

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

0 comments on commit 591a7ab

Please sign in to comment.