retry terrapin 5 times (#171489)

fixes #170935
This commit is contained in:
João Moreno
2023-01-17 13:48:02 +01:00
committed by GitHub
parent df6f1b8ac5
commit e8fa61d2fc
12 changed files with 14 additions and 14 deletions

View File

@@ -145,7 +145,7 @@ steps:
- script: |
set -e
node build/npm/setupBuildYarnrc
for i in {1..3}; do # try 3 times
for i in {1..5}; do # try 5 times
yarn --cwd build --frozen-lockfile --check-files && break
if [ $i -eq 3 ]; then
echo "Yarn failed too many times" >&2
@@ -191,7 +191,7 @@ steps:
export VSCODE_REMOTE_CXX=$(which g++)
fi
for i in {1..3}; do # try 3 times
for i in {1..5}; do # try 5 times
yarn --frozen-lockfile --check-files && break
if [ $i -eq 3 ]; then
echo "Yarn failed too many times" >&2