summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-03-09 11:26:50 -0700
committerTim Smith <tsmith84@gmail.com>2020-03-09 11:27:06 -0700
commit5f91a60c4fb4033f86bea4abe4904d1f3b85d288 (patch)
tree413772871263db43ff7d65b85a11964c1d5c1e09 /scripts
parent2ece34c7e2caaa3d22e142bd89ca9fc5e9eb4e6d (diff)
downloadchef-5f91a60c4fb4033f86bea4abe4904d1f3b85d288.tar.gz
Use the aws cli to download ruby in the windows tests
This should fix our busted windows tests Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/bk_tests/bk_win_functional.ps13
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/bk_tests/bk_win_functional.ps1 b/scripts/bk_tests/bk_win_functional.ps1
index 2c1799ba28..14452f2dbb 100644
--- a/scripts/bk_tests/bk_win_functional.ps1
+++ b/scripts/bk_tests/bk_win_functional.ps1
@@ -13,8 +13,7 @@ Remove-Item -Path C:\ProgramData\chocolatey\bin\choco.exe -ErrorAction SilentlyC
$ErrorActionPreference = 'Stop'
echo "Downloading Ruby + DevKit"
-[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
-(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')
+aws s3 cp s3://public-cd-buildkite-cache/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