goss-org / goss

Quick and Easy server testing/validation
https://goss.rocks
Apache License 2.0
5.5k stars 470 forks source link

Added: goss-darwin-arm64 binary to release #835

Closed aelsabbahy closed 10 months ago

aelsabbahy commented 10 months ago

Fixes #834

komapa commented 7 months ago

Unfortunately this does not work through the goss.rocks/install script as it does not detect the OS, just the architecture:

curl -fsSL https://goss.rocks/install | GOSS_VER=v0.4.2 GOSS_DST=./tests/bin sh
Downloading https://github.com/goss-org/goss/releases/download/v0.4.2/goss-linux-arm64
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 12.8M  100 12.8M    0     0  19.3M      0 --:--:-- --:--:-- --:--:-- 19.3M
Goss v0.4.2 has been installed to ./tests/bin/goss
goss --version
sh: line 44: ./tests/bin/goss: cannot execute binary file
make: *** [tests/bin/goss] Error 126
❯ uname -a
Darwin laptop.local 23.1.0 Darwin Kernel Version 23.1.0: Mon Oct  9 21:27:24 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T6000 arm64