summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-02-05 10:22:39 -0800
committerTim Smith <tsmith84@gmail.com>2020-02-05 10:22:39 -0800
commit7b9489218e56f2c7d13a848203e309cb1fef0d3d (patch)
treed5b2220258770c506a5e7e2335b61287cef89eab
parent60165c4f873eefa186cba6876c854e0dab3814a7 (diff)
downloadchef-7b9489218e56f2c7d13a848203e309cb1fef0d3d.tar.gz
Pull the windows Ruby installer from S3 for tests
This should prevent failures when we get throttled pulling it from Github Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--scripts/bk_tests/bk_win_functional.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bk_tests/bk_win_functional.ps1 b/scripts/bk_tests/bk_win_functional.ps1
index e3a0328ef3..2c1799ba28 100644
--- a/scripts/bk_tests/bk_win_functional.ps1
+++ b/scripts/bk_tests/bk_win_functional.ps1
@@ -14,7 +14,7 @@ $ErrorActionPreference = 'Stop'
echo "Downloading Ruby + DevKit"
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
-(New-Object System.Net.WebClient).DownloadFile('https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-2.6.5-1/rubyinstaller-devkit-2.6.5-1-x64.exe', 'c:\\rubyinstaller-devkit-2.6.5-1-x64.exe')
+(New-Object System.Net.WebClient).DownloadFile('https://public-cd-buildkite-cache.s3-us-west-2.amazonaws.com/rubyinstaller-devkit-2.6.5-1-x64.exe', 'c:\\rubyinstaller-devkit-2.6.5-1-x64.exe')
echo "Installing Ruby + DevKit"
Start-Process c:\rubyinstaller-devkit-2.6.5-1-x64.exe -ArgumentList '/verysilent /dir=C:\\ruby26' -Wait