install on mac
I cannot get the runner work on mac following the installation guide. A couple of issues I had:
The wget command did not work (I think, it's not installed on a clean mac, my one did not have https support built in). So, instead of this:
sudo wget -O /usr/local/bin/gitlab-ci-multi-runner https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-ci-multi-runner-darwin-amd64
I used this:
sudo curl -o /usr/local/bin/gitlab-ci-multi-runner https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-ci-multi-runner-darwin-amd64
I got this error when I tried to start the runner from a user that was not interactively logged in (not ssh or su).
cmiclab-mac:~ gitlab-runner$ gitlab-ci-multi-runner start
FATA[0000] Failed to start GitLab Runner: "launchctl" failed: exit status 112, Could not find domain for
This did not happen with a user that was logged in. (Not 100% sure that the interactive session made the difference.)
Some hints might be useful on the install guide about the prerequisites. I installed boot2docker. I get this error on gitlab ci:
gitlab-ci-multi-runner 0.3.2 (395f2e4)
Using Docker executor with image ruby:2.1 ...
Pulling docker image ruby:2.1 ...
Build failed with dial unix /var/run/docker.sock: no such file or directory
I placed this command to the .bash_profile:
eval "$(boot2docker shellinit)"
that should set the DOCKER_HOST variable to resolve this, but the runner still fails with the same error.
Any idea?
(Sorry for misusing the issue tracker for multiple issues, I don't know which is the best forum to get help.)