summaryrefslogtreecommitdiff
path: root/lib/gitlab/ci/runner_instructions/templates/osx/install.sh
blob: de4ee3e52fc70828c967f76747392add82514806 (plain)
1
2
3
4
5
6
7
8
9
10
11
# 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