diff --git a/.buildkite/steps/launch.sh b/.buildkite/steps/launch.sh index d7ec174ea..ac549d6ac 100755 --- a/.buildkite/steps/launch.sh +++ b/.buildkite/steps/launch.sh @@ -1,5 +1,4 @@ #!/bin/bash -# shellcheck disable=SC1117 set -eu os="${1:-linux}" diff --git a/packer/windows/scripts/install-utils.ps1 b/packer/windows/scripts/install-utils.ps1 index bc011413b..0f6936f82 100644 --- a/packer/windows/scripts/install-utils.ps1 +++ b/packer/windows/scripts/install-utils.ps1 @@ -6,7 +6,9 @@ Set-ExecutionPolicy Bypass -Scope Process -Force Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) Write-Output "Installing awscli" -choco install -y awscli +# pinned because awscli v2 drops 'aws ecr get-login' +# https://github.com/buildkite-plugins/ecr-buildkite-plugin/issues/37 +choco install -y awscli --version=1.18.11 If ($lastexitcode -ne 0) { Exit $lastexitcode } Write-Output "Installing Git for Windows"