Re:How we use HashiCorp Nomad
by nickethier on Saturday June 06, 2020 @09:52PM
(#23444070)
We’ve also started to implement this with a new task dependencies feature in the latest release. Check out:
https://www.hashicorp.com/resources/preview-of-nomad-0-11-ta...
https://learn.hashicorp.com/nomad/task-deps/interjob
There’s more work going on there to further improve the feature in upcoming releases.
Disclaimer: I’m an engineer on the Nomad team.
I hope you'll also consider sequential tasks in a single jobfile. Without it it's kind of awkward because you have to be passing shell scripts around just to run a setup step before your actual workload.