Add 'Disable this Pipeline' Option
pending feedback
Y
Yacht club Antelope
Application teams would like to have a way to 'lock' a pipeline so that further builds cannot overwrite their changes while QA and dev teams validate.
An option like Jenkins had to 'temporarily disable this pipeline' from running would be very handy.
Log In
I
Indigo Duck
Yes this is very useful feature we also need and dislike going through OPA
Y
Yarrow Crane
I agree this can be done using an OPA policy, however, that is cumbersome and painful, what this feature request proposes is more user friendly
a
abhijit.pujare
pending feedback
a
abhijit.pujare
@Yacht club Antelope You can write an OPA policy (https://developer.harness.io/docs/platform/governance/policy-as-code/harness-governance-quickstart/) that can disallow a pipeline from being run. What you can do is in the policy check for the name of the pipeline which is being run and if it matches the name of the pipeline you wish to lock you can deny that call.