Category Gitlab

Self-Hosting GitLab on AWS

Over the last year or so I had been looking at migrating our current single-node Gitlab server to a more de-coupled/distributed architecture. The primary purpose was to ensure that a single component would not bring down the entire platform. By…

Delete old pipelines in Gitlab

Gitlab is a great CI/CD tool along with all the benefits of being a SCM tool as well. Having said that, if you are self hosting Gitlab, and want to control the amount of storage, then a little bit of…

Use a Terraform template in Gitlab Pipeline

Overview In GitLab, templates can be used in pipelines to simplify the process of creating a pipeline. Templates are essentially predefined scripts that can be reused across multiple pipelines, making it easier to maintain and manage pipelines across an organization.…

Restrict Gitlab Pipeline steps to a specific User

There are occasions when you want to restrict certain steps in your Gitlab pipeline to one or more users only. Today I will show you how this can be made possible. Gitlab provides some pre-defined variables that can be used…