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
changes/08/176008/3
Khai Do 8 years ago
parent 413c150815
commit 3d5fa3ba25
  1. 3
      tools/run-compare-clonemap.yaml
  2. 2
      tools/run-compare-xml.sh

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

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

Loading…
Cancel
Save