bugfix: copy hosts file
[bottlenecks.git] / ci / run.sh
1 #!/bin/bash
2 ##############################################################################
3 # Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
4 #
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
10
11 set -ex
12
13 SCRIPT_DIR=`cd ${BASH_SOURCE[0]%/*};pwd`
14 export BOTTLENECKS_TOP_DIR=$SCRIPT_DIR/../
15 export GERRIT_REFSPEC_DEBUG=$1
16
17 $SCRIPT_DIR/docker_run.sh
18
19 set +ex