Open grepwood opened 12 months ago
this code uses snakeyaml to parse the yaml.
you can see the extent of the Yaml interop here:
I have never used yaml templating like this. It is possible snakeyaml requires some configurations to work with jackson to support templates.
I am willing to review code with tests to add support, but I will not have time to add support or debug this myself.
I would recommend you use another tool to convert templated yaml into the version you pass to this tool if you don't want to dig into snakeyaml.
Hi,
I have a file that starts like so:
The project in question is a gargantuan monorepo. Therefore it stands to reason that I would like to change the Scala version in one place and see the change affect literally everything, to save myself work.
I have made the following changes:
SCALA_VERSION = "2.12.10"
This is where the cookie crumbles - I have no idea how to template this file. I tried:
"scala:" + SCALA_VERSION
"scala:${SCALA_VERSION}"
"scala:{SCALA_VERSION}"
"{{SCALA_VERSION}}"
because that's a standard in YAML formatUnfortunately, none of those worked. Can someone help please?