Files
zeekay 8f279a783a chore: drop dead config + ship-shape Dockerfile/Makefile/k8s
- rm config/ (cassandra/mysql/postgres/dual-cluster fork yamls)
- rm develop/ (fork docker-compose / grafana / temporalio-dashboards submodule)
- rm docs/{admin,architecture,development,_assets,ui-screenshots,Makefile,README.md,worker-versioning.md}
  (kept docs/red-review-zap-sdk.md — pkg/sdk port review)
- rm k8s/{configmap.yaml,init-db.yaml,kms-secrets.yaml} (dynamic config + Postgres init for fork)
- rm .gitmodules (was: temporalio-dashboards Grafana, gone)
- Dockerfile: 27 lines, no CGO, no SQLite driver, exposes :9999 (ZAP) + :7243 (HTTP)
- Makefile: 30 lines, just build/ui/run/vet/test/tidy/clean
- k8s/deployment.yaml: single Deployment, single Service, single Ingress, /healthz probes
- k8s/kustomization.yaml: 2 resources (deployment + ingress)

Binary: 6.65 MB (-trimpath -ldflags="-s -w"), RSS 13 MB, boots <1s, all probes 200.
2026-04-26 14:57:25 -07:00

21 lines
589 B
Makefile

.DEFAULT_GOAL := update-diagrams
COLOR := "\e[1;36m%s\e[0m\n"
ASSETS_DIR := _assets
D2_GLOB := $(ASSETS_DIR)/*.d2
DIAGRAMS := $(wildcard $(D2_GLOB))
D2_FLAGS := --theme 7 --dark-theme 200
install-d2:
@printf $(COLOR) "Install d2..."
@go install oss.terrastruct.com/[email protected]
update-diagrams: install-d2
@printf $(COLOR) "Update diagrams"
$(foreach DIAGRAM, $(DIAGRAMS), $(shell d2 $(D2_FLAGS) $(DIAGRAM) $(NEWLINE)))
install-reflex:
@go install github.com/cespare/[email protected]
watch-diagrams: install-d2 install-reflex
reflex -r '^$(ASSETS_DIR)/.*\.d2$$' -- d2 $(D2_FLAGS) '{}'