Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable auto pipelines in gitlab

Since gitlab limited free tier minutes on gitlab CI/CD. I would like to disable auto start for my pipeline after commit.

I would like to run pipeline only manually by click in gitlab interface.

How can I do it?

like image 963
lifoyem162 Avatar asked Nov 07 '20 08:11

lifoyem162


People also ask

How do I disable auto DevOps?

To enable or disable Auto DevOps at the group level: Go to your group's Settings > CI/CD > Auto DevOps page. Select the Default to Auto DevOps pipeline checkbox to enable it. Click Save changes for the changes to take effect.

What is auto DevOps GitLab?

GitLab Auto DevOps eliminates the complexities of software delivery by automatically setting up the pipeline and integrations, which allows teams to focus on business productivity.


1 Answers

You can disable the Gitlab CI/CD Pipelines in project by following steps:

  1. Go to Project's Settings >> General >> Visibility, project features, permissions
  2. Expand the Repository section
  3. Enable or Disable the CI/CD toggle
  4. Then, click on Save Changes

You can verify the same, the CI/CD option has been disappeared from left-hand side panel.

enter image description here



I have now updated the answer with reference to question:

Adding [ci skip] or [skip ci] inside the commit message will not trigger a pipeline on push.

More reference: https://docs.gitlab.com/ee/ci/yaml/#skip-pipeline

like image 52
Sourav Atta Avatar answered Oct 04 '22 16:10

Sourav Atta