diff options
author | Tim Smith <tsmith@chef.io> | 2020-03-09 11:59:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-09 11:59:36 -0700 |
commit | ff287fca98dd080ac70ae359b90ec48050d57b15 (patch) | |
tree | 3735553a53ae956051485ea235250c12e92a7be1 | |
parent | bdd4989fa8bb47719a066a2c8ad55c6ae3544746 (diff) | |
parent | 5f91a60c4fb4033f86bea4abe4904d1f3b85d288 (diff) | |
download | chef-ff287fca98dd080ac70ae359b90ec48050d57b15.tar.gz |
Merge pull request #9468 from chef/fix_windows_functional
Use the aws cli to download ruby in the windows tests
-rw-r--r-- | scripts/bk_tests/bk_win_functional.ps1 | 3 |
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 |