jbrunton / gflows

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

Spike: try out ytt templates #78

Closed jbrunton closed 4 years ago

jbrunton commented 4 years ago

Steps to merge:

  1. Separate out ytt and jsonnet template managers into their own packages.
  2. Add integration tests for both managers (full init, update, check cycles).
  3. Config should have a template property to define templating language.
  4. init command should be given a required template parameter.
  5. Consider adding some more example workflows for each templating language.
  6. Add mechanism to add library files for ytt.
  7. For both templating languages, consider whether library files can be added on a per-workflow basis. (Or would this only be useful for ytt? jsonnet has explicit imports anyway. Might be an edge case in both scenarios.)