2016-04-22 11:11:03 +00:00
|
|
|
## SOME NOTES ON SETTING UP GITLAB RUNNER TO BUILD ON LINUX/UBUNTU
|
|
|
|
# Based on: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/blob/master/docs/install/osx.md
|
|
|
|
|
|
|
|
## STEP 1 - Install Gitlab Runner
|
|
|
|
sudo curl --output /usr/local/bin/gitlab-ci-multi-runner https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-ci-multi-runner-darwin-amd64
|
|
|
|
sudo chmod +x /usr/local/bin/gitlab-ci-multi-runner
|
|
|
|
|
|
|
|
|
|
|
|
## STEP 2 - Register it with your server
|
|
|
|
sudo gitlab-ci-multi-runner register
|
2016-04-22 12:00:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
## or, example with all parameters for headless setup
|
|
|
|
gitlab-ci-multi-runner register -n \
|
|
|
|
--url http://yourserv.gotgeeks.com/ci \
|
|
|
|
--registration-token 1234 \
|
|
|
|
--executor shell \
|
|
|
|
--description "Dagens-MBP"
|