[OpenStack-Infra] [openstack-dev] Cross-Repo Dependencies in Zuul

Sullivan, Jon Paul JonPaul.Sullivan at hp.com
Wed Feb 11 14:44:12 UTC 2015


Firstly, this is a great feature - thanks for getting it implemented!

> -----Original Message-----
> From: James E. Blair [mailto:corvus at inaugust.com]
> Sent: 10 February 2015 22:26
> To: OpenStack Development Mailing List
> Cc: openstack-infra at lists.openstack.org
> Subject: [openstack-dev] Cross-Repo Dependencies in Zuul
> 
:
snip
:
> 
> Cross-Repo Dependencies Explained
> =================================
> 
> There are two behaviors that might go by the name "cross-repo
> dependencies".  We call them one-way and multi-way.
> 
> Multi-way CRD allow for bidirectional links between changes.  For
> instance, A depends on B and B depends on A.  The theory there is that
> both would be tested together and merged as a unit.  This is _not_ what
> we have implemented in Zuul.  Discussions over the past two years have
> revealed that this type of behavior could cause problems for continuous
> deploments as it means that two components must be upgraded
> simultaneously.  Not supporting this behavior is a choice we have made.
> 
> One-way CRD behaves like a directed acyclic graph (DAG), like git
> itself, to indicate a one-way dependency relationship between changes in
> different git repos.  Change A may depend on B, but B may not depend on
> A.  This is what we have implemented in Zuul.
> 
:
snip
:
> 
> Multiple Changes
> ================
> 
:
snip
:
> 
> A change may depend on more than one Gerrit change ID as well.  So it is
> possible for a change in tempest to depend on a change in devstack and a
> change in nova.  Simply add more "Depends-On:" lines to the footer.

Have you considered a case where changes A and C are in nova, and change B is in neutron such that A depends on B depends on C?

And does that create a similar, and uncaught, situation as per the Multi-way CRD, where two components will need to be updated simultaneously?

:
snip
:
> 
> -Jim
> 
> ________________________________________________________________________
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-
> request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Thanks, 
Jon-Paul Sullivan ☺ Cloud Services - @hpcloud

Postal Address: Hewlett-Packard Galway Limited, Ballybrit Business Park, Galway.
Registered Office: Hewlett-Packard Galway Limited, 63-74 Sir John Rogerson's Quay, Dublin 2. 
Registered Number: 361933
 
The contents of this message and any attachments to it are confidential and may be legally privileged. If you have received this message in error you should delete it from your system immediately and advise the sender.

To any recipient of this message within HP, unless otherwise stated, you should consider this message and attachments as "HP CONFIDENTIAL".


More information about the OpenStack-Infra mailing list