From bb03e4b2f8ba8e4df381535d40be0bbb0f8debde Mon Sep 17 00:00:00 2001 From: Ed Morley <501702+edmorley@users.noreply.github.com> Date: Sat, 23 Jan 2021 17:27:38 +0000 Subject: [PATCH] Use the standalone installer for 'ci:install_heroku' rather than APT Since the APT installer takes 3.5x longer than the non-APT version, and offers little benefit in a CI environment. Closes #169. --- CHANGELOG.md | 2 ++ etc/setup_heroku.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f93b92..95cadf3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ ## HEAD +- Switch `heroku ci:install_heroku` to the Heroku CLI standalone installer rather than the APT install method (https://github.com/heroku/hatchet/issues/171) + ## 7.3.3 - Quiet personal tokens (https://github.com/heroku/hatchet/pull/148) diff --git a/etc/setup_heroku.sh b/etc/setup_heroku.sh index 29ebe5d..f9c2ebc 100755 --- a/etc/setup_heroku.sh +++ b/etc/setup_heroku.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash set -euo pipefail -curl --fail --retry 3 --retry-delay 1 --connect-timeout 3 --max-time 30 https://cli-assets.heroku.com/install-ubuntu.sh | sh +curl --fail --retry 3 --retry-delay 1 --connect-timeout 3 --max-time 30 https://cli-assets.heroku.com/install.sh | sh