ci: revert download of git cache to the wget

At this point of CI there is not curl available.

Fixes: 796686af1b ("ci: migrate from wget to curl")

Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21414>
This commit is contained in:
David Heidelberg
2023-02-20 02:32:27 +01:00
committed by Marge Bot
parent 44f40ff941
commit a5dfee1c22

View File

@@ -16,11 +16,11 @@ fi
TMP_DIR=$(mktemp -d)
echo "Downloading archived master..."
curl --retry 4 -f --retry-all-errors --retry-delay 60 \
-o "$TMP_DIR/$CI_PROJECT_NAME.tar.gz" \
/usr/bin/wget \
-O "$TMP_DIR/$CI_PROJECT_NAME.tar.gz" \
"https://${MINIO_HOST}/git-cache/${FDO_UPSTREAM_REPO}/$CI_PROJECT_NAME.tar.gz"
# check curl error code
# check wget error code
if [[ $? -ne 0 ]]
then
echo "Repository cache not available"