mirror of
https://github.com/digarok/gsplus.git
synced 2024-11-17 05:05:41 +00:00
33 lines
945 B
Plaintext
33 lines
945 B
Plaintext
## 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
|
|
|
|
|
|
|
|
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
|