Hasty Briefsbeta

Bilingual

Building the deployment tool I wish I had

6 hours ago
  • #infrastructure-automation
  • #self-hosting
  • #deployment-tools
  • Author builds Deptool, a personal deployment tool, to manage infrastructure, focusing on speed (sub-second deployments), predictability, safety (auto-rollback), simplicity, declarative configuration, and zero-setup on fresh hosts.
  • Deptool works by pre-rendering config files for a cluster, storing them in a Git repo for diffing, materializing files in isolated directories on hosts, using symlinks for atomic version swaps, tracking deployments with remote refs, and handling concurrency like git push.
  • The agent is a static binary deployed via SSH only when needed, requiring no pre-installation, ensuring protocol compatibility, and minimizing latency with fast installs using coreutils on minimal OS like Flatcar Linux.