Nomad: [question] Is it possible to make a job dependent of other (Maybe using Batch Service Type with constraints)?

Created on 9 Aug 2016  路  7Comments  路  Source: hashicorp/nomad

I need to run a workflow of jobs.
Basically a workflow is a bunch of tasks that need to run in order and just before the previous task is done.
In jobspec I don't see any option to make a job or task to run just after the complete execution of other task/job (dependency).
I try to check if constraints could be applied based in other jobs/tasks, but I haven't found the answer.
So, my question is: Is it possible to run tasks in order, making sure that one task will run only if the previous task is done ? How can i achieve that ?

themscheduling typenhancement

Most helpful comment

@amit-handa It is at least 6+ months out.

All 7 comments

@tiagoalves83 We are going to support DAGs in the future so you will be able to run workflows with that. Currently the workflow orchestrator has to be built outside Nomad.

is there a published roadmap?
do you want the dag stuff internal rather than contributing good integration with something like airflow(might not be good fit, idk)?

is there a possible timeline to completing this requirement ?

@amit-handa It is at least 6+ months out.

any update on this?

This would be a great feature.

This feels like it's a related issue and seems to be due for 0.10.X

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bdclark picture bdclark  路  3Comments

clinta picture clinta  路  3Comments

joliver picture joliver  路  3Comments

stongo picture stongo  路  3Comments

ashald picture ashald  路  3Comments