summaryrefslogtreecommitdiffstats
path: root/ci/run.sh
blob: 07b25dff82ea962187833e17552e98980e3e1f62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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/HOT_create_instance.sh $GERRIT_REFSPEC_DEBUG

set +ex