Engineering - Add timeout and retries to the task to download Electron and Playwright (#160490)

Add timeout and retries to the task to download Electron and Playwright
This commit is contained in:
Ladislau Szomoru
2022-09-09 10:47:29 +02:00
committed by GitHub
parent 99ffff6484
commit 95caaea452
3 changed files with 6 additions and 0 deletions
@@ -13,6 +13,8 @@ steps:
set -e
VSCODE_MIXIN_PASSWORD="$(github-distro-mixin-password)" \
yarn npm-run-all -lp "electron $(VSCODE_ARCH)" "playwright-install"
timeoutInMinutes: 5
retryCountOnTaskFailure: 3
displayName: Download Electron and Playwright
- ${{ if eq(parameters.VSCODE_RUN_UNIT_TESTS, true) }}:
@@ -13,6 +13,8 @@ steps:
set -e
VSCODE_MIXIN_PASSWORD="$(github-distro-mixin-password)" \
yarn npm-run-all -lp "electron $(VSCODE_ARCH)" "playwright-install"
timeoutInMinutes: 5
retryCountOnTaskFailure: 3
displayName: Download Electron and Playwright
- ${{ if eq(parameters.VSCODE_QUALITY, 'oss') }}:
@@ -14,6 +14,8 @@ steps:
$ErrorActionPreference = "Stop"
$env:VSCODE_MIXIN_PASSWORD="$(github-distro-mixin-password)"
exec { yarn npm-run-all -lp "electron $(VSCODE_ARCH)" "playwright-install" }
timeoutInMinutes: 5
retryCountOnTaskFailure: 3
displayName: Download Electron and Playwright
- ${{ if eq(parameters.VSCODE_RUN_UNIT_TESTS, true) }}: