The releng spinup scripts already clone the builder repo to /builder on
the host system. Save us from wasting extra build resources by not
cloning the repo again.
Change-Id: I6790f4729148441b6b69706fc0ef854427e4077b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
#!/bin/bash
-git clone --depth 1 https://git.opendaylight.org/gerrit/releng/builder $WORKSPACE/.infra-scripts
-
virtualenv $WORKSPACE/.venv-openstack
source $WORKSPACE/.venv-openstack/bin/activate
pip install --upgrade pip
pip install --upgrade python-openstackclient python-heatclient
pip freeze
-cd $WORKSPACE/.infra-scripts/openstack-hot
+cd /builder/openstack-hot
JOB_SUM=`echo $JOB_NAME | sum | awk '{{ print $1 }}'`
VM_NAME="$JOB_SUM-$BUILD_NUMBER"