diff options
author | Khai Do <zaro0508@gmail.com> | 2015-04-21 10:09:04 -0700 |
---|---|---|
committer | Khai Do <zaro0508@gmail.com> | 2015-06-15 11:08:08 -0700 |
commit | 3d5fa3ba250861f71c3e42f2fd1aa172af1c3b30 (patch) | |
tree | 7b20b07f61c8a7780760649656866a2f1f9cfa55 /tools | |
parent | 413c150815a7a164d86ca243feed3b75c1d4b096 (diff) | |
download | python-jenkins-job-builder-3d5fa3ba250861f71c3e42f2fd1aa172af1c3b30.tar.gz python-jenkins-job-builder-3d5fa3ba250861f71c3e42f2fd1aa172af1c3b30.tar.xz python-jenkins-job-builder-3d5fa3ba250861f71c3e42f2fd1aa172af1c3b30.zip |
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
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/run-compare-clonemap.yaml | 3 | ||||
-rwxr-xr-x | tools/run-compare-xml.sh | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/tools/run-compare-clonemap.yaml b/tools/run-compare-clonemap.yaml new file mode 100755 index 00000000..07a05829 --- /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 79edafaf..0f03ca0b 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 |