CI/CD Lesson 2 – Software Development Lifecycle | Dataplexa
Section I · Lesson 2

The Software Development Lifecycle

In this lesson

SDLC Phases Waterfall vs Agile Where CI/CD Fits Feedback Loops DevOps Culture

The Software Development Lifecycle (SDLC) is the structured process a team follows to plan, create, test, and deliver software. It defines every stage a feature goes through — from the moment someone writes a requirements document to the moment a user clicks a button in production. The SDLC exists because software development without structure produces inconsistent, unreliable results; it gives teams a repeatable framework so that quality is built in, not bolted on at the end.

The Six Phases of the SDLC

Every SDLC model — no matter how it is labelled — moves through the same six fundamental stages. The difference between models is how long each stage takes, whether stages overlap, and how many times the cycle repeats.

The Six SDLC Phases at a Glance

1 · Planning
Define what to build. Scope, budget, timelines, and risk assessment. Output: a project plan or product roadmap.
2 · Requirements
Gather and document exactly what the software must do. Business analysts and engineers translate user needs into specifications.
3 · Design
Architect the system. Database schemas, API contracts, infrastructure topology, UI wireframes. Output: technical design documents.
4 · Implementation
Developers write, review, and commit code. This is where CI/CD has the most direct impact — every commit triggers automation.
5 · Testing
Verify the software behaves correctly. Unit tests, integration tests, performance tests, security scans. CI automates this entirely.
6 · Deployment & Maintenance
Release to users, monitor in production, patch bugs, and begin planning the next iteration. CD automates the release path.

Waterfall: One Big Loop

The Waterfall model treats the SDLC as a single, linear sequence. Each phase completes fully before the next begins. Planning finishes, then requirements are locked, then design is completed, then development starts — and so on. The entire product ships in one large release at the end.

This sounds logical — and for certain categories of work (construction, hardware manufacturing) it is. But for software, it creates a dangerous problem: feedback arrives too late. A requirement written six months ago may no longer reflect what the business actually needs. Bugs discovered only in the final testing phase cost far more to fix than bugs caught the same day they were introduced.

The Blueprint Analogy

Waterfall treats software like a building: draft the blueprints first, then construct every floor, then inspect. But unlike buildings, software requirements change while you are building. Agile acknowledges this — it is less like constructing a skyscraper and more like sculpting: you reveal the shape gradually, adjusting with every pass.

Agile: Many Small Loops

The Agile model runs the SDLC in short cycles called sprints — typically one to two weeks long. Each sprint delivers a working, tested slice of the product. Stakeholders see the result, give feedback, and the team adjusts before building the next slice.

This fundamentally changes the risk profile of software delivery. Instead of one enormous high-stakes release, you have many small low-stakes releases. Each one carries a fraction of the risk. Bugs surface after days, not months. Misunderstood requirements surface after one sprint, not after a full year of work.

A Two-Week Sprint: Day by Day

Day 1
Sprint Planning. Team selects user stories from the backlog, estimates effort, and commits to what they'll deliver in 10 days.
Days 2–9
Build and test. Developers write code, push commits, and the CI pipeline runs automatically on every push — catching problems immediately.
Day 10
Sprint Review. The working increment is demonstrated to stakeholders. Real feedback is collected — not assumptions about what they wanted.
Day 10+
Retrospective and reset. Team reflects on what went well and what to improve. The next sprint begins immediately.

Where CI/CD Plugs Into the SDLC

CI/CD does not replace the SDLC — it automates the most repetitive and error-prone parts of it. Specifically, it targets the transition points between phases, because those transitions are where things historically go wrong: code that passed local testing failing in the shared environment, a deployment that works in staging but breaks in production.

As covered in Lesson 1, the CI part takes over the moment a developer pushes code — building it, running tests, and reporting results. The CD part takes over after that — packaging the artifact, promoting it through environments, and either deploying automatically or waiting for a manual approval gate. Together they close the gap between code written and code in front of users.

SDLC Phases → CI/CD Automation Layer

📋
Plan
Human
✏️
Code
Human
🔨
Build
CI Automated
🧪
Test
CI Automated
📦
Package
CD Automated
🚀
Deploy
CD Automated

Green = Continuous Integration scope  ·  Yellow = Continuous Delivery/Deployment scope

The Feedback Loop: Why It Changes Everything

The single most important concept in the SDLC is the feedback loop — the time between when an action is taken and when its consequences are known. In a Waterfall project, the feedback loop for a bug can be six months. In an Agile project with CI/CD, that feedback loop collapses to minutes.

This is not a marginal improvement. Research by DORA (DevOps Research and Assessment) consistently shows that the length of the feedback loop is the single strongest predictor of both software delivery performance and organisational stability. The numbers are striking:

46 min

Median lead time for changes in elite teams — from commit to production

< 1 hr

Mean time to restore service after an incident, for elite-performing teams

182×

More frequent deployments by elite teams vs low performers (2023 DORA report)

0.5%

Change failure rate for elite teams — versus 46% for low performers

The SDLC and DevOps Culture

The SDLC in a traditional organisation is divided by department: business analysts own Planning and Requirements, developers own Implementation, a separate QA team owns Testing, and an operations team owns Deployment. Each handoff is slow, has potential for miscommunication, and creates a culture where people optimise for their own phase rather than the outcome of the whole cycle.

DevOps is the cultural and organisational movement that breaks down these walls. It says that the people who build software should also be responsible for running it in production, monitoring it, and being paged when it breaks. This shared ownership is what makes CI/CD practices stick — when developers can see their code in production within the hour, and when they are responsible for incidents that code causes, the incentive to write well-tested, small, safe changes becomes very personal.

Warning: Agile Without CI/CD Is Not Agile

Teams that run two-week sprints but rely on a manual deployment process that takes one to three days are not actually delivering frequently — they are just planning frequently. The speed benefit of Agile only materialises when the deployment pipeline is as fast as the development cycle. CI/CD is not optional infrastructure for Agile teams; it is the mechanism that makes the feedback loop real.

Key Takeaways from This Lesson

SDLC has six phases — Planning, Requirements, Design, Implementation, Testing, and Deployment — and every software project moves through all of them, regardless of model.
Waterfall runs the SDLC once — phases are sequential, the release is singular, and feedback is slow. Suitable for fixed, well-understood requirements.
Agile runs the SDLC in short sprints — each iteration delivers working software and real feedback, dramatically reducing the cost of course-correction.
CI/CD automates the Implementation → Deploy transition — eliminating manual handoffs between phases and collapsing the feedback loop from months to minutes.
The feedback loop is the key metric — the shorter the time between writing code and knowing its consequences, the higher the quality and stability of the software.
DORA metrics quantify delivery performance — elite teams deploy 182× more frequently and have a change failure rate of under 1%, demonstrating that speed and stability are not in conflict.
DevOps bridges the SDLC silos — when developers own operations, they have a direct incentive to make the deployment pipeline fast, reliable, and safe.
Agile without automated deployment is incomplete — the speed of the sprint is limited by the speed of the delivery pipeline, so CI/CD is a prerequisite for genuine Agile delivery.

Teacher's Note

When someone asks why their team "does Agile but it doesn't feel fast," the answer is almost always that deployment is still manual. Fix the pipeline first — the sprint cadence is just paperwork until the release mechanism catches up.

Practice Questions

Answer in your own words — then check against the expected answer.

1. What is the term for the time between when a developer pushes code and when they learn whether it caused a problem?



2. Which SDLC phase is most directly impacted by Continuous Integration, because CI automatically triggers on every code commit made during this phase?



3. In Agile, what is the name for a short, fixed-length development cycle — typically one to two weeks — that ends with a working software increment?



Lesson Quiz

1. What is the primary reason CI/CD improves Agile software delivery?


2. Which statement best describes the Waterfall model?


3. What term describes the cultural movement that breaks down the silos between development, QA, and operations teams — creating shared ownership of the entire software lifecycle?


Up Next · Lesson 3

Problems with Traditional Deployment

Discover why the old way of shipping software was slow, fragile, and terrifying — and exactly what CI/CD was built to fix.