Do not clone builder repo in Heat task 33/50333/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 12 Jan 2017 02:45:16 +0000 (21:45 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 12 Jan 2017 02:46:02 +0000 (21:46 -0500)
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>
jjb/opendaylight-infra-stack.sh

index 4d4ff6e2dea7c1854896486d289379d27baca8a5..a5418f5c934ea57d82dba8947a5cd41c6cdc9efb 100644 (file)
@@ -1,13 +1,11 @@
 #!/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"