Update the habitat tests to run on Ruby 2.6.6 as well

Signed-off-by: Tim Smith <tsmith@chef.io>
This commit is contained in:
Tim Smith 2020-08-13 13:47:59 -07:00
parent 07a5cfafc0
commit 6bf4319065

View file

@ -39,13 +39,13 @@ Write-Host "--- Installing $pkg_ident/$pkg_artifact"
hab pkg install -b $project_root/results/$pkg_artifact
Write-Host "--- Downloading Ruby + DevKit"
aws s3 cp s3://core-buildkite-cache-chef-prod/rubyinstaller-devkit-2.6.5-1-x64.exe c:/rubyinstaller-devkit-2.6.5-1-x64.exe
aws s3 cp s3://core-buildkite-cache-chef-prod/rubyinstaller-devkit-2.6.6-1-x64.exe c:/rubyinstaller-devkit-2.6.6-1-x64.exe
Write-Host "--- Installing Ruby + DevKit"
Start-Process c:\rubyinstaller-devkit-2.6.5-1-x64.exe -ArgumentList '/verysilent /dir=C:\\ruby26' -Wait
Start-Process c:\rubyinstaller-devkit-2.6.6-1-x64.exe -ArgumentList '/verysilent /dir=C:\\ruby26' -Wait
Write-Host "--- Cleaning up installation"
Remove-Item c:\rubyinstaller-devkit-2.6.5-1-x64.exe -Force
Remove-Item c:\rubyinstaller-devkit-2.6.6-1-x64.exe -Force
$Env:Path += ";C:\ruby26\bin;C:\hab\bin"