diff options
author | Zhijiang Hu <hu.zhijiang@zte.com.cn> | 2017-03-07 01:43:27 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-07 01:43:27 +0000 |
commit | d222c03bc58c79d918001773639d0f81a57c86a8 (patch) | |
tree | 34ed1d7ca0ae2916c124bbcd1611343375305f0f /ci | |
parent | fad85bb5ecb07240f909ad812bf58c194bc10453 (diff) | |
parent | d4b8505d4fef4a0ff650653a3056327f866d70fd (diff) |
Merge "add framework of post deploy process"
Diffstat (limited to 'ci')
-rw-r--r-- | ci/__init__.py | 0 | ||||
-rwxr-xr-x | ci/deploy/deploy.sh | 6 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ci/__init__.py b/ci/__init__.py new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/ci/__init__.py diff --git a/ci/deploy/deploy.sh b/ci/deploy/deploy.sh index e7aba37b..8c13776c 100755 --- a/ci/deploy/deploy.sh +++ b/ci/deploy/deploy.sh @@ -336,6 +336,12 @@ 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 # |