Why is not possible to run or dispatch a parametrised batch job with log?
For example assuming a templated job 'MY_JOB' could be useful to have something like:
nomad job dispatch -meta "PARAM1="VAL1" -log MY_JOB
possibly, for easiest shell integration run and dispatch could return internal failing taskCode.
ALL current 0.7.1
ALL
need this function too. Would like to run test jobs inside cluster and need log for CI system for debug purposes.
I really like this idea, but I'm not sure when it will make it on our roadmap.
In the meantime this feature could be done by an external contributor -- or it could even be a separate small application that uses Nomad's APIs:
Thanks for the idea!
In my idea is not necessary to modify API is only necessary to implement something like an allocation watcher on CLI side.
I've done it with a Java piece of software because I'm not so good with GO.
for sure I can share idea
this is likely something I will add to Levant after the "batch-log" command had been introduced which has similar functionality to this.
Most helpful comment
this is likely something I will add to Levant after the "batch-log" command had been introduced which has similar functionality to this.