From a5dfee1c22b792acbe0508ffbb16467f76d8f5de Mon Sep 17 00:00:00 2001 From: David Heidelberg Date: Mon, 20 Feb 2023 02:32:27 +0100 Subject: [PATCH] ci: revert download of git cache to the wget At this point of CI there is not curl available. Fixes: 796686af1b37 ("ci: migrate from wget to curl") Signed-off-by: David Heidelberg Part-of: --- .gitlab-ci/download-git-cache.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci/download-git-cache.sh b/.gitlab-ci/download-git-cache.sh index 3e339935028..e66f989278c 100644 --- a/.gitlab-ci/download-git-cache.sh +++ b/.gitlab-ci/download-git-cache.sh @@ -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"