Re: Bosh Job and Package dependency problem.


Lev Berman
 

You can not control the sequence when there are several compilation workers
but you can set the workers number to 1. In the manifest:

compilation:
workers: 1

Also, you can run all of the containers in one job.

On Tue, Jun 9, 2015 at 5:44 PM, 126 Mail Same Pass With Sins <
zhiyxue(a)126.com> wrote:

But How to control these jobs run sequence?
I tried these jobs will run concurrently.



在 2015年6月9日,21:38,Gwenn Etourneau <getourneau(a)pivotal.io> 写道:

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

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


--
Lev Berman

Altoros - Cloud Foundry deployment, training and integration

Github
*: https://github.com/ldmberman <https://github.com/ldmberman>*

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