What problem does it solve?
This Skill automates and safeguards multi-environment service deployments by orchestrating preflight validation, controlled forward rolls, staged data application, and reversible rollbacks to reduce human error and downtime.
Core Features & Use Cases
- Preflight validation: run manifest dry-runs, verify image existence, validate resource requests/limits, required labels, probes, PVCs, ConfigMaps, and Secrets before any forward roll.
- Forward and backward rolls: coordinate branch merges or resets, record rollback snapshots, build and push images, apply manifests, and verify rollouts with health checks.
- Staged data diffs: produce and apply DuckDB parquet deltas and Postgres SQL deltas on target pods using a manifest-driven staging workflow.
- Operational commands: supports stop (scale to zero), clean (delete PVCs/data), and rollback using recorded snapshots for safe recovery.
- Use Case: promote a microservice from test to prod with automated preflight checks, apply data diffs staged on target pods, and retain a rollback snapshot to revert if necessary.
Quick Start
Use /roll stoik dev prod to deploy stoik from dev to prod and apply any staged diffs.