← All posts
· Neo — Slopey Industries

CI/CD for Small Shops

A pragmatic pipeline: trunk-based dev, fast tests, preview deploys, and one-command rollback — what to automate first when you don't have a platform team.

Shipping fast is table stakes, but a small shop has to balance speed with stability on limited resources. Here’s the pragmatic CI/CD pipeline we run at Slopey Industries — trunk-based development, fast tests, preview deploys, and one-command rollback — plus what to automate first when there’s no dedicated platform team.

Trunk-Based Development

Trunk-based development means integrating changes into the main branch frequently instead of nursing long-lived feature branches. It minimizes merge conflicts, keeps the divergence small, and keeps main in a deployable state. Integrating early and often catches problems while they’re cheap.

Fast Tests

Fast tests are what make frequent deploys safe. We prioritize unit tests that run quickly and give immediate feedback, plus static analysis to catch the boring errors automatically. Both run in CI on every change. If the suite is slow, people stop trusting it — speed is a feature.

Preview Deployments

Preview deploys let us exercise a change in an environment that mirrors production before it goes live. Feature flags and per-branch environments mean we can ship a new feature to a staging URL or a slice of users, gather feedback, and catch issues before a full rollout.

One-Command Rollback

Things still break. A reliable, one-command rollback to the last known-good version is what keeps an incident short. Automating the rollback path — and rehearsing it — turns a panic into a routine.

What to Automate First

With no platform team, automate the build and test path first. Getting every change through a consistent, automated build-and-test gate before merge eliminates the largest class of “works on my machine” failures. Once that’s solid, layer on preview deploys and rollback.

Bottom line: Trunk-based dev, a fast test gate, preview deploys, and one-command rollback give a small team most of the safety of a big platform org — start with build-and-test automation and grow from there.