Fork me on GitHub
#circleci
<
2022-06-07
>
conormcd09:06:06

Yeah, as @glenjamin said a support ticket is usually the most reliable way to get a response. I was on vacation all last week! 🙂

lread16:06:16

Thanks @conormcd! I think Marc might have spoiled us over the years! simple_smile

borkdude21:06:49

Is there a good way to cancel a job successfully if a dependent job was "halted" successfully?

borkdude21:06:00

I only can find instructions on how to cancel a single step

conormcd21:06:34

I'm not entirely clear on what you're trying to do. Would you mind giving a more complete example?

lispyclouds21:06:01

also coming in from the same question as @U04V15CAJ, we on the #babashka and other projects want to "short" the ci if the changes are irrelevant, like only .md files changing. we have a script that does that and is called like this here: https://github.com/babashka/babashka/blob/master/.circleci/config.yml#L29

lispyclouds21:06:47

it turns out that command only stops that step and the things dependent on it still continues as usual. is there a way to stop it in a "cascaded way" without failing it?

lispyclouds21:06:46

is https://circleci.com/developer/orbs/orb/circleci/path-filtering and dynamic config the recommended way for having the ability to short the run on some logic?

conormcd21:06:03

Dynamic config was what I was about to suggest.

conormcd21:06:48

You don't need to use that orb if it doesn't suit you though, you can use anything to generate the follow-on config.

conormcd21:06:13

For any given workflow right now it is a DAG of jobs and we unblock jobs strictly on the success of preceding jobs.

lispyclouds21:06:36

makes sense, i can go ahead with this if its the recommended way. thanks!

👍 2