X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=ci%2Frun.sh;h=6572bfa556118ab176b5ad3bfbe549d94c4b0b01;hb=dc3d9cf2714419f84f6c0d6fd5a6d755c288d229;hp=af9b46fbce4cdabf0885d320e8e51ea32e853ed8;hpb=2942272878f99b7a7894f175285ebfeeac788da9;p=bottlenecks.git diff --git a/ci/run.sh b/ci/run.sh index af9b46fb..6572bfa5 100755 --- a/ci/run.sh +++ b/ci/run.sh @@ -1,18 +1,19 @@ #!/bin/bash +############################################################################## +# Copyright (c) 2015 Huawei Technologies Co.,Ltd and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## 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 +$SCRIPT_DIR/docker_run.sh set +ex -