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:

committed by
Marge Bot

parent
44f40ff941
commit
a5dfee1c22
@@ -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"
|
||||
|
Reference in New Issue
Block a user