Last active
August 14, 2018 10:29
-
-
Save Voronenko/48b35ea97fdd057ab482be03e4cd8c49 to your computer and use it in GitHub Desktop.
install_gitlab_runner.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo wget -O /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-amd64 | |
sudo chmod +x /usr/local/bin/gitlab-runner | |
sudo useradd --comment 'GitLab Runner' --create-home gitlab-runner --shell /bin/bash | |
sudo gitlab-runner install --user=gitlab-runner --working-directory=/home/gitlab-runner | |
sudo gitlab-runner start | |
# gitlab-ci-multi-runner exec docker {test_name} | |
#Run the build: gitlab-runner exec docker my-job. | |
#This will run my-job defined in the local .gitlab-ci.yml in a docker container. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment