debian-mirror-gitlab/lib/gitlab/ci/runner_instructions/templates/osx/install.sh

12 lines
362 B
Bash
Raw Normal View History

2020-10-24 23:57:45 +05:30
# Download the binary for your system
sudo curl --output /usr/local/bin/gitlab-runner ${GITLAB_CI_RUNNER_DOWNLOAD_LOCATION}
# Give it permissions to execute
sudo chmod +x /usr/local/bin/gitlab-runner
# The rest of commands execute as the user who will run the Runner
# Register the Runner (steps below), then run
cd ~
gitlab-runner install
gitlab-runner start