Scripts are grouped by purpose. See the layout below.
hack/
boilerplate.go.txt # Go codegen header template
ci/ # CI and pre-commit helpers
go-test.sh
smoke-ci.sh
staticcheck.sh
dev/ # Workstation / contributor setup
deps.sh
dev-setup.sh
deploy/
mcpruntime-org/ # Public k3s cluster (mcpruntime.org)
setup.sh # Full platform install
clean.sh # Wipe MCP Runtime namespaces (with backup)
restore.sh # Re-apply TLS/OIDC/bootstrap backups
rollout.sh # Build/push Sentinel API+UI only
multitenancy-test.sh # Platform API multi-tenant smoke test
lib/ # Shared bash helpers (env, backup, clean, registry)
Configure config/deployments/mcpruntime-org.env (copy from .example), then:
hack/deploy/mcpruntime-org/setup.sh
hack/deploy/mcpruntime-org/clean.sh --yes --wait
hack/deploy/mcpruntime-org/rollout.sh
PLATFORM_URL=... MCP_URL=... REGISTRY_HOST=... hack/deploy/mcpruntime-org/multitenancy-test.shSee docs/k3s-deployment-runbook.md for the full runbook.
hack/ci/staticcheck.sh ./...
hack/ci/smoke-ci.sh
hack/dev/deps.sh check
hack/dev/dev-setup.sh all