Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does rundeck support jobs dependencies?

Tags:

rundeck

I've been searching for days on how to layout a rundeck workflow with job dependencies. what I need to do is to have 3 jobs: job-1 and job-2 are scheduled to run in parallel while job-3 will only be triggered after the completion of both job-1, and job-2. assuming that job-1 and job-2 have different execution times.

I tried using job state conditionals to do that but it seems that the condition if not met will halt or fail only. My idea is to halt the execution until all the parent jobs completes and then resume the workflow.

like image 776
tkyass Avatar asked Mar 29 '16 17:03

tkyass


1 Answers

You can achieve this by compiling a master job which includes 2 steps:

  1. step: job-1 and job-2 as a sub-job which includes both (run in parallel if node oriented execution is selected)
  2. step: job-3

But not all 3 in in the same flow.

like image 137
Gorazd Zagar Avatar answered Oct 16 '22 19:10

Gorazd Zagar