From 54f233ac96cbab5eaca7c4d81d3a35e89804e0ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Mon, 12 Jul 2021 11:15:32 +0200 Subject: [PATCH] mockbuild: use REPO_BUCKET when defining the repo's base URL Just deduplication of code. --- schutzbot/mockbuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schutzbot/mockbuild.sh b/schutzbot/mockbuild.sh index 4f31a976..0a0c9a02 100755 --- a/schutzbot/mockbuild.sh +++ b/schutzbot/mockbuild.sh @@ -24,7 +24,7 @@ COMMIT=$(git rev-parse HEAD) REPO_BUCKET=osbuild-composer-repos # Public URL for the S3 bucket with our artifacts. -MOCK_REPO_BASE_URL="http://osbuild-composer-repos.s3.amazonaws.com" +MOCK_REPO_BASE_URL="http://${REPO_BUCKET}.s3.amazonaws.com" # Relative path of the repository – used for constructing both the local and # remote paths below, so that they're consistent.