From 3d5fa3ba250861f71c3e42f2fd1aa172af1c3b30 Mon Sep 17 00:00:00 2001 From: Khai Do Date: Tue, 21 Apr 2015 10:09:04 -0700 Subject: [PATCH] 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 --- tools/run-compare-clonemap.yaml | 3 +++ tools/run-compare-xml.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 tools/run-compare-clonemap.yaml diff --git a/tools/run-compare-clonemap.yaml b/tools/run-compare-clonemap.yaml new file mode 100755 index 000000000..07a05829d --- /dev/null +++ b/tools/run-compare-clonemap.yaml @@ -0,0 +1,3 @@ +clonemap: + - name: 'openstack-infra/project-config' + dest: 'project-config' diff --git a/tools/run-compare-xml.sh b/tools/run-compare-xml.sh index 79edafaf8..0f03ca0bc 100755 --- a/tools/run-compare-xml.sh +++ b/tools/run-compare-xml.sh @@ -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