Skip to content

v1.3.0

Choose a tag to compare

@fwartner fwartner released this 11 Mar 21:49
· 4 commits to main since this release

What's New

New Commands

  • pnp doctor — Prerequisites checker with auto-fix (git, gh, docker, kubectl, config validation)
  • pnp list — Show all deployed applications from the gitops repo in a formatted table
  • pnp env list|set|edit — Manage .cluster.yaml configuration with dot-notation support
  • pnp logs [app-name] — Stream application logs with --follow and --tail flags
  • pnp rollback — Interactive revert of deployment commits in the gitops repo

Simplified Wizard

  • Basic mode (default) — Only 4 questions: name, type, scope, environment. Smart defaults handle everything else
  • Advanced mode (pnp deploy --advanced) — Full 7-step wizard with all options
  • Type-specific smart defaults for database, Redis, queue, scheduler, persistence, and resources

Deploy Improvements

  • Live progress tracker — Spinner animation with step-by-step progress indicators (✓/✗)
  • Prerequisite checks — Deploy now validates critical requirements before starting
  • Preview environments (pnp deploy --with-previews) — Generates GitHub Actions workflow for PR-based preview deployments

Enhanced Status

  • Error explanations — Human-readable descriptions for ImagePullBackOff, CrashLoopBackOff, OOMKilled, etc.
  • Suggested fixes — Each error includes a recommended pnp command to resolve it
  • Pod table — Shows individual pod status when the app is unhealthy

Internal

  • Extracted shared styles to cmd/styles.go
  • New internal/kube package for kubectl operations
  • New internal/progress package for step tracking
  • New internal/doctor package for prerequisite validation
  • Added ListApps(), GitLog(), Revert() to gitops repo operations