From: Zhijiang Hu Date: Tue, 7 Mar 2017 01:43:27 +0000 (+0000) Subject: Merge "add framework of post deploy process" X-Git-Tag: 1.0.0~35 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=d222c03bc58c79d918001773639d0f81a57c86a8;p=daisy.git Merge "add framework of post deploy process" --- d222c03bc58c79d918001773639d0f81a57c86a8 diff --cc ci/deploy/deploy.sh index e7aba37b,f6fae37e..8c13776c --- a/ci/deploy/deploy.sh +++ b/ci/deploy/deploy.sh @@@ -332,10 -326,13 +332,16 @@@ if [ $IS_BARE == 0 ];the virsh reboot all_in_one fi ssh $SSH_PARAS $DAISY_IP "${REMOTE_SPACE}/deploy/check_openstack_progress.sh" +if [ $? -ne 0 ]; then + exit 1; +fi + + if [ $IS_BARE == 0 ];then + echo "============post deploy=====================" + ssh $SSH_PARAS $DAISY_IP "python ${REMOTE_SPACE}/deploy/post/execute.py" + fi + exit 0 #