How to Disable GitLab's Automatic DevOps Pipelines

How to Disable GitLab's Automatic DevOps Pipelines

GitLab's automatic pipelines is an amazing feature that allows you to push your commits to your Git repository hosted on GitLab and then automatically have that code being deployed to production.

However, in some instances you probably would like to control the deployment manually. Maybe you want to conserve the 400 free runner minutes for CI/CD pipelines on your basic GitLab account? Or, just push larger changes and follow some sort of versioning.

In this tutorial I will show you how to disable GitLab's automatic devops pipelines. In this case I will assume that you are already logged in to your GitLab.com account and that you are located in the project you would like to disable this feature for.

1. Open Settings

When logged in ot your GitLab account and browsing the current project that you would like to disable automatic devops pipelines for, you can see a Settings menu item on the left, click to open it.

2. Navigate to CI/CD

That will present an accordion menu with the CI/CD menu, click that to navigate to your project specific CI/CD settings.

3. Disable Auto DevOps Pipeline

When you have successfully navigated to Settings > CI/CD you can uncheck the option Default to Auto DevOps pipeline which can be found under Auto DevOps section.

Disable automatic pipelines for GitLab

When this feature is unchecked Auto DevOps Pipeline will not run unless no alternative CI configuration file is found.

You can now manually run your deployment cycles from CI/CD > Pipelines

Freddie Freddie 1 year, 7 months ago 0
Login to Comment
No comments have been posted yet, be the first one to comment.
10 Ways to Manage Environment Variables with Dokku Config Commands
10 Ways to Manage Environment Variables with Dokku Config Commands
Dokku is an awesome open-soure project that makes it really simple to setup and manage your own docker-powered PaaS (Platform-as-a-Service). If you're a solo developer or working in a small team with a low budget, Dokku is godsend. Most applications requires some sort configuration to...
How to Install & Setup Redis for Dokku
How to Install & Setup Redis for Dokku
Redis is a free and open-source in-memory data store which can be used as cache or in same cases even a database. Redis is super simple to install if you manage your applications with your own Dokku PaaS (Platform as a Service). In today's tutorial I will show you how we can install a...
Setup SSL Certificates & Serve your Applications over HTTPS for Free with Dokku & Let's Encrypt
Setup SSL Certificates & Serve your Applications over HTTPS for Free with Dokku & Let's Encrypt
In this tutorial we are going to take a look at how we can setup free SSL certificates for our Dokku powered applications with Let's Encrypt. Let's Encrypt is a non-profit organization that provides TLS (Transport Layer Security) encryption at no charge. Their goal is to make the web ...