diff options
author | baigk <baiguoku@huawei.com> | 2015-09-08 07:47:19 -0400 |
---|---|---|
committer | baigk <baiguoku@huawei.com> | 2015-09-08 08:24:09 -0400 |
commit | cf87d3067a63cb8be315a3addfd9c27d86be3b5a (patch) | |
tree | 861d46aebc75c73cc13a19fecfb5c48aa88a56a1 /deploy.sh | |
parent | 633175ed2c5d0ab339027ba0a542bcdd4d3769c0 (diff) |
Build improvement for speedup and using public repo
JIRA: COMPASS-19
Change-Id: Iba101807e1bd2f843f1253791b7e87e1acb7934b
Signed-off-by: baigk <baiguoku@huawei.com>
Diffstat (limited to 'deploy.sh')
-rwxr-xr-x | deploy.sh | 15 |
1 files changed, 15 insertions, 0 deletions
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 $* |