prepare for testresults.opnfv.org's watchdog 29/39129/4
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Fri, 11 Aug 2017 10:39:12 +0000 (18:39 +0800)
committerSerenaFeng <feng.xiaowei@zte.com.cn>
Thu, 17 Aug 2017 07:04:36 +0000 (15:04 +0800)
commit36a6fe993a5b86828cf4d883112d79f62561a8bf
tree7e3c1e5b8e2e21d81134f9406b486680102f3c4c
parent8fcf54dee04407c6f04ecf47e703dba13a3e1151
prepare for testresults.opnfv.org's watchdog

Due to the frequent crash in testresults.opnfv.org, watchdog will be introduced
to monitor the status of docker daemon/testapi container/reporting container,
to make timely recovery, to make things clear, some refactors included
in this patch:
1) leverage container name and image name rather than id
2) address three conditions during the update
3) refactor code to be more readable

Change-Id: Ifa7a6fd94db62d532026b5fad33835b0e2abd9af
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
jjb/releng/automate.yml
jjb/releng/docker-deploy.sh