Wait for Windows Updates (#4924)

This commit is contained in:
Aleksandr Chebotov
2022-01-20 22:23:57 +03:00
committed by GitHub
parent 9c73205ecc
commit 023104e407

View File

@@ -258,11 +258,15 @@
},
{
"type": "windows-restart",
"check_registry": true,
"restart_check_command": "powershell -command \"& {if ((-not (Get-Process TiWorker.exe -ErrorAction SilentlyContinue)) -and (-not [System.Environment]::HasShutdownStarted) ) { Write-Output 'Restart complete' }}\"",
"restart_timeout": "30m"
},
{
"type": "powershell",
"pause_before": "2m",
"scripts": [
"{{ template_dir }}/scripts/Installers/Wait-WindowsUpdatesForInstall.ps1",
"{{ template_dir }}/scripts/Tests/RunAll-Tests.ps1"
]
},