File tree Expand file tree Collapse file tree 3 files changed +27
-2
lines changed Expand file tree Collapse file tree 3 files changed +27
-2
lines changed Original file line number Diff line number Diff line change 3030 },
3131 "tailscale_operator" : {
3232 "image" : " ubuntu:latest" ,
33+ "containerEnv" : {
34+ "TS_AUTH_KEY" : " test-auth-key"
35+ },
3336 "features" : {
3437 "tailscale" : {
3538 "operator" : " $USER"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ # Copyright (c) 2025 Tailscale Inc & AUTHORS All rights reserved.
3+ # Use of this source code is governed by a BSD-style
4+ # license that can be found in the LICENSE file.
5+
6+ set -e
7+
8+ source dev-container-features-test-lib
9+
10+ # Wait for the auth key to be seen by the start script.
11+ count=100
12+ while (( count-- )) ; do
13+ [[ -f /tmp/test-auth-key-seen ]] && break
14+ sleep 0.1
15+ done
16+
17+ tailscale debug prefs | grep -q OperatorUser
18+
19+ check " tailscale operator is set" bash -c ' tailscale debug prefs | grep -q OperatorUser'
20+
21+ reportResults
Original file line number Diff line number Diff line change @@ -13,4 +13,6 @@ if [[ -n "$VERSION" ]]; then
1313 check " version is correct" bash -c " tailscale version --daemon | grep -q $VERSION "
1414fi
1515
16- reportResults
16+ check " tailscale operator is not set" bash -c ' ! ( tailscale debug prefs | grep -q OperatorUser )'
17+
18+ reportResults
You can’t perform that action at this time.
0 commit comments