Created
September 29, 2020 20:41
-
-
Save anushshukla/4dbf24083a96bb97314dec9a4f306502 to your computer and use it in GitHub Desktop.
Gitlab Runner Setup on Server (Ref https://docs.gitlab.com/runner/register/#gnulinux)
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 gitlab-runner register \ | |
| --non-interactive \ | |
| --url "https://gitlab.com/your-user-name" \ | |
| --registration-token "PROJECT_REGISTRATION_TOKEN" \ | |
| --executor "ssh" \ | |
| --docker-image alpine:latest \ | |
| --description "ssh-runner-local-server" \ | |
| --tag-list "ci,cd,lint-check,test,coverage" \ | |
| --run-untagged="true" \ | |
| --locked="false" \ | |
| --access-level="not_protected" \ | |
| && sudo gitlab-runner restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment