From 67f8efa322f71b200998267baff2d3bb89d2ec45 Mon Sep 17 00:00:00 2001 From: Mikhail Goncharov Date: Fri, 12 Mar 2021 15:53:15 +0100 Subject: [PATCH] add manual instruction to clone instead --- scripts/windows_agent_bootstrap.ps1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/windows_agent_bootstrap.ps1 b/scripts/windows_agent_bootstrap.ps1 index f8377fd..994c5b5 100644 --- a/scripts/windows_agent_bootstrap.ps1 +++ b/scripts/windows_agent_bootstrap.ps1 @@ -62,8 +62,9 @@ if ($sdd) { Add-MpPreference -ExclusionPath "C:\ws" } -# Clone scripts repo. Restarting in a new session to pick up profile updates. -cmd.exe /c start powershell.exe -c {git clone https://github.com/google/llvm-premerge-checks.git c:/llvm-premerge-checks} +# Clone scripts repo. Restarting in a new session to pick up profile updates. TODO: automate this. +Write-Host "please run 'git clone https://github.com/google/llvm-premerge-checks.git c:/llvm-premerge-checks' in a new shell" +pause # create folder for credentials New-Item -Path "C:\" -Name "credentials" -ItemType "directory" set-content c:\credentials\buildkite-env.ps1 '# Insert API tokens and replace NAME to something meaningful.