Commit aa132613 authored by James Kirk's avatar James Kirk
Browse files

refactor: getting exit code from the service

......@@ -6,6 +6,8 @@ usage() {
echo " tests - run the test suite rather than the application."
}
set -x
if [[ -z "${DATA_DIR}" ]]; then
DATA_DIR=$(pwd)
fi
......@@ -16,8 +18,8 @@ while [ -n "$1" ]; do
EXTRA_ARGS="--build"
;;
tests)
docker-compose -f docker/docker-compose-test.yaml up --build --force-recreate
exit 0
docker-compose -f docker/docker-compose-test.yaml up --build --force-recreate --exit-code-from soar_flasgger_test
exit $?
;;
*)
usage
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment