Change zuul-cloner parameters

Current clone works but would be better to pass just
'git://git.openstack.org' as the zuul-cloner base so it will be
more convienant to update if needed.  Added a clonemap to
clone the project into the current directory.

Change-Id: If407ffd47678d260645b205b876d904da7e98218
This commit is contained in:
Khai Do 2015-04-21 10:09:04 -07:00
parent 413c150815
commit 3d5fa3ba25
2 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1,3 @@
clonemap:
- name: 'openstack-infra/project-config'
dest: 'project-config'

View File

@ -24,7 +24,7 @@ mkdir -p .test/new/out
cd .test
if [ -e /usr/zuul-env/bin/zuul-cloner ];
then
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git git://git.openstack.org/openstack-infra project-config
/usr/zuul-env/bin/zuul-cloner -m ../tools/run-compare-clonemap.yaml --cache-dir /opt/git git://git.openstack.org openstack-infra/project-config
else
git clone --depth=1 git://git.openstack.org/openstack-infra/project-config
fi