@@ -59,12 +59,12 @@ ${CLEAN_VOLUMES_TEMP_COMPOSE}: docker-compose.clean-volumes.yaml .env
5959 @${REPO_BASE_DIR} /scripts/docker-stack-config.bash -e .env $< > $@
6060
6161TIMEOUT = 2m
62- delete-volumes : ${CLEAN_VOLUMES_TEMP_COMPOSE} guard-optional-bool-FORCE_CONFIRM
63- @$(call confirm_action,Forever delete all rabbit data?,yes,$( FORCE_CONFIRM ) )
62+ delete-volumes : ${CLEAN_VOLUMES_TEMP_COMPOSE} guard-optional-TIMEOUT guard-optional- bool-FORCE_CONFIRM
63+ @$(call confirm_action,Forever delete all rabbit data?,yes,${ FORCE_CONFIRM} )
6464 # # avoid accumulating tasks https://github.com/moby/moby/issues/45443
6565 @docker stack rm --detach=false ${CLEAN_VOLUMES_STACK_NAME}
6666 # # use --detach=false to wait until all jobs complete successfully
67- @timeout ${TIMEOUT} \
67+ @timeout ${TIMEOUT} \
6868 docker stack deploy --detach=false --with-registry-auth --prune --compose-file ${CLEAN_VOLUMES_TEMP_COMPOSE} ${CLEAN_VOLUMES_STACK_NAME}
6969 @docker stack rm ${CLEAN_VOLUMES_STACK_NAME}
7070
@@ -73,7 +73,7 @@ delete-volumes: ${CLEAN_VOLUMES_TEMP_COMPOSE} guard-optional-bool-FORCE_CONFIRM
7373#
7474
7575down : guard-optional-bool-FORCE_CONFIRM
76- @$(call confirm_action,Are you sure you want to stop the RabbitMQ cluster?,yes,$( FORCE_CONFIRM ) )
76+ @$(call confirm_action,Are you sure you want to stop the RabbitMQ cluster?,yes,${ FORCE_CONFIRM} )
7777 @docker stack rm ${STACK_NAME}
7878
7979destroy-cluster-with-data : down delete-volumes
0 commit comments