Commit 05e14339 authored by Yan Grange's avatar Yan Grange 👋 Committed by Pierre Chanial
Browse files

Add command line options in run.sh.

parent 80b51a9b
Pipeline #15982 passed with stages
in 5 minutes and 50 seconds
......@@ -5,6 +5,6 @@ set -e
export ESAP_DB_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
INSTALL_DEV=true ESAP_RUN_OPTIONS="-d" ${ESAP_DB_PATH}/run.sh
INSTALL_DEV=true ${ESAP_DB_PATH}/run.sh -d
docker-compose -f ${ESAP_DB_PATH}/docker-stack.yml exec -T esap-db bash /code/scripts/run-tests.sh "$@"
docker-compose -f ${ESAP_DB_PATH}/docker-stack.yml down -v --remove-orphans
......@@ -18,4 +18,4 @@ docker-compose $ARGS config > ${ESAP_DB_PATH}/docker-stack.yml
docker-compose -f ${ESAP_DB_PATH}/docker-stack.yml build
docker-compose -f ${ESAP_DB_PATH}/docker-stack.yml down -v --remove-orphans # Remove possibly previous broken stacks left hanging after an error
docker-compose -f ${ESAP_DB_PATH}/docker-stack.yml up ${ESAP_RUN_OPTIONS}
docker-compose -f ${ESAP_DB_PATH}/docker-stack.yml up "$@"
Supports Markdown
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