babashka-sci-dev

agata_anastazja (she/her) 2022-06-13T15:05:43.932989Z

Hello, I have started changing the circle ci yaml file to use dynamic configuration and created a PR for it. I have made changes in build script that run locally correctly from that repo but not as a dependency. When I refer to yml as a io resource it resolves to nil and I'm not sure why. Do you have a suggestion on how to do it? I could inline the yml files as strings https://github.com/agata-anastazja/.build/blob/f8347e1e5d27e2735cdd9984c8384fef9f027490/src/scripts/short_ci.clj#L25

borkdude 2022-06-13T15:11:33.128259Z

@brzoskwinka18 This is how I did it in another project: https://github.com/babashka/babashka-sql-pods/blob/master/script/generate_circleci.clj There is no need to use strings, you can just use Clojure data directly

👍 1
lispyclouds 2022-06-13T15:15:44.559149Z

FYI @borkdude I enabled the dynamic config thing on circle settings

👍 1