+ silently continue when downloading artifacts in windows (#4637)

pull/4650/head
Yi Chen 4 years ago committed by GitHub
parent a6320d5222
commit 58c04bdbe3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3,6 +3,7 @@ param (
) )
$ErrorActionPreference = "Stop"; $ErrorActionPreference = "Stop";
$ProgressPreference = "SilentlyContinue";
New-Item -Path "docker-binary" -ItemType Directory | Out-Null New-Item -Path "docker-binary" -ItemType Directory | Out-Null

@ -3,5 +3,6 @@ param (
) )
$ErrorActionPreference = "Stop"; $ErrorActionPreference = "Stop";
$ProgressPreference = "SilentlyContinue";
Invoke-WebRequest -O "dist/kompose.exe" "https://github.com/kubernetes/kompose/releases/download/$($kompose_version)/kompose-windows-amd64.exe" Invoke-WebRequest -O "dist/kompose.exe" "https://github.com/kubernetes/kompose/releases/download/$($kompose_version)/kompose-windows-amd64.exe"

@ -3,5 +3,6 @@ param (
) )
$ErrorActionPreference = "Stop"; $ErrorActionPreference = "Stop";
$ProgressPreference = "SilentlyContinue";
Invoke-WebRequest -O "dist/kubectl.exe" "https://storage.googleapis.com/kubernetes-release/release/$($kubectl_version)/bin/windows/amd64/kubectl.exe" Invoke-WebRequest -O "dist/kubectl.exe" "https://storage.googleapis.com/kubernetes-release/release/$($kubectl_version)/bin/windows/amd64/kubectl.exe"

Loading…
Cancel
Save