In this article, We are going to perform 7 Steps for GitLab Runner Registration.
What is GitLab Runner
GitLab Runner is the most used open source project which is used to run CI/CD jobs and send the results back to GitLab Server. It is used to do CI/CD of jobs and supports Linux, Windows , Mac and other operating systems.
Steps for GitLab Runner Registration
1. First login to GitLab Server with Username and Password.
2. Click on your project and select Settings
3. Navigate to Settings and click on CI/CD inside this click on Expand of Runners section
4. Copy GitLab server URL and Registration Token as shown below.
5. Paste GitLab Server URL and Token in registration command as below
$ gitlab-runner register --name project-name-runner --url https://gitlab.fosstechnix.com --registration-token Uc7yzxTMzsXhXJx3zgM
6. Copy above command. Login to GitLab runner server through SSH and paste & run copied command on command line.
Follow the default options until which agent you need to register and then select agent as shown below
7. Once you registered Runner for project then you will get runner as below,
Successfully, We have performed GitLab Runner Registration.
In this article, We have covered GitLab Runner registration and activated GitLab Runner.