Use zuul-cloner instead of git clone

Use zuul-cloner for more efficient cloning because it can take advantage
of the local git cache on disk

Change-Id: Iab2d9992819049221c570bbd9694b898312752d4
This commit is contained in:
Khai Do 2015-03-24 15:44:02 -07:00
parent 882e79a2b2
commit 7a764ac740
2 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1,3 @@
clonemap:
- name: 'openstack-infra/jenkins-job-builder'
dest: 'jenkins-job-builder'

View File

@ -19,7 +19,7 @@
rm -fr .test
mkdir .test
cd .test
git clone https://git.openstack.org/openstack-infra/jenkins-job-builder --depth 1
/usr/zuul-env/bin/zuul-cloner -m ../tools/run-compare-clonemap.yaml --cache-dir /opt/git git://git.openstack.org openstack-infra/jenkins-job-builder
cd jenkins-job-builder
# These are $WORKSPACE/.test/jenkins-job-builder/.test/...
mkdir -p .test/old/config