diff --git a/codecov/settings_base.py b/codecov/settings_base.py index 58dbeb76ac..721bbfa0ca 100644 --- a/codecov/settings_base.py +++ b/codecov/settings_base.py @@ -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 diff --git a/codecov/settings_staging.py b/codecov/settings_staging.py index ba48264071..2872e630e7 100644 --- a/codecov/settings_staging.py +++ b/codecov/settings_staging.py @@ -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")