v0.1.3
·
203 commits
to develop
since this release
Changelog
- df97d9f Initial groot release: CLI, packages, Docker, GoReleaser, tests, 80% coverage gate Introduce GROOT (Go Kubernetes diagnostics collector): Cobra/Viper CLI, concurrent kubectl collection, archives, optional notifications, distroless image, and release tooling aligned with internal reference patterns. CLI and packages - cmd/groot: entrypoint; main delegates to run()/exitCode for testability. - pkg/cmd: collect flow, connection test, version/help; ResetPersistentCLI for tests. - pkg/collector: job building split for gocyclo; integration tests with PATH kubectl shim. - pkg/config, pkg/archive, pkg/logx, pkg/notifier: unit tests and validation paths. - pkg/kubemock: shared fake kubectl script for cmd/collector tests. - single binary cmd/groot. Makefile - Targets: fmt, lint-fix, vet, lint, test, cover (merged coverage + COVER_MIN=80 + bc), gocyclo, govulncheck, vulncheck, ci, security, release-check, docker-scan, all, docker-build* with APP_VERSION/GIT_*/BUILD_DATE build-args. - clean: empty bin/ but keep bin/.keep. Docker - Dockerfile: multi-arch builder (golang:1.26.2-alpine), trimpath ldflags, distroless. - Dockerfile.release: GoReleaser dockers_v2 layout + OCI labels (hrodrig/groot). GoReleaser (.goreleaser.yaml) - Builds/archives/checksum/changelog/snapshot; dockers_v2 ghcr.io/hrodrig/groot; nfpms deb+rpm with /etc/groot/config.yaml; ids (not deprecated nfpms.builds). Docs / metadata - README: release badge to hrodrig/groot. Quality - Merged statement coverage ~81% with COVER_MIN=80; gocyclo threshold respected. EOF
- 1d984ba docs(readme): hero image, TOC, and sample config customization
- 6ff7362 release: v0.1.3 — notifications, tar layout, CLI, branding