Switch to Disable Pipelines

Hi!

I’d love to be easily able to disable pipelines.

What I imagine:

  • In settings page, switch to disable pipelines
  • Prevents new builds from starting
  • Prevents non-started steps from starting
  • Prevents clicking “confirm” on builds

Why?

We sometimes have to disable our terraform pipeline when there’s an outage and we made a manual change, to make sure that change doesn’t get wiped. Currently we have to manually put a failing step in the pipeline, cancel all running jobs, and cancel all pending confirmation jobs, to make sure no one does anything.

Making this easier & safer would be great.

Great suggestion @jsm! I have passed this through to the team!

On a side note, I have seen code freeze style functionality added into pipelines using conditionals and environment vars. I created a gist to demonstrate.