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:
parent
882e79a2b2
commit
7a764ac740
3
tools/run-compare-clonemap.yaml
Executable file
3
tools/run-compare-clonemap.yaml
Executable file
@ -0,0 +1,3 @@
|
||||
clonemap:
|
||||
- name: 'openstack-infra/jenkins-job-builder'
|
||||
dest: 'jenkins-job-builder'
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user