jbrunton / gflows

A CLI tool that makes templating GitHub Workflows easy
MIT License
30 stars 3 forks source link

Provide yaml serialization options for jsonnet engine #128

Closed jbrunton closed 2 years ago

jbrunton commented 3 years ago

Currently the engine expects serialization to be done by Jsonnet itself. However, the yaml generated by std.manifestYamlDoc is a little heavy on quotation marks in the keys. It would be nice to let the user configure how to do serialization, and delegate to Go's serialization as an option.

Possible config options:

templates:
  engine: jsonnet
  serializationEngine: default # or `goyaml`