Remove Tailscale + K3s deploy from GitHub Actions #11

Closed
opened 2026-05-28 00:06:21 +00:00 by coilysiren · 0 comments
Owner

Problem

.github/workflows/build-and-publish.yml runs a deploy job that joins the tailnet (Tailscale OAuth), installs kubectl, writes a kubeconfig from repo secrets, and runs make .deploy + kubectl rollout status against kai-server. GitHub Actions should no longer touch K3s or the tailnet in any circumstance — pull-side update already covers redeploys.

Proposal

  • Delete the deploy job entirely.
  • Keep test and build-publish (the GHCR image push is still useful as a public artifact + pull source for the homelab).
  • After merge, Kai unsets TS_OAUTH_CLIENT_ID, TS_OAUTH_SECRET, K8S_SERVER, K8S_CA_DATA, K8S_CLIENT_CERT_DATA, K8S_CLIENT_KEY_DATA.
  • AGENTS.md "Reaching the homelab" + "Post-push follow-up" sections describe the GHA deploy and need a follow-up edit; track separately if needed.

Acceptance

  • Workflow has no Tailscale, kubeconfig, or kubectl steps.
  • test + build-publish still run on push to main; the homelab pulls from GHCR via pull-side.
**Problem** `.github/workflows/build-and-publish.yml` runs a `deploy` job that joins the tailnet (Tailscale OAuth), installs `kubectl`, writes a kubeconfig from repo secrets, and runs `make .deploy` + `kubectl rollout status` against kai-server. GitHub Actions should no longer touch K3s or the tailnet in any circumstance — pull-side update already covers redeploys. **Proposal** - Delete the `deploy` job entirely. - Keep `test` and `build-publish` (the GHCR image push is still useful as a public artifact + pull source for the homelab). - After merge, Kai unsets `TS_OAUTH_CLIENT_ID`, `TS_OAUTH_SECRET`, `K8S_SERVER`, `K8S_CA_DATA`, `K8S_CLIENT_CERT_DATA`, `K8S_CLIENT_KEY_DATA`. - AGENTS.md "Reaching the homelab" + "Post-push follow-up" sections describe the GHA deploy and need a follow-up edit; track separately if needed. **Acceptance** - Workflow has no Tailscale, kubeconfig, or kubectl steps. - `test` + `build-publish` still run on push to `main`; the homelab pulls from GHCR via pull-side.
Sign in to join this conversation.
No labels
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
coilyco-flight-deck/eco-jobs-tracker#11
No description provided.