3Scripts specific to my work at Tailscale.
5## The individual scripts
9# This adds the root of the repo to the PATH, which has cog_helpers.py
10from os.path import abspath, dirname
13sys.path.append(abspath(dirname(dirname("."))))
17folder_name = "tailscale"
21 "usage": "ensure_on_tailnet.sh TAILNET_NAME",
22 "description": "ensure I'm connected to a particular tailnet on my work computer"
25 "usage": "gostress PACKAGE TEST_NAME",
26 "description": "run a test with Go’s stress utility",
29 "usage": "start_local_tailscaled.sh NAME",
30 "description": "start a local instance of tailscaled",
33 "usage": "login_local_tailscale.sh NAME",
34 "description": "log a local instance of tailscaled into a running version of devcontrol"
38 "description": "run a CLi command on a local instance of tailscaled"
42cog_helpers.create_description_table(folder_name=folder_name, scripts=scripts)
47 <a href="https://github.com/alexwlchan/scripts/blob/main/tailscale/ensure_on_tailnet.sh">
48 <code>ensure_on_tailnet.sh TAILNET_NAME</code>
52 ensure I'm connected to a particular tailnet on my work computer
56 <a href="https://github.com/alexwlchan/scripts/blob/main/tailscale/gostress">
57 <code>gostress PACKAGE TEST_NAME</code>
61 run a test with Go’s stress utility
65 <a href="https://github.com/alexwlchan/scripts/blob/main/tailscale/start_local_tailscaled.sh">
66 <code>start_local_tailscaled.sh NAME</code>
70 start a local instance of tailscaled
74 <a href="https://github.com/alexwlchan/scripts/blob/main/tailscale/login_local_tailscale.sh">
75 <code>login_local_tailscale.sh NAME</code>
79 log a local instance of tailscaled into a running version of devcontrol
83 <a href="https://github.com/alexwlchan/scripts/blob/main/tailscale/lts">
88 run a CLi command on a local instance of tailscaled
91<!-- [[[end]]] (sum: 4hnXIiewO2) -->