cleanup: remove unused clone of system-config
system-config was cloned twice in order to not interfere with slave repo cache during image creation. This clone is not used anymore and can be eliminated Change-Id: I0ff0675ead5f4c192c863f6b0be84f3364f84c0a
This commit is contained in:
parent
a53297cf5d
commit
a9a673fd98
|
@ -64,18 +64,6 @@ def main():
|
|||
|
||||
projects_list.write("%(name)s git %(location)s "
|
||||
"%(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'
|
||||
args = dict(
|
||||
name='config_tmp',
|
||||
location=os.path.join('/opt/build_git', project),
|
||||
url=os.environ.get('CONFIG_SOURCE',
|
||||
'%s/%s.git' % (GIT_BASE, project)),
|
||||
ref=os.environ.get('CONFIG_REF', '*'))
|
||||
projects_list.write(
|
||||
"%(name)s git %(location)s %(url)s %(ref)s\n" % args)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
Loading…
Reference in New Issue