Re: Render jobs templates sequentially


Danny Berger
 

Hi - you can't currently define dependencies between jobs. monit has a very
primitive notion of dependencies, but they are not reliable with the
stemcell's monit. I think the recommended approach would be to add some
blocking to your startup scripts with logic about what they're depending on
(e.g. check to see if your dependency's port is open before continuing your
own startup). Another alternative is to avoid colocating services which are
dependent (in favor of using separate VMs).

Danny


On Fri, Sep 16, 2016 at 12:00 AM, Sundarajan Srinivasan <
sundarajan.s(a)gmail.com> wrote:

I am trying run multiple templates inside a single job, would like to know
if i can run it sequentially (i.e execute each template after it obtains
running status)


Thanks
Sundar


--
Danny Berger

Join cf-bosh@lists.cloudfoundry.org to automatically receive all group messages.