From b09fabcbedb41622a8fa97d966388399b1132d19 Mon Sep 17 00:00:00 2001 From: Brian Palmer Date: Tue, 1 Apr 2025 09:05:57 -0600 Subject: [PATCH] CI: fix the connection check Checking for hello is not the best way to verify that Tailscale is connected, and it recently broke because we stopped giving ephemeral nodes access to hello. Instead, check for connection by parsing the status output as recommended in our KB article https://tailscale.com/kb/1073/hello --- .github/workflows/tailscale.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tailscale.yml b/.github/workflows/tailscale.yml index 40fd822..5f85d70 100644 --- a/.github/workflows/tailscale.yml +++ b/.github/workflows/tailscale.yml @@ -26,7 +26,7 @@ jobs: oauth-secret: ${{ secrets.TS_OAUTH_SECRET }} tags: tag:ci - - name: check for hello.ts.net in netmap + - name: check for tailscale connection shell: bash run: - tailscale status | grep -q hello + tailscale status -json | jq -r .BackendState | grep -q Running