- Restore default faction to 'adepta-sororitas' on first load (matches pre-refactor behavior; was a silent behavior change)
- Add regression test asserting default-load shows only Adepta Sororitas units and hides the Faction column
- Remove unused data-testid="app-root" from App.jsx and data-testid="mover-row" from MoversPanel.jsx (no test queried either)
The build workflow installs this into the system + docker trust stores so
docker login and buildkit can talk to the git.homelab.local registry on its
self-signed cert. PUBLIC cert only — the key lives only on the mkcert box
(/home/kaykayyali/rootCA-key.pem) and is never committed.
Source SHA-256: 3fd11ebc352da32ef228ca35765f5fc26b1ce63ba3524d9d990bd6f7ff30d6f5
Gitea 1.25 expression parser does NOT support GitHub's ${VAR::N}
string-slicing shorthand inside an interpolation context. The previous
build.yml used ${{ github.sha::7 }} inline inside the build-push-action
tags: block, which failed with:
Failed to parse: got unexpected character ':' while lexing expression
Fix: add a dedicated "Compute image tag" step that writes the short SHA to
$GITHUB_OUTPUT, then reference it as ${{ steps.tag.outputs.short_sha }}
from both the build-push-action tags block and the dispatch curl payload.
Also, the previous workflow referenced certs/rootCA.pem but the file was
never committed to this repo (only to gitea-deploy-demo). Adding
certs/rootCA.pem in the same commit.
This replaces the old 'manual docker run' workflow. Pushing to main
now:
1. Builds the multi-stage Docker image (Node build + nginx runtime)
2. Tags with :latest and :<short-sha> for reproducibility
3. Pushes both to the Gitea container registry
4. Dispatches to gitea-deploy-orchestrator with the image+SHA+branch
The orchestrator handles the actual deploy (Portainer, DNS, healthcheck).
Single source of truth for 'where do we deploy' lives in the orchestrator
repo, not in scattered docker run commands.
Required secrets (Kay's manual step):
- REGISTRY_TOKEN: Gitea API token with write:package scope
- GITEA_DISPATCH_TOKEN: Gitea API token with repository scope
(for posting repository_dispatch to the orchestrator)
Refs: gitea-deploy-orchestrator#3 (Phase B5)
Co-Authored-By: Claude <noreply@anthropic.com>