Skip to content

Commit b09fabc

Browse files
committed
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
1 parent 93605f7 commit b09fabc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/tailscale.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
2727
tags: tag:ci
2828

29-
- name: check for hello.ts.net in netmap
29+
- name: check for tailscale connection
3030
shell: bash
3131
run:
32-
tailscale status | grep -q hello
32+
tailscale status -json | jq -r .BackendState | grep -q Running

0 commit comments

Comments
 (0)