Closed petemounce closed 4 years ago
One point to clarify. Since Goss runs locally on the target machine. This enhancement would be for those interested in using Goss to validate a macos system.
dgoss works fine on macos if the target docker is Linux.
I have it compiling on OS X fine, but I get some errors when invoking it through dgoss.
To get dgoss working on Mac:
# Install dgoss
curl -L https://raw.githubusercontent.com/aelsabbahy/goss/master/extras/dgoss/dgoss -o /usr/local/bin/dgoss
chmod +rx /usr/local/bin/dgoss
# Download goss to your preferred location
curl -L https://github.com/aelsabbahy/goss/releases/download/v0.3.1/goss-linux-amd64 - o ~/Downloads/goss-linux-amd64
# Set your GOSS_PATH to the above location
export GOSS_PATH=~/Downloads/goss-linux-amd64
# Use dgoss
dgoss edit ...
dgoss run ...
Since Goss is running inside the container, no cross compile is needed.
I've updated the dgoss
readme with Mac installation instructions
So what additionally would be needed to validate an OSX install? (ie use goss for mac rather than from mac) maybe we could use homebrew for the package checking (as most automation I have seen uses homebrew to install/validate things, ie ansible), what other items do we need to deal with? i'd be really willing to work on this if we can break the task down into well defined chunks.
works fine for me. my use case is the http/dns/tcp stuff that i can use remotely to validate a terraform stack comes up. i stick it in a provisioner so it can bluegreen the dns only if the stack starts taking traffic correctly. this is a killer use case as it has the waiting/timeout stuff. i just would like the binaries added to releases.
Another request for macOS binaries, please!
... no progress so far, starting to loose hope. Even worse using the installer on macos does copy the linux binaries instead of failing with a "not supported yet error".
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Community supported macOS (and windows) alpha binaries are now part of a goss release, see #585
Similarly to #26, it would be great to get macOS support. I assume since you welcomed PRs for FreeBSD, you might also welcome ones that add macOS support?