mirror of
https://github.com/inspec/inspec
synced 2024-11-22 12:43:07 +00:00
Change S3 URL for fetching ruby+devkit
The S3 bucket URL (https://public-cd-buildkite-cache.s3-us-west-2.amazonaws.com/rubyinstaller-devkit-2.6.5-1-x64.exe) no longer works. Signed-off-by: James Stocks <jstocks@chef.io>
This commit is contained in:
parent
8a001d979d
commit
f7d1f75f15
2 changed files with 2 additions and 4 deletions
|
@ -39,8 +39,7 @@ Write-Host "--- Installing $pkg_ident/$pkg_artifact"
|
|||
hab pkg install -b $project_root/results/$pkg_artifact
|
||||
|
||||
Write-Host "--- 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://core-buildkite-cache-chef-prod/rubyinstaller-devkit-2.6.5-1-x64.exe c:/rubyinstaller-devkit-2.6.5-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
|
||||
|
|
|
@ -22,8 +22,7 @@ Write-Output "--- Running verification for $channel $product $version"
|
|||
$Env:PATH = [System.Environment]::GetEnvironmentVariable("Path", "Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path", "User")
|
||||
|
||||
Write-Host "--- 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://core-buildkite-cache-chef-prod/rubyinstaller-devkit-2.6.5-1-x64.exe c:/rubyinstaller-devkit-2.6.5-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
|
||||
|
|
Loading…
Reference in a new issue