Open bdrodes opened 4 years ago
Thanks @bdrodes for providing your feedback. We aim to satisfy this need.
Though, we are considering another option there, namely by expressing dependencies between TaskGroups or Jobs. So registration job in your example would be a separate TaskGroup instead. We may need to do more research for the various use cases.
I'm experimenting with the 0.11 beta:
Nomad v0.11.0-beta1 (a7a7d1284f758e8c431ad4f251131f514da0066d)
Tasks with the
prestart
hook always execute before any tasks in the same job, but for parameterized batch jobs, I would prefer to have an init that executes once on registration of the parameterized job only, and not on every single dispatch. I was thinking a hook like this:Is this a hook capability that is in active development or could it be added as feature request for the lifecycle stanza?