Fork me on GitHub
#babashka-sci-dev
<
2022-06-13
>
agata_anastazja (she/her)15:06:43

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

borkdude15:06:33

@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
lispyclouds15:06:44

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

👍 1