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
|
|
|
|
|
|
|
|
2016-04-28 02:58:38 +00:00
|
|
|
|
2016-04-22 12:00:57 +00:00
|
|
|
gitlab-ci-multi-runner register -n \
|
2016-04-28 02:58:38 +00:00
|
|
|
--url http://yourserv.com/ci \
|
|
|
|
--registration-token a1f60647cf7fe3eb5c7fa87e59bf7 \
|
2016-04-22 12:00:57 +00:00
|
|
|
--executor shell \
|
2016-04-28 02:58:38 +00:00
|
|
|
--description "My-Mac"
|