Minor: Make wrapper script non-zero exits fatal.
Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
parent
378b9c0d2f
commit
8689fe8aed
1 changed files with 3 additions and 1 deletions
|
@ -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
|
|
||||||
|
|
Loading…
Reference in a new issue