Skip to contentSkip to conversation

ci: Add default for S3_BUCKET_URL

PATCH Superseded Jan Kiszka 1 participant 1 message Aug 11, 2021

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 ci: Add default for S3_BUCKET_URL

From: Jan Kiszka <[email protected]>

This corresponds to the default for LAVA_ARTIFACTS_URL.

---
 scripts/deploy_to_aws.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/deploy_to_aws.sh +1 -1
index 5a5b29a..98deebc 100755
@@ -23,7 +23,7 @@ if [ -z "${S3_BUCKET_URL}" ] || [ -z "${AWS_ACCESS_KEY_ID}" ]  || [ -z "${AWS_SE
     exit 0
 fi
 
-destination="${S3_BUCKET_URL}"
+destination="${S3_BUCKET_URL:-s3://xenomai-images-artifacts/artifacts}"
 
 aws_args="--acl=public-read"
 
Signature · 1 line
2.31.1