babashka-sci-dev 2022-06-07

@rahul080327 @brzoskwinka18 It seems the short thing isn't working. When I change the regex to .* it prints:

Irrelevant changes - skipping CI run.
But all the builds just continues ;)

It seems cancelling a workflow isn't possible at all programmatically

So probably choosing a different approach would be better

I'll just manually edit the config for now, while I'm configuring another CI

I'm configuring bb compilation on CI with M1 support:

Produced artifacts:
/private/var/folders/2f/dq81klt17l3g6yg3_nf0t2gh0000gn/T/cirrus-ci-build/bb ( Finished generating 'bb' in 1m 38s.
Wow, that's pretty fast :)

I guess they disabled the circle command 😕

We could try calling the api, might work

Cirrus looks nice!

Neh, I think it's documented that you can halt a step but not a workflow

So we would have to add the script at the start of each job I think

But it's nice that we now have M1 CI with 8GB of memory :-D

Btw, when I tested this I could not even halt the step itself, even if I tried - have you tested the short PR yourself?

Well the thing was being called was tested, guess it has no effect

Have the rest of the steps with a condition on this param

We can use a whole dynamic config and generate a no-op

Yeah you mean circle's inbuilt dynamic configuration right?

Yeah wanted to try that out, should be good fit

Will test if it actually does something useful this time 😅

I guess this does the dynamic config for us?

Heh it's using python in the similar way we have the bb script

Is this worth a try or hand roll the dynamic config?

quite interesting: https://github.com/CircleCI-Public/path-filtering-orb/blob/main/src/scripts/create-parameters.py#L39 really glad the logic @brzoskwinka18 used is pretty much the same here in the py script 😄 total coincidence

Woohoo @rahul080327 !

bash <(curl ) --version 0.8.3-SNAPSHOT --dir /tmp

$ /tmp/bb -e '(System/getProperty "os.arch")'
"aarch64"

🤩 1

yasss! bananadance

will try to do a PR with the dynamic config hopefully in a day or two or beginning on next week if youre not faster 😅 cc @brzoskwinka18 if youre up for it too!

agata_anastazja (she/her) 2022-06-07T21:45:21.369399Z

could have a look next week!

sounds good :)