From 835a8e91a0ada722462184738c43f71305cacc9a Mon Sep 17 00:00:00 2001 From: Javier Cortejoso Date: Mon, 26 Aug 2019 08:31:49 +0200 Subject: [PATCH 1/3] Added new volumes to clean --- start_ocean.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/start_ocean.sh b/start_ocean.sh index 59c21eb..39554ab 100755 --- a/start_ocean.sh +++ b/start_ocean.sh @@ -312,8 +312,11 @@ while :; do docker network rm ${PROJECT_NAME}_default || true docker network rm ${PROJECT_NAME}_backend || true docker network rm ${PROJECT_NAME}_secretstore || true - docker volume rm ${PROJECT_NAME}_keeper-node || true docker volume rm ${PROJECT_NAME}_secret-store || true + docker volume rm ${PROJECT_NAME}_keeper-node-duero || true + docker volume rm ${PROJECT_NAME}_keeper-node-kovan || true + docker volume rm ${PROJECT_NAME}_keeper-node-nile || true + docker volume rm ${PROJECT_NAME}_keeper-node-pacific || true docker volume rm ${PROJECT_NAME}_faucet || true read -p "Are you sure you want to delete $KEEPER_ARTIFACTS_FOLDER? " -n 1 -r echo From db011c7a781893ebfd373abb678a520bf8ac2fb1 Mon Sep 17 00:00:00 2001 From: Javier Cortejoso Date: Mon, 26 Aug 2019 09:11:04 +0200 Subject: [PATCH 2/3] Remove killing quotes --- start_ocean.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start_ocean.sh b/start_ocean.sh index 39554ab..92a848e 100755 --- a/start_ocean.sh +++ b/start_ocean.sh @@ -308,7 +308,7 @@ while :; do ################################################# --purge) printf $COLOR_R'Doing a deep clean ...\n\n'$COLOR_RESET - docker-compose --project-name=$PROJECT_NAME "$COMPOSE_FILES" -f "${NODE_COMPOSE_FILE}" down + docker-compose --project-name=$PROJECT_NAME $COMPOSE_FILES -f ${NODE_COMPOSE_FILE} down docker network rm ${PROJECT_NAME}_default || true docker network rm ${PROJECT_NAME}_backend || true docker network rm ${PROJECT_NAME}_secretstore || true From 78646a8ef3bbb0e5d24881aee34a501d8dffa77a Mon Sep 17 00:00:00 2001 From: Javier Cortejoso Date: Mon, 26 Aug 2019 09:14:05 +0200 Subject: [PATCH 3/3] Eval command --- start_ocean.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start_ocean.sh b/start_ocean.sh index 92a848e..98cf4eb 100755 --- a/start_ocean.sh +++ b/start_ocean.sh @@ -308,7 +308,7 @@ while :; do ################################################# --purge) printf $COLOR_R'Doing a deep clean ...\n\n'$COLOR_RESET - docker-compose --project-name=$PROJECT_NAME $COMPOSE_FILES -f ${NODE_COMPOSE_FILE} down + eval docker-compose --project-name=$PROJECT_NAME "$COMPOSE_FILES" -f "${NODE_COMPOSE_FILE}" down docker network rm ${PROJECT_NAME}_default || true docker network rm ${PROJECT_NAME}_backend || true docker network rm ${PROJECT_NAME}_secretstore || true