This commit is contained in:
@@ -67,7 +67,8 @@ cd "${SCRIPT_DIR}"
|
|||||||
docker stop sos-test || true
|
docker stop sos-test || true
|
||||||
docker rm -v sos-test || true
|
docker rm -v sos-test || true
|
||||||
|
|
||||||
LOCALCONFIG=${LOCALCONFIG} docker compose -f "${COMPOSE_FILE}" up -d
|
LOCALCONFIG=${LOCALCONFIG} docker compose \
|
||||||
|
-f "${COMPOSE_FILE}" up -d
|
||||||
|
|
||||||
# wait until healthy.
|
# wait until healthy.
|
||||||
if ! wait_for_container "sos-test"; then
|
if ! wait_for_container "sos-test"; then
|
||||||
@@ -84,8 +85,11 @@ docker exec -i sos-test /bin/bash -c "cd /testing && ./test.sh http://127.0.0.1:
|
|||||||
RESULT=$?
|
RESULT=$?
|
||||||
|
|
||||||
# clean up.
|
# clean up.
|
||||||
docker compose -f "${COMPOSE_FILE}" down
|
docker compose \
|
||||||
docker compose -f "${COMPOSE_FILE}" rm -v
|
-f "${COMPOSE_FILE}" down
|
||||||
|
|
||||||
|
docker compose \
|
||||||
|
-f "${COMPOSE_FILE}" rm -v
|
||||||
|
|
||||||
cd "${PREV_DIR}"
|
cd "${PREV_DIR}"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user