diff options
Diffstat (limited to 'ci/vstf_run.sh')
-rwxr-xr-x | ci/vstf_run.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ci/vstf_run.sh b/ci/vstf_run.sh new file mode 100755 index 00000000..ee523047 --- /dev/null +++ b/ci/vstf_run.sh @@ -0,0 +1,16 @@ +#!/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 |