Merge "add framework of post deploy process"
authorZhijiang Hu <hu.zhijiang@zte.com.cn>
Tue, 7 Mar 2017 01:43:27 +0000 (01:43 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Tue, 7 Mar 2017 01:43:27 +0000 (01:43 +0000)
1  2 
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
  
  #