DEV Community

Pankaj Sharma
Pankaj Sharma

Posted on

1 2

Deployment Pipeline Best Practices Summarized

Deployment pipeline as defined in the Continuous Delivery, is a process of converting commits into certified releasable artifact.

As a developer, who loves types, I would rephrase the definition for conciseness as

DeploymentPipeline :: List<Commit> -> Try<ReleaseableArtifact>

While working as a consultant, when it comes to deployment pipelines, I have seen same mistakes being repeated across teams. So it is worth reiterating the deployment pipelines guidelines as mentioned in the Continuous Delivery.

  • Build your binaries only once
  • Binaries should not be environment specific
  • Deploy same way to every environment
  • Smoke test your deployments
  • Deploy into copy of production
  • Each change should propagate through the pipeline instantly
  • If any part of the pipeline fails stop the pipeline

I highly recommend Continuous Delivery book that further elaborates on each of these points.

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post