diff options
author | Justin chi <chigang@huawei.com> | 2015-08-13 08:26:05 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2015-08-13 08:26:05 +0000 |
commit | ade17ce57eb08dbf262cb9b6f1893367e2832dc1 (patch) | |
tree | 3f6c489086ca0f002f15114e71f4d64d1564f2b8 /ci/deploy.sh | |
parent | 7951b094df92c40417ec66c4be58871911bbed07 (diff) | |
parent | 10e776642a16b2584be88e5be8740f05535d7d06 (diff) |
Merge "Add deploy scripts for compass"
Diffstat (limited to 'ci/deploy.sh')
-rwxr-xr-x | ci/deploy.sh | 9 |
1 files changed, 9 insertions, 0 deletions
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 $* |