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

macOS support #192

Closed
petemounce opened this issue Feb 15, 2017 · 12 comments
Closed

macOS support #192

petemounce opened this issue Feb 15, 2017 · 12 comments

Comments

@petemounce
Copy link
Collaborator

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?

@aelsabbahy
Copy link
Member

aelsabbahy commented Mar 24, 2017

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.

@brianantonelli
Copy link

I have it compiling on OS X fine, but I get some errors when invoking it through dgoss.

@aelsabbahy
Copy link
Member

aelsabbahy commented Mar 24, 2017

To get dgoss working on Mac:

# Install dgoss
curl -L https://github.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.

@aelsabbahy
Copy link
Member

I've updated the dgoss readme with Mac installation instructions

@twhiston
Copy link

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.

@automaticgiant
Copy link

automaticgiant commented Dec 24, 2017

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.

@estahn
Copy link

estahn commented Apr 20, 2018

#349 should help with this.

@petemounce
Copy link
Collaborator Author

#380 is trying to add macOS binaries to the releases.

@SpokeyWheeler
Copy link

Another request for macOS binaries, please!

petemounce pushed a commit to petemounce/goss that referenced this issue Nov 9, 2018
@petemounce petemounce mentioned this issue Nov 9, 2018
2 tasks
@ssbarnea
Copy link

ssbarnea commented Feb 27, 2020

... 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".

@stale
Copy link

stale bot commented Jul 9, 2020

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.

@stale stale bot added the wontfix label Jul 9, 2020
@aelsabbahy
Copy link
Member

aelsabbahy commented Jul 9, 2020

Community supported macOS (and windows) alpha binaries are now part of a goss release, see #585

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants