Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(install.sh): add arm64 architecture #930

Merged
merged 2 commits into from
Apr 11, 2023
Merged

feat(install.sh): add arm64 architecture #930

merged 2 commits into from
Apr 11, 2023

Conversation

josephpage
Copy link
Contributor

@josephpage josephpage commented Apr 3, 2023

Hello,

This PR adds support for the ARM64 architecture in the magic install script, since you have already been kind enough to build binaries for these processors, both for Linux and for macOS.

This will allow to quickly install the CLI on a Raspberry Pi or a Mac M1/M2! 🥳

Thanks a lot!

Demo

Works on Raspberry Pi with Raspberry Pi OS 64 bit:

joseph@raspberrypi-8go:~ $ uname -a
Linux raspberrypi-8go 6.1.19-v8+ #1637 SMP PREEMPT Tue Mar 14 11:11:47 GMT 2023 aarch64 GNU/Linux

joseph@raspberrypi-8go:~ $ curl -O https://raw.githubusercontent.com/josephpage/cli/arm64-in-install-script/dists/install.sh && bash install.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4203  100  4203    0     0   5347      0 --:--:-- --:--:-- --:--:--  5340
-----> Downloading Scalingo client...  DONE
-----> Extracting...   DONE
-----> Install Scalingo client to /usr/local/bin
       sudo required...
-----> Installation completed, the command 'scalingo' is available.
-----> Here's what's new in this version:

Changelog of the version 1.28.2

## What's Changed
* refacto(wait-operation) Fix extra space in output and make the code a bit clearer by @Soulou in https://github.com/Scalingo/cli/pull/912
* Use async one-off for database console commands by @Soulou in https://github.com/Scalingo/cli/pull/913
* Bump version 1.28.2 by @Soulou in https://github.com/Scalingo/cli/pull/914


**Full Changelog**: https://github.com/Scalingo/cli/compare/1.28.1...1.28.2

joseph@raspberrypi-8go:~ $ scalingo --version
Scalingo Client version 1.28.2

  • Add a changelog entry in the section "To Be Released" of CHANGELOG.md

@EtienneM EtienneM self-requested a review April 4, 2023 12:53
@this-is-tobi
Copy link

It also works for me on a Raspberry Pi (also Raspberry Pi OS 64 bit) 🌸

@EtienneM EtienneM merged commit f7b2a03 into Scalingo:master Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants