gsplus/doc/GitlabCI-Runner-MacOSX.txt

33 lines
945 B
Plaintext
Raw Normal View History

2016-04-22 11:11:03 +00:00
## SOME NOTES ON SETTING UP GITLAB RUNNER TO BUILD ON LINUX/UBUNTU
## 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"
2016-10-19 17:01:33 +00:00
# this one is better - adds tags simultaneously
gitlab-ci-multi-runner register -n \
--url http://yourgitlab.com/ci \
--registration-token 5b2f60647cf7fe3eb5c7fa87e59bf7 \
--executor shell \
--description "MBP" \
--tag-list "osx"
# maybe also needs
gitlab-ci-multi-runner install
2016-10-19 17:01:33 +00:00
# to run correctly
# you can always check with
gitlab-ci-multi-runner status