Cache all branches in dib repo cache
We were missing the * ref which will cache all branches and tags when building the source repo cache in our images. Add it in so those things are included. Change-Id: I1ce6dd0f737a4bb6e6a0a73bf8c010d9ab11c581
This commit is contained in:
parent
df684b474d
commit
111c2fe97d
@ -38,10 +38,11 @@ def main():
|
||||
args = dict(
|
||||
name=os.path.basename(project),
|
||||
location=os.path.join('/opt/git', project),
|
||||
url='%s/%s.git' % (GIT_BASE, project))
|
||||
url='%s/%s.git' % (GIT_BASE, project),
|
||||
ref='*')
|
||||
|
||||
projects_list.write("%(name)s git %(location)s "
|
||||
"%(url)s\n" % args)
|
||||
"%(url)s %(ref)s\n" % args)
|
||||
# Clone openstack-infra/system-config again so that we can use it to
|
||||
# build the image without interferring with the slave repo cache.
|
||||
project = 'openstack-infra/system-config'
|
||||
|
Loading…
Reference in New Issue
Block a user