remove bogus build steps, added retries to yarn install in new places

fixes #138983
This commit is contained in:
Joao Moreno
2021-12-13 14:24:18 +01:00
parent 0d9f75df79
commit 39f1f7bd41
5 changed files with 28 additions and 21 deletions

View File

@@ -65,9 +65,15 @@ steps:
- script: |
set -e
yarn --cwd build
yarn --cwd build compile
displayName: Compile build tools
for i in {1..3}; do # try 3 times, for Terrapin
yarn --cwd build --frozen-lockfile && break
if [ $i -eq 3 ]; then
echo "Yarn failed too many times" >&2
exit 1
fi
echo "Yarn failed $i, trying again..."
done
displayName: Install build dependencies
- script: |
set -e