mirror of
https://github.com/digarok/gsplus.git
synced 2024-11-24 06:34:02 +00:00
37 lines
1.0 KiB
Plaintext
37 lines
1.0 KiB
Plaintext
## 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
|
|
|
|
|
|
|
|
gitlab-ci-multi-runner register -n \
|
|
--url http://yourserv.com/ci \
|
|
--registration-token a1f60647cf7fe3eb5c7fa87e59bf7 \
|
|
--executor shell \
|
|
--description "My-Mac"
|
|
|
|
# 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
|
|
# to run correctly
|
|
|
|
# you can always check with
|
|
gitlab-ci-multi-runner status
|
|
|
|
|
|
|