Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Move demo deploys to the tag:ci-deploy Tailscale client

rcourtmanbc39aa59086e
diff --git a/.github/workflows/README.md b/.github/workflows/README.md
index 9700483974..59d7bcea90 100644
--- a/.github/workflows/README.md
+++ b/.github/workflows/README.md
@@ -324,10 +324,11 @@ Required environment secrets:
Required shared secret:
-1. **TS_OAUTH_CLIENT_ID** and **TS_OAUTH_SECRET**
- - Tailscale OAuth client (business tailnet `tawny-powan.ts.net`, scope Auth Keys write, tag `tag:infra`) used by the governed demo deploy/update workflows before SSH
+1. **TS_CI_DEPLOY_OAUTH_CLIENT_ID** and **TS_CI_DEPLOY_OAUTH_SECRET**
+ - Tailscale OAuth client (business tailnet `tawny-powan.ts.net`, scope Auth Keys write only, restricted to `tag:ci-deploy`) used by the governed demo deploy/update workflows before SSH
- The action mints an ephemeral, pre-authorized, tagged node key per run, so runners join and garbage-collect themselves; unlike the retired static `TS_AUTHKEY`, the OAuth secret does not expire every 90 days
- - Allows GitHub-hosted runners to reach private demo targets such as the stable `pulse-relay` Tailscale host
+ - The tailnet policy grants `tag:ci-deploy` TCP 22 to the stable `pulse-relay` demo host, which is all these workflows need
+ - The former `TS_OAUTH_CLIENT_ID` / `TS_OAUTH_SECRET` pair named the July 2026 `tag:infra` client, which was revoked on 30 September 2026; demo updates failed with an OAuth 401 until this move
- May be stored as repository secrets or repeated in the selected environment if desired
Required environment variables:
@@ -395,11 +396,11 @@ from `release-convergence.yml` under the global customer-promotion lease.
## Published-RC browser qualification registration
-`qualify-browser-update-release.yml` must **not** reuse the demo binding above.
-It uses the separate repository secrets **TS_CI_DEPLOY_OAUTH_CLIENT_ID** and
-**TS_CI_DEPLOY_OAUTH_SECRET** for a dedicated business-tailnet OAuth client with
-only **Auth Keys write**, restricted to **tag:ci-deploy**. These names must not
-alias/copy the `tag:infra` demo client or a full-access administrative client.
+`qualify-browser-update-release.yml` uses the same repository secrets
+**TS_CI_DEPLOY_OAUTH_CLIENT_ID** and **TS_CI_DEPLOY_OAUTH_SECRET** as the demo
+workflows: a dedicated business-tailnet OAuth client with only **Auth Keys
+write**, restricted to **tag:ci-deploy**. These names must never hold the
+retired `tag:infra` client or a full-access administrative client.
The Tailnet/credential owner verifies that client scope and tag restriction when
configuring the pair; source inspection and the node's observed tag do not prove
OAuth scope. No secret value belongs in source, logs or receipts.
diff --git a/.github/workflows/recover-demo-server.yml b/.github/workflows/recover-demo-server.yml
index 079f38c9c6..ddf1b12932 100644
--- a/.github/workflows/recover-demo-server.yml
+++ b/.github/workflows/recover-demo-server.yml
@@ -74,9 +74,9 @@ jobs:
id: tailscale
uses: tailscale/github-action@780049a30b6ff5c378a9e7b389d15ece7a204888 # v4.1.3
with:
- oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
- oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
- tags: tag:infra
+ oauth-client-id: ${{ secrets.TS_CI_DEPLOY_OAUTH_CLIENT_ID }}
+ oauth-secret: ${{ secrets.TS_CI_DEPLOY_OAUTH_SECRET }}
+ tags: tag:ci-deploy
version: '1.94.2'
ping: ${{ secrets.DEMO_SERVER_HOST }}
diff --git a/.github/workflows/update-demo-server.yml b/.github/workflows/update-demo-server.yml
index aff887cafb..92daef758f 100644
--- a/.github/workflows/update-demo-server.yml
+++ b/.github/workflows/update-demo-server.yml
@@ -370,9 +370,9 @@ jobs:
id: tailscale
uses: tailscale/github-action@780049a30b6ff5c378a9e7b389d15ece7a204888 # v4.1.3
with:
- oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
- oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
- tags: tag:infra
+ oauth-client-id: ${{ secrets.TS_CI_DEPLOY_OAUTH_CLIENT_ID }}
+ oauth-secret: ${{ secrets.TS_CI_DEPLOY_OAUTH_SECRET }}
+ tags: tag:ci-deploy
version: '1.94.2'
ping: ${{ secrets.DEMO_SERVER_HOST }}
diff --git a/docs/release-control/v6/internal/subsystems/deployment-installability.md b/docs/release-control/v6/internal/subsystems/deployment-installability.md
index 3d26247b6c..de5dccc278 100644
--- a/docs/release-control/v6/internal/subsystems/deployment-installability.md
+++ b/docs/release-control/v6/internal/subsystems/deployment-installability.md
@@ -8023,8 +8023,8 @@ frozen-product insertion, candidate re-cut or stable promotion is performed.
A pinned Tailscale action registers an ephemeral project CI node using only
`tag:ci-deploy` and the dedicated `TS_CI_DEPLOY_OAUTH_CLIENT_ID` /
`TS_CI_DEPLOY_OAUTH_SECRET` binding. Its OAuth client has only Auth Keys write,
-restricted to that tag; it must not alias the `tag:infra` demo or full-access
-administrative identity. The credential owner verifies that configured scope;
+restricted to that tag; it must not alias the retired `tag:infra` or a
+full-access administrative identity. The credential owner verifies that configured scope;
source and Self observations are not proof of OAuth/ACL authority. Missing
dedicated registration configuration stops before join, with no credential,
auth-key or caller-input fallback. `release_browser_tailnet.py` rejects anything
@@ -8038,6 +8038,16 @@ commands receive a scrubbed environment with no provider, production or
publishing credential. State is synthetic, disabled resources and throwaway
admin/API authentication, with the existing telemetry opt-out.
+The governed demo update and recovery workflows register through the same
+`TS_CI_DEPLOY_OAUTH_CLIENT_ID` / `TS_CI_DEPLOY_OAUTH_SECRET` binding and only
+`tag:ci-deploy`. The tailnet policy grants that tag TCP 22 to the `pulse-relay`
+demo host, which is the only path those workflows use before SSH. Their former
+`TS_OAUTH_CLIENT_ID` / `TS_OAUTH_SECRET` pair named the July 2026 `tag:infra`
+client. That client was revoked on 30 September 2026, when the private
+repositories moved to narrow clients, so every demo convergence step since then
+failed with an OAuth 401. Neither repository secret name may hold the retired
+`tag:infra` client or a full-access administrative client.
+
The real Chromium UI signs in once, chooses Preview, checks the actual feed's
exact RC/archive, and confirms one Install Update. The observer requires real
EventSource open/progress, exact served version, healthy status, authenticated
diff --git a/scripts/installtests/build_release_assets_test.go b/scripts/installtests/build_release_assets_test.go
index 7735a7c352..5d57168519 100644
--- a/scripts/installtests/build_release_assets_test.go
+++ b/scripts/installtests/build_release_assets_test.go
@@ -2395,9 +2395,9 @@ func TestUpdateDemoWorkflowUsesGovernedNetworkPath(t *testing.T) {
required := []string{
`- name: Tailscale`,
`uses: tailscale/github-action@780049a30b6ff5c378a9e7b389d15ece7a204888 # v4.1.3`,
- `oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}`,
- `oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}`,
- `tags: tag:infra`,
+ `oauth-client-id: ${{ secrets.TS_CI_DEPLOY_OAUTH_CLIENT_ID }}`,
+ `oauth-secret: ${{ secrets.TS_CI_DEPLOY_OAUTH_SECRET }}`,
+ `tags: tag:ci-deploy`,
`version: '1.94.2'`,
`ping: ${{ secrets.DEMO_SERVER_HOST }}`,
`bash .github/scripts/check-demo-reachability.sh`,
diff --git a/scripts/release_control/release_promotion_policy_test.py b/scripts/release_control/release_promotion_policy_test.py
index 5b8546419a..208f5f2a43 100644
--- a/scripts/release_control/release_promotion_policy_test.py
+++ b/scripts/release_control/release_promotion_policy_test.py
@@ -3190,8 +3190,8 @@ else:
self.assertIn("verify_only: true", dry_run_workflow)
self.assertIn("Verify Current Stable Demo Path (No Mutation)", dry_run_workflow)
self.assertIn("tailscale/github-action@780049a30b6ff5c378a9e7b389d15ece7a204888 # v4.1.3", demo)
- self.assertIn("oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}", demo)
- self.assertIn("oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}", demo)
+ self.assertIn("oauth-client-id: ${{ secrets.TS_CI_DEPLOY_OAUTH_CLIENT_ID }}", demo)
+ self.assertIn("oauth-secret: ${{ secrets.TS_CI_DEPLOY_OAUTH_SECRET }}", demo)
self.assertIn("ping: ${{ secrets.DEMO_SERVER_HOST }}", demo)
# The static 90-day TS_AUTHKEY was retired for the OAuth client
# (0a9a29d63); the runner mints an ephemeral tagged node key per run.