Merge "Trap error exit in deploy aio script"

This commit is contained in:
Jenkins 2016-02-10 19:15:43 +00:00 committed by Gerrit Code Review
commit e94c67749a

View File

@ -19,6 +19,8 @@ function check_failure {
fi fi
} }
trap check_failure EXIT
# Populate globals.yml # Populate globals.yml
cat << EOF > /etc/kolla/globals.yml cat << EOF > /etc/kolla/globals.yml
--- ---
@ -36,6 +38,4 @@ ip l a fake_interface type dummy
# Actually do the deployment # Actually do the deployment
tools/kolla-ansible -vvv deploy tools/kolla-ansible -vvv deploy
check_failure
# TODO(SamYaple): Actually do functional testing of OpenStack # TODO(SamYaple): Actually do functional testing of OpenStack