blob: af9b46fbce4cdabf0885d320e8e51ea32e853ed8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
set -ex
BOTTLENECKS_REPO=https://gerrit.opnfv.org/gerrit/bottlenecks
SCRIPT_DIR=`cd ${BASH_SOURCE[0]%/*};pwd`
export BOTTLENECKS_TOP_DIR=$SCRIPT_DIR/../
export 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/rubbos_docker_run.sh
set +ex
|