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:
Isaac Beckman 2017-04-19 17:21:34 +03:00
parent a53297cf5d
commit a9a673fd98
1 changed files with 0 additions and 12 deletions

View File

@ -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()