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