mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-29 21:07:59 +08:00
updates: move Install-WindowsUpdates.ps1 at the top to fix winrm timeout (#3971)
This commit is contained in:
committed by
GitHub
parent
3b94fc1d86
commit
4f6ba63ac7
@@ -129,9 +129,17 @@
|
||||
],
|
||||
"execution_policy": "unrestricted"
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
"scripts": [
|
||||
"{{ template_dir }}/scripts/Installers/Install-WindowsUpdates.ps1"
|
||||
],
|
||||
"elevated_user": "{{user `install_user`}}",
|
||||
"elevated_password": "{{user `install_password`}}"
|
||||
},
|
||||
{
|
||||
"type": "windows-restart",
|
||||
"restart_timeout": "10m"
|
||||
"restart_timeout": "30m"
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
@@ -239,24 +247,16 @@
|
||||
"{{ template_dir }}/scripts/Installers/Install-GoogleCloudSDK.ps1",
|
||||
"{{ template_dir }}/scripts/Installers/Install-CodeQLBundle.ps1",
|
||||
"{{ template_dir }}/scripts/Installers/Install-BizTalkBuildComponent.ps1",
|
||||
"{{ template_dir }}/scripts/Installers/Disable-JITDebugger.ps1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
"scripts": [
|
||||
"{{ template_dir }}/scripts/Installers/Install-WindowsUpdates.ps1",
|
||||
"{{ template_dir }}/scripts/Installers/Disable-JITDebugger.ps1",
|
||||
"{{ template_dir }}/scripts/Installers/Configure-DynamicPort.ps1",
|
||||
"{{ template_dir }}/scripts/Installers/Configure-GDIProcessHandleQuota.ps1",
|
||||
"{{ template_dir }}/scripts/Installers/Configure-Shell.ps1",
|
||||
"{{ template_dir }}/scripts/Installers/Enable-DeveloperMode.ps1"
|
||||
],
|
||||
"elevated_user": "{{user `install_user`}}",
|
||||
"elevated_password": "{{user `install_password`}}"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "windows-restart",
|
||||
"restart_timeout": "30m"
|
||||
"restart_timeout": "10m"
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
|
||||
Reference in New Issue
Block a user