Re: Bosh Job and Package dependency problem.


Gwenn Etourneau
 

Right there is no dependency between job, but I think in the manifest you
can put an order

job:

-name: docker1
...

-name:docker2
....


etc...

But dependency don't really exist in bosh.

On Tue, Jun 9, 2015 at 6:04 PM, Xue Zhi Yong <zhiyxue(a)126.com> wrote:

I have five Docker image which have following runtime dependency:
The Docker image 1 and Docker image 2 must be run before Docker image 3, 4
,5
I create five bosh Jobs for them, but bosh document said can't set
dependency between jobs. So when the Docker image 4 job will failed when
it's run before image 3.
I'm not sure if it works when I create package for Docker image 1, 2, 3,
and job for Docker image 4,5. In these two jobs to start all direct depend
and indirectly depend image.

Anyone can give correct package and job skeleton and dependcy?




_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh

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