From 6da59546d307fad7b48ac5d91adc296bb652d9c6 Mon Sep 17 00:00:00 2001 From: Doc Date: Mon, 6 Oct 2025 18:50:56 -0400 Subject: [PATCH] revisions of isolation-check --- .gitea/workflows/isolation-check.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/isolation-check.yaml b/.gitea/workflows/isolation-check.yaml index a73edba..a8167ea 100644 --- a/.gitea/workflows/isolation-check.yaml +++ b/.gitea/workflows/isolation-check.yaml @@ -51,8 +51,8 @@ jobs: run: | echo "--- Checking external IP (https://ifconfig.me)" for ignore in errors ; do - curl -4 icanhazip.com >/dev/null 2>&1 || echo 'Error getting ipv4' && true - curl -6 icanhazip.com >/dev/null 2>&1 || echo "Error getting ipv6" && true + curl -4 icanhazip.com 2>/dev/null || echo 'Error getting ipv4' && true + curl -6 icanhazip.com 2>/dev/null || echo "Error getting ipv6" && true done - name: Outbound reachability sanity check @@ -83,8 +83,9 @@ jobs: 172.18.0.1 172.19.0.1 172.20.0.1 172.21.0.1 172.22.0.1 172.23.0.1 \ 172.24.0.1 192.168.1.185; do echo -n "$subnet ... " - ping -4 -n -c 1 $subnet >/dev/null 2>&1 && echo -n "ping response " - curl -m 3 http://$subnet:8098/docker-compose.yaml >/dev/null 2>&1 && echo -n "HTTP response " + ping -4 -n -c 1 -W 250 $subnet >/dev/null 2>&1 && echo -n "ping response . " + curl -m 1 http://$subnet/ >/dev/null 2>&1 && echo -n "HTTP response . " + curl -m 1 http://$subnet:8098/docker-compose.yaml >/dev/null 2>&1 && echo -n "HTTP 8098 response . " echo '' done