Exit if kolla image build failed 11/47111/1
authorZhijiang Hu <hu.zhijiang@zte.com.cn>
Mon, 13 Nov 2017 07:34:32 +0000 (02:34 -0500)
committerZhijiang Hu <hu.zhijiang@zte.com.cn>
Mon, 13 Nov 2017 07:34:32 +0000 (02:34 -0500)
commit790e29d91e926e14862ad35a2fd0c791aba628d3
tree9685bee76578d06febe42799b868cd307a8f8b54
parent58510b282114adfe69d7f64fc2f9e247856e4260
Exit if kolla image build failed

Previously, image build failure was ignored since the failure is
caused by images that we do not need. Then, we only build what
we really need. So now, image build failure should not be ginored
any more.

This PS also do clean up task after failure occured, althrough
this is  not really necessary when running in a temporary VM. But
it is helpful when running manually.

Change-Id: Ica8771e80bc313795598e18dc0175177ccb6c11a
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
ci/kolla-build-vm.sh