Create your own containerized Gitlab Runner…
and gain an understanding of what container within a container means.
This article will be a part of another article. When you decide to host your GitLab instance on your own, it becomes necessary to set up your own GitLab Runner. However, understanding the location from which your pipeline is executed can be a bit challenging. In this article, we aim to explain this concept in a clearer manner.
In this guide, we will use the GitLab Runner Docker image to create a group of runners that will be connected to our VPS (Virtual Private Server). Before proceeding with the steps below, please ensure that your GitLab instance is up and running and that you have at least one project to work with.
- Open your project settings and go to the CI/CD tab.
- Expand the Runners section.
- Click on “New Runner” and select your operating system.
- Optionally, add tags if you want the runner to execute specific jobs or handle untagged jobs.
- If desired, you can provide a runner description and configuration.
- Finally, click on the “Create” button to complete the process.
Now, you will move on to step 1, which involves linking your runner to your project. Let’s proceed to your VPS and create your…