From fdbb4264848357130b348709607e80095033207c Mon Sep 17 00:00:00 2001 From: IvanMeln1k Date: Fri, 4 Dec 2026 14:57:45 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=A04:=20=D0=BD=D0=B5=20=D0=BF=D0=B5?= =?UTF-8?q?=D1=80=D0=B5=D0=B7=D0=B0=D0=BF=D1=83=D1=81=D0=BA=D0=B0=D1=82?= =?UTF-8?q?=D1=8C=20=D0=BE=D1=81=D0=BD=D0=BE=D0=B2=D0=BD=D0=BE=D0=B9=20?= =?UTF-8?q?=D1=81=D1=82=D0=B5=D0=BD=D0=B4=20=D0=B0=D0=B2=D1=82=D0=BE=D0=BC?= =?UTF-8?q?=D0=B0=D1=82=D0=B8=D1=87=D0=B5=D1=81=D0=BA=D0=B8=20=D0=BF=D0=BE?= =?UTF-8?q?=D1=81=D0=BB=D0=B5=20clean-clone?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/clean-clone-check.sh | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/scripts/clean-clone-check.sh b/scripts/clean-clone-check.sh index c7608bd5..8c10c15c 100755 --- a/scripts/clean-clone-check.sh +++ b/scripts/clean-clone-check.sh @@ -44,22 +44,8 @@ cleanup() { esac fi if [ "$main_was_running" = "1" ]; then - # The clone exported COMPOSE_PROJECT_NAME/LB_PORT/IMAGE for its own - # compose project. Do not leak them into the main stand restart. - ( - cd "$root" - unset COMPOSE_PROJECT_NAME LB_PORT IMAGE BASE_URL API_IMAGE - attempt=0 - while [ "$attempt" -lt 3 ]; do - if make up >/dev/null 2>&1 && ./scripts/wait-ready.sh >/dev/null 2>&1; then - echo "main stand restarted after the clean-clone check" - exit 0 - fi - attempt=$((attempt + 1)) - sleep 3 - done - echo "clean-clone-check: could not restart the main stand; run make up manually" >&2 - ) + echo "main lab4 stand was stopped for the check; data volumes are preserved." + echo "run 'make up' in $root to restart it." fi exit "$status" }