From 10e776642a16b2584be88e5be8740f05535d7d06 Mon Sep 17 00:00:00 2001 From: "carey.xu" Date: Mon, 10 Aug 2015 23:02:31 -0400 Subject: Add deploy scripts for compass JIRA: COMPASS-11 Change-Id: Id588912c73b424228b6f01cd47fd282d040f7b8f Signed-off-by: carey.xu --- ci/deploy.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 ci/deploy.sh (limited to 'ci/deploy.sh') diff --git a/ci/deploy.sh b/ci/deploy.sh new file mode 100755 index 00000000..197bf63b --- /dev/null +++ b/ci/deploy.sh @@ -0,0 +1,9 @@ +#set -x +COMPASS_DIR=`cd ${BASH_SOURCE[0]%/*}/../;pwd` +export COMPASS_DIR + +apt-get install screen +screen -ls |grep deploy|awk -F. '{print $1}'|xargs kill -9 +screen -wipe +#screen -dmSL deploy bash $COMPASS_DIR/ci/launch.sh $* +$COMPASS_DIR/ci/launch.sh $* -- cgit 1.2.3-korg