X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=ci%2Fvstf_run.sh;fp=ci%2Fvstf_run.sh;h=f25195ab3dbd8b9d8c2ffb671dd9eda613c22bc7;hb=bbc3f2fc62fafbb05d08a0f7fd8e77781657a20b;hp=0000000000000000000000000000000000000000;hpb=9d958be25bb348ab08f320b04b8a0e47cce11945;p=bottlenecks.git diff --git a/ci/vstf_run.sh b/ci/vstf_run.sh new file mode 100755 index 00000000..f25195ab --- /dev/null +++ b/ci/vstf_run.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +set -ex + +BOTTLENECKS_REPO=https://gerrit.opnfv.org/gerrit/bottlenecks + +SCRIPT_DIR=`cd ${BASH_SOURCE[0]%/*};pwd` +GERRIT_REFSPEC_DEBUG=$1 + +if [ x"$GERRIT_REFSPEC_DEBUG" != x ]; then + git fetch $BOTTLENECKS_REPO $GERRIT_REFSPEC_DEBUG && git checkout FETCH_HEAD +fi + +$SCRIPT_DIR/../utils/infra_setup/heat_template/vstf_heat_template/vstf_HOT_create_instance.sh $GERRIT_REFSPEC_DEBUG + +set +ex +