ovh / cds

Enterprise-Grade Continuous Delivery & DevOps Automation Open Source Platform
https://ovh.github.io/cds/
BSD 3-Clause "New" or "Revised" License
4.59k stars 428 forks source link

Implements "Stop all" button #5612

Open blaryjp opened 3 years ago

blaryjp commented 3 years ago

Hello,

Sometimes, we've a lot of running/blocked workflows, and we want to stop them all. In the UI we've to click one by one to stop them; or do a loop using the CLI.

Maybe we can add a "Stop all" button on top of the left sidebar?

Thx

blaryjp commented 3 years ago

Hello,

I bump this request, because I've a lot of bloqued run that I need to stop.

I've regularly the need (and I'm not the only one). Do you think you can easily add it?

Thank you :)

cc @yesnault @sguiheux @fsamin @richardlt

yesnault commented 3 years ago

example with cdsctl:


i=3854; until [ $i -gt 3888 ]; do;  echo i: $i; cdsctl workflow stop PRJKEY the-workflowName $i; ((i=i+1)); done
mohit-nagaraj commented 3 weeks ago

ha looks promising to pick this up