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

refactor: getting exit code from the service

...@@ -6,6 +6,8 @@ usage() { ...@@ -6,6 +6,8 @@ usage() {
echo " tests - run the test suite rather than the application." echo " tests - run the test suite rather than the application."
} }
set -x
if [[ -z "${DATA_DIR}" ]]; then if [[ -z "${DATA_DIR}" ]]; then
DATA_DIR=$(pwd) DATA_DIR=$(pwd)
fi fi
...@@ -16,8 +18,8 @@ while [ -n "$1" ]; do ...@@ -16,8 +18,8 @@ while [ -n "$1" ]; do
EXTRA_ARGS="--build" EXTRA_ARGS="--build"
;; ;;
tests) tests)
docker-compose -f docker/docker-compose-test.yaml up --build --force-recreate docker-compose -f docker/docker-compose-test.yaml up --build --force-recreate --exit-code-from soar_flasgger_test
exit 0 exit $?
;; ;;
*) *)
usage 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