summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/ci/runner/components/registration/scripts/osx/install.sh
blob: 76c893bacfc3e2cf67cc4d762f98ea50858efd61 (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 permission to execute
sudo chmod +x /usr/local/bin/gitlab-runner

# The rest of the commands execute as the user who will run the runner
# Register the runner (steps below), then run
cd ~
gitlab-runner install
gitlab-runner start