Skip to content

Check for docker and kustomizer before dev:up#202

Open
ivanauth wants to merge 1 commit into
authzed:mainfrom
ivanauth:fix/issue-177-document-dev-prerequisites
Open

Check for docker and kustomizer before dev:up#202
ivanauth wants to merge 1 commit into
authzed:mainfrom
ivanauth:fix/issue-177-document-dev-prerequisites

Conversation

@ivanauth

@ivanauth ivanauth commented Jul 13, 2026

Copy link
Copy Markdown

Fixes #177.

mage dev:up previously failed deep inside kind with a stack trace when docker or kustomizer was missing, giving no hint about the actual prerequisite. This checks for both up front so it fails fast with a clear install message, and documents the requirement in the README.

  • dev.go: call checkDocker()/checkKustomizer() at the start of Dev.Up (helpers already exist in util.go).
  • README.md: document Docker + kustomizer as dev prerequisites.

BEFORE: exec: "docker": executable file not found in $PATH buried under a ~20-line kind stack trace.
AFTER: docker must be installed to run kind - install with: brew install --cask docker.

The dev environment helpers checkDocker and checkKustomizer were
defined but never called, so a missing kustomizer binary only surfaced
as a raw exec error after the kind cluster had already been provisioned.
Run both checks up front so users get the install instructions
immediately, and document the prerequisites in the README.

Signed-off-by: ivanauth <ivan@authzed.com>
@github-actions github-actions Bot added the area/docs Affects docs or metadata (e.g. README) label Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/docs Affects docs or metadata (e.g. README)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error: running "kustomizer apply inventory spicedb-kubeapi-proxy -k ./deploy --prune --wait --timeout 5m" failed with exit code 1

1 participant