From 4a7e5f739fa35374bfd348457ce326d373d92049 Mon Sep 17 00:00:00 2001 From: Paula Stachova Date: Thu, 6 Jun 2024 15:34:27 +0200 Subject: [PATCH] chore: retry docker build MONGOSH-1644 (#2016) --- .evergreen/package-and-upload-artifact.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.evergreen/package-and-upload-artifact.sh b/.evergreen/package-and-upload-artifact.sh index 6e4e81569..8fb1fbff2 100755 --- a/.evergreen/package-and-upload-artifact.sh +++ b/.evergreen/package-and-upload-artifact.sh @@ -11,7 +11,7 @@ tar xvzf dist.tgz if [ "$(uname)" == Linux ]; then mkdir -p tmp cp "$(pwd)/../tmp/expansions.yaml" tmp/expansions.yaml - (cd scripts/docker && docker build -t rocky8-package -f rocky8-package.Dockerfile .) + (cd scripts/docker && bash "$BASEDIR/retry-with-backoff.sh" docker build -t rocky8-package -f rocky8-package.Dockerfile .) echo Starting Docker container packaging docker run -e PUPPETEER_SKIP_CHROMIUM_DOWNLOAD \ -e EVERGREEN_EXPANSIONS_PATH=/tmp/build/tmp/expansions.yaml \