herrjulz / aviator

Merge YAML/JSON files in a in a convenient fashion based on a configuration file called aviator.yml
MIT License
60 stars 7 forks source link

[feature] investigating applicability of ytt #33

Closed aegershman closed 4 years ago

aegershman commented 5 years ago

(To be entirely honest, I'm not 100% sure what the workflow for this would look like yet, just putting an issue here as a way to point this out. Feel free to close this whenever you feel fit.)

I'm investigating using ytt as a way to templatize my concourse pipelines. I thought this might be an interesting project to check out and see if/how it could integrate to aviator.

Thanks for your time!

herrjulz commented 5 years ago

Hi @aegershman

very interesting. I talked to @nimakaviani recently about adding ytt support. I'm already investigating if I can integrate it somehow. I'll leave this issue open for ideas.

Thx very much for open this issue.

herrjulz commented 5 years ago

I played a little bit with ytt and I think it can be nicely integrated with Aviator. Still need to take a look at the code. The idea I have so far is to have ytt separated from the spruce config in the aviator.yml with the following concept:

For executors I think I create a plug-in point and let them be added separately to Aviator. Something like aviator install ansible-executor.

Moreover, I thinking about to change the aviator yaml such that the order of the processes like template, merge, modify, squash can be defined by the user. Today, the order is strict: spruce->squash->execute

cppforlife commented 5 years ago

@aegershman off topic, but you may want to connect with @cdutra since he was playing around with ytt and concourse pipelines as well. yall might have some interesting things to share.

prein commented 3 years ago

@herrjulz Would you mind summarizing your thoughts / findings? Is ytt planned to be supported?