From 77f35cadce671ac5b70967a873fa78259ed8b7fd Mon Sep 17 00:00:00 2001 From: pikastech Date: Sat, 18 Jul 2026 18:32:50 +0200 Subject: [PATCH] =?UTF-8?q?fix(cicd):=20=E8=A7=84=E8=8C=83=20public-edge?= =?UTF-8?q?=20status=20=E5=81=A5=E5=BA=B7=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/src/platform-infra-public-edge.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/src/platform-infra-public-edge.ts b/scripts/src/platform-infra-public-edge.ts index 78ed14bf..5d977f94 100644 --- a/scripts/src/platform-infra-public-edge.ts +++ b/scripts/src/platform-infra-public-edge.ts @@ -906,7 +906,7 @@ sites_rc=0; dns_rc=0; probe_index=0 for item in ${probeItems}; do probe_index=$((probe_index + 1)) ( - host="${"${item%%|*}"}"; rest="${"${item#*|}"}"; path="/${"${rest%%|*}"}"; path="/${"${path#/}"}"; expected="${"${rest#*|}"}" + host="${"${item%%|*}"}"; rest="${"${item#*|}"}"; path="${"${rest%%|*}"}"; path="/${"${path#/}"}"; expected="${"${rest#*|}"}" getent ahostsv4 "$host" | awk '{print $1}' | grep -Fxq "$expected" || : >"/tmp/public-edge-dns-$$-$probe_index.failed" curl --noproxy '*' -fsS --connect-timeout 3 --max-time 10 --resolve "$host:${target.listener.httpsPort}:127.0.0.1" "https://$host$path" >/dev/null || : >"/tmp/public-edge-site-$$-$probe_index.failed" ) &