From cf87d3067a63cb8be315a3addfd9c27d86be3b5a Mon Sep 17 00:00:00 2001 From: baigk Date: Tue, 8 Sep 2015 07:47:19 -0400 Subject: Build improvement for speedup and using public repo JIRA: COMPASS-19 Change-Id: Iba101807e1bd2f843f1253791b7e87e1acb7934b Signed-off-by: baigk --- deploy.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 deploy.sh (limited to 'deploy.sh') diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 00000000..ec50919e --- /dev/null +++ b/deploy.sh @@ -0,0 +1,15 @@ +#set -x +COMPASS_DIR=`cd ${BASH_SOURCE[0]%/*}/;pwd` +export COMPASS_DIR + +for i in python-cheetah python-yaml screen; do + if [[ `dpkg-query -l $i` == 0 ]]; then + continue + fi + sudo apt-get install $i +done + +screen -ls |grep deploy|awk -F. '{print $1}'|xargs kill -9 +screen -wipe +#screen -dmSL deploy bash $COMPASS_DIR/ci/launch.sh $* +$COMPASS_DIR/deploy/launch.sh $* -- cgit 1.2.3-korg