Use zuul-cloner for hacking integration test

Setup repository using zuul-cloner instead of hacking
integration test call git clone.

Change-Id: I828c1875e5f008fa55b693ad210421794395f623
Depends-On: I3b6180b6b274966de63fe281021ff9f4186a929b
This commit is contained in:
Andreas Jaeger 2016-01-15 19:12:51 +01:00
parent 1556e5c810
commit ed24394361

View File

@ -4,11 +4,17 @@
builders:
- revoke-sudo
- gerrit-git-prep
- shell: |
#!/bin/bash -xe
export REPO_ROOT=file:///opt/git
tox -e integration {target-org} {target-project}
#!/bin/bash -eux
cd $WORKSPACE
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
git://git.openstack.org \
openstack-dev/hacking \
{target-org}/{target-project}
cd openstack-dev/hacking
tox -e integration {target-org} {target-project} \
$WORKSPACE/{target-org}/{target-project}
publishers:
- console-log