SUSE / cap

Apache License 2.0
2 stars 1 forks source link

Disable jobs on newly pushed pipelines #30

Closed HartS closed 4 years ago

HartS commented 4 years ago

When pushing a new pipeline, disable all jobs which don't have dependencies (in other words, the jobs which 'kick off' the pipeline). This prevents later jobs from running (disabling all jobs can take a really long time, as pipelines can have >40 jobs, and an individual request needs to be made to concourse to pause each one)

After initial jobs are paused, the pipeline will be unpaused

viccuad commented 4 years ago

This looks extremely useful, thanks!. I would like to merge this and recreate the pipelines completely.