What kind of templates can be used for container t...
# ask-the-community
f
What kind of templates can be used for container tasks for generating the command apart from
{{.inputs.x}}
? We are looking into making our container tasks simpler and get rid of duplication and we currently end up with lots of tasks which only differ by input arguments. Ideally we would be able to use simple go templates for constructing the command as well. Any pointers to docs or implementation would be appreciated.
k
Why do you use container tasks?
Use shell task
f
But for that I need python in the container image, right? We mostly just have a bunch of binaries that we need to call with the correct cmdline args
In any case we are interested in knowing what kind of template vars / substitutions can be used in e.g. ContainerTask command, etc. And where is this happening?
It’s happening in plugins
f
thx