CI: add curl for testing existing build

This commit is contained in:
Dmitry Maksyoma
2021-09-11 17:02:20 +12:00
parent c9a4319ca7
commit 2bdfd0f70a

View File

@@ -18,6 +18,7 @@ test_S3_dir_exists:
stage: test_if_build_already_exists
script:
- apk add bash
- apk add curl
- S3_URL="https://${S3_BUCKET}.s3.amazonaws.com/${S3_BUILD_DIRECTORY}/";
- if ! curl --output /dev/null --silent --head --fail "$S3_URL"; then exit 1; fi