source-repositories does not respect the "Depends-On" notation

Bug #1616999 reported by Mathieu Mitchell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diskimage-builder
Triaged
Medium
Mathieu Mitchell

Bug Description

Currently, source-repositories will not honor the "Depends-on" notation. This is because it directly does a git clone of specified repositories. This breaks changes that depend on other in-flight changes, such as [0].

source-repositories should use zuul-cloner where possible, and otherwise fallback to directly use git. This is what other projects that pull dependencies via Git have done, such as puppet modules [1].

[0] https://review.openstack.org/#/c/360547/1/
[1] https://github.com/openstack-infra/puppet-mysql_backup/blob/ec079e793bdc06707833f59c15e8be742b6393ed/spec/spec_helper_acceptance.rb#L34

Revision history for this message
Mathieu Mitchell (mat128) wrote :

source-repositories should not pull from zuul-cloner directly. Something external (job config *OR* test harness, yet TBD) should use zuul-cloner and provide the right environment variables for source-repositories to use the correct repository.

Changed in diskimage-builder:
assignee: nobody → Mathieu Mitchell (mat128)
status: New → In Progress
Revision history for this message
Gregory Haynes (greghaynes) wrote :

I dont think there is a patch up to fix this in dib

Changed in diskimage-builder:
importance: Undecided → Medium
status: In Progress → Triaged
Revision history for this message
Mathieu Mitchell (mat128) wrote :

I cant recall what the exact solution was, but the code/discussion is at https://review.openstack.org/#/c/363013/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.