diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index ada4ab08b..f9678e25b 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -260,7 +260,7 @@ jobs: - name: Check formatting run: | - source /dev/stdin <<< "$(curl --fail --silent https://raw.githubusercontent.com/hazelcast/github-actions-common-scripts/main/logging.functions.sh)" + source /dev/stdin <<< "$(curl --fail --retry 5 --retry-all-errors --show-error --silent https://raw.githubusercontent.com/hazelcast/github-actions-common-scripts/main/logging.functions.sh)" git-clang-format \ ${{ needs.get-refs.outputs.base-sha }} \ diff --git a/scripts/install-boost.sh b/scripts/install-boost.sh index c2114c5f9..814df3823 100755 --- a/scripts/install-boost.sh +++ b/scripts/install-boost.sh @@ -12,7 +12,7 @@ fi TARBALL_NAME=boost_$(echo "$1" | tr . _) -curl --fail --silent --show-error --location "https://archives.boost.io/release/${1}/source/${TARBALL_NAME}.tar.gz" | tar xzf - +curl --fail --retry 5 --retry-all-errors --show-error --silent --show-error --location "https://archives.boost.io/release/${1}/source/${TARBALL_NAME}.tar.gz" | tar xzf - pushd "${TARBALL_NAME}" ./bootstrap.sh # Build the libs for: diff --git a/scripts/install-thrift.sh b/scripts/install-thrift.sh index 0004addf4..a71d43011 100755 --- a/scripts/install-thrift.sh +++ b/scripts/install-thrift.sh @@ -13,7 +13,7 @@ fi # Ideally we would download directly from Apache: # https://www.apache.org/dyn/closer.lua/thrift/$1/thrift-$1.tar.gz?action=download # But this has intermittent failures in GitHub Actions -curl --fail --silent --show-error --location "https://deb.debian.org/debian/pool/main/t/thrift/thrift_$1.orig.tar.gz" | tar xzf - +curl --fail --retry 5 --retry-all-errors --show-error --silent --show-error --location "https://deb.debian.org/debian/pool/main/t/thrift/thrift_$1.orig.tar.gz" | tar xzf - pushd thrift-$1/build cmake .. -DBUILD_COMPILER=OFF -DBUILD_TESTING=OFF -DBUILD_TUTORIALS=OFF -DBUILD_LIBRARIES=ON \ -DBUILD_CPP=ON -DBUILD_AS3=OFF -DBUILD_C_GLIB=OFF -DBUILD_JAVA=OFF -DBUILD_PYTHON=OFF \