Re:Why the fuck are we templating YAML? (2019)
by kevincox on Tuesday January 23, 2024 @07:31AM
(#39102495)
A really good solution here is to use a full programming language but run the config generator on every CI run and show the diff in review. This way you have a real language to make conditions as necessary but also can see the concrete results easily.
Unfortunately few review tools handle this well. Checked-in snapshot tests are the closest approximation that I have seen.
Unfortunately few review tools handle this well. Checked-in snapshot tests are the closest approximation that I have seen.