Minor: Make wrapper script non-zero exits fatal.

Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
Chris Evich 2017-08-31 12:51:15 -04:00
parent 378b9c0d2f
commit 8689fe8aed

View file

@ -10,6 +10,9 @@
# --verbose \ # --verbose \
# $PWD/crio-integration-playbook.yaml # $PWD/crio-integration-playbook.yaml
# All errors are fatal
set -e
SCRIPT_PATH=`realpath $(dirname $0)` SCRIPT_PATH=`realpath $(dirname $0)`
REQUIREMENTS="$SCRIPT_PATH/requirements.txt" REQUIREMENTS="$SCRIPT_PATH/requirements.txt"
@ -94,4 +97,3 @@ echo
cd "$WORKSPACE" cd "$WORKSPACE"
source ./.cri-o_venv/bin/activate source ./.cri-o_venv/bin/activate
./.cri-o_venv/bin/ansible-playbook $@ ./.cri-o_venv/bin/ansible-playbook $@
deactivate