mirror of
https://github.com/juanfont/headscale.git
synced 2025-09-25 17:51:11 +02:00
Fixed syntax error + trailing spaces
This commit is contained in:
parent
f2c95b473a
commit
2193c44194
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -107,20 +107,20 @@ jobs:
|
||||
run: |
|
||||
./headscale serve &
|
||||
|
||||
- name: Create namespace
|
||||
- name: Create namespace
|
||||
run: |
|
||||
./headscale namespace create test1 -o json-line
|
||||
|
||||
- name: Create AuthKey
|
||||
run: |
|
||||
echo "AUTHKEY=`./headscale -n test1 preauthkey create -o json-line | jq -r '.Key'`" >> $GITHUB_ENV
|
||||
|
||||
|
||||
- name: Register tailscale node
|
||||
run: |
|
||||
sudo tailscale up -login-server http://127.0.0.1:8000 -authkey $AUTHKEY
|
||||
sudo tailscale up -login-server http://127.0.0.1:8000 -authkey $AUTHKEY
|
||||
|
||||
|
||||
- NAME: Check if headscale reports the node
|
||||
run: |
|
||||
./headscale -n test1 node list -o json-line | test $(jq length) -eq 5
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user