From fbb091c8c8b8e0dd5a2fc0b01fd021f5f5574f6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Mon, 12 Jul 2021 11:06:10 +0200 Subject: [PATCH] mockbuild: use REPO_BUCKET when defining the base URL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Just deduplication of code. Signed-off-by: Ondřej Budai --- schutzbot/mockbuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schutzbot/mockbuild.sh b/schutzbot/mockbuild.sh index d063e3a1b..6f47c5607 100755 --- a/schutzbot/mockbuild.sh +++ b/schutzbot/mockbuild.sh @@ -34,7 +34,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-website.us-east-2.amazonaws.com" +MOCK_REPO_BASE_URL="http://${REPO_BUCKET}.s3-website.us-east-2.amazonaws.com" # Distro version in whose buildroot was the RPM built. DISTRO_VERSION=${ID}-${VERSION_ID}