CI/CD

DevOps, SRE, and the Delivery Feedback Loop

Connect a small versioned change to automated evidence, a controlled release, production reliability, and the next improvement decision.

Beginner13 min read
CI/CD lessonDelivery and reliability foundationsLearn

Connect a small versioned change to automated evidence, a controlled release, production reliability, and the next improvement decision.

What you will be able to do

  • Distinguish DevOps principles from the concrete reliability practices associated with SRE.
  • Trace a small versioned change through automated checks, a release decision, and a running service.
  • Identify the evidence needed at each delivery boundary before work advances or rolls back.
  • Use production telemetry and a reliability target to choose the next improvement safely.

01

Treat Delivery as One System

Software delivery is a system that begins before code is written and continues after a release reaches users. Product decisions, source changes, automated checks, deployment controls, service operation, and user feedback all influence the same outcome.

A local optimization can make one team look fast while the whole path remains slow or unsafe. Developers may finish code quickly, yet a manual handoff can wait for days. Operations may keep a service stable, yet receive changes with too little context to diagnose them.

DevOps addresses this fragmented path through collaboration, automation, shared evidence, and responsibility across the service lifecycle. The goal is not to install a particular tool. The goal is to improve how a useful change moves, proves itself, and teaches the team what to do next.

02

Relate DevOps and SRE

DevOps is a broad approach to reducing barriers between product development, operations, security, and other participants in delivery. It favors shared ownership, small changes, automation, and feedback instead of a one-way handoff from builders to operators.

Site Reliability Engineering, or SRE, applies software engineering practices to operating services reliably. It turns broad goals into concrete mechanisms such as service objectives, error budgets, automation, monitoring, incident response, and work that removes recurring manual effort.

The two ideas overlap without being identical job titles. A team can adopt DevOps principles without creating an SRE role. An SRE team still needs collaboration with product teams because reliability decisions depend on both user needs and production evidence.

03

Start with a Small Versioned Change

A delivery loop begins with one bounded change whose purpose and owner are clear. Small changes reduce the number of assumptions examined at once and make review, testing, diagnosis, and reversal more focused.

Store application code, tests, delivery definitions, and relevant configuration in version control. The repository then identifies the exact revision under review and connects later evidence to the change that produced it.

Version control is not proof that a change is safe. It provides identity and history. Review and automated checks add evidence, while branch protection or another approved control decides whether the change may advance.

04

Use the Pipeline for Fast Evidence

Continuous integration shortens feedback by integrating small changes frequently and automatically building and testing them. A failed check should stop advancement and return a specific result to the people who can correct the change.

A CI workflow is an automated process triggered by a repository event or another approved signal. It contains jobs, jobs execute on runners, and each job performs ordered steps. Those parts describe execution; they do not replace the quality of the commands and tests inside them.

Keep the build reproducible and the result visible. If the same revision produces different packages on unexplained runner states, later failures become difficult to attribute. A successful run should identify the revision, checks, environment, and artifact that passed.

05

Separate Artifact, Release, and Deployment

A build artifact is the versioned output that passed the defined pipeline, such as a package or container image. Promote the same identified artifact between environments instead of rebuilding unrelated outputs for test and production.

Continuous delivery keeps a change in a deployable state and allows an authorized release on demand. Continuous deployment goes further by releasing each qualifying change automatically. Neither model removes the need for controls that match the service risk.

An approval is a decision boundary, not evidence by itself. The decision should use test results, artifact identity, environment readiness, change scope, and a recovery path. A low-risk service may automate more decisions, while a sensitive service may require a deliberate human gate.

06

Include Production in the Loop

Deployment completion does not prove that users received the intended outcome. The service must start, accept real traffic, preserve required data, and behave within its reliability boundary. Production verification connects the released artifact to those observable results.

Compare post-release evidence with a known baseline and the expected change. A health check can show that a process responds, but user-facing latency, errors, and successful work may reveal a different result.

Define what would trigger a pause, rollback, or forward correction before the release. Recovery becomes safer when the team knows which artifact is running, which evidence crossed the boundary, and which action protects users if the result is unacceptable.

07

Close the Feedback Loop

Telemetry describes activity inside and around the running service. Metrics summarize measurements, logs record events, and traces connect work across a request path. The first lesson does not require every signal; it requires evidence that answers the current delivery question.

A reliability target gives that evidence a decision context. It identifies an acceptable user-facing outcome, such as successful requests within a latency boundary. Teams can then compare a release result with the target instead of arguing from an isolated dashboard value.

Feedback closes the loop only when it changes future work. A regression may trigger rollback and correction, while stable results may permit wider rollout. Repeated manual recovery may create an automation task linked to the evidence that justified it.

08

Map One Delivery Path

Consider a support portal that needs a clearer ticket-status label. The team defines the user outcome, changes one versioned file, adds a focused test, and lets the repository event trigger the CI workflow.

The workflow builds the identified revision, runs the tests, and produces one artifact. A failed test returns the change for correction. A successful result can advance to a controlled environment where the label and existing ticket actions are verified together.

The approved artifact reaches a limited production rollout, and the team checks successful ticket updates, error rate, and latency against the baseline and reliability target. If the evidence remains acceptable, the rollout expands. If it does not, the team uses the prepared recovery path and records the next corrective decision.

09

Recap Before Practice and Prove

DevOps treats software delivery and operation as one shared system. Collaboration, automation, and evidence reduce fragile handoffs, while SRE supplies concrete reliability practices for running services.

A small versioned change provides a stable identity and focused scope. Review and automated checks add evidence; the repository alone does not prove safety.

A CI workflow turns a trigger into jobs and steps on runners. Its useful output connects one revision to repeatable checks and an identified artifact.

An artifact, release decision, deployment, and production result are separate boundaries. Each boundary needs relevant evidence and a recovery path proportionate to risk.

Telemetry and a reliability target connect service behavior to the next decision. A feedback loop is complete only when observed results guide rollout, recovery, or the next improvement.

NEXT STEP

Turn reading into recall

Practice the concepts without a timer, with coaching and retry available after every answer.

Open guided practice