Software Development Lifecycle
Every piece of software goes through the same stages. DevOps turns them from a one-way line into a fast loop.
On this page · 5 min · Beginner
On this page
- Learning objectives
- Explanation
- Code example
- Step by step
- Real-world use
- Common mistakes
- Best practices
- Remember this
- Practice exercise
- Mini quiz
- Related topics
- My notes
- Reading time
- 5 min
- Difficulty
- Beginner
- Updated
- Oct 29, 2026
Related tutorials
Learning objectives#
- Name the SDLC stages
- Compare waterfall and agile
- Map DevOps tools to each stage
- Understand shift-left testing
Explanation#
Stages: plan → code → build → test → release → deploy → operate → monitor, then back to plan.
Waterfall does each stage once for the whole project. Agile works in short iterations. DevOps automates the loop so each small change flows through all stages quickly.
“Shift left” means testing and security checks happen earlier, in the developer’s pull request rather than after release.
Code example: Tools at each stage#
Plan GitHub Issues / Azure Boards / Jira
Code Git, VS Code, pull requests
Build dotnet build, npm run build, Docker
Test xUnit, Jest, Playwright (in CI)
Release Versioned artifacts and images (semver, Git tags)
Deploy GitHub Actions, Azure Pipelines, Kubernetes
Operate Azure App Service, AWS ECS, Kubernetes
Monitor Application Insights, CloudWatch, Grafana
Each stage has a tool that can be automated and connected to the next.
This example is illustrative. Copy or download it and run it in your own environment; the expected output is shown above.
Step-by-step explanation#
- Issues capture planned work.
- Pull requests carry code changes with review.
- CI builds and tests automatically.
- CD and monitoring close the loop.
Real-world use case#
A college project team uses GitHub Issues, pull requests and Actions to run a mini DevOps lifecycle.
Common mistakes#
Bugs found late are expensive. Run tests on every pull request.
Without it, users find problems before you do.
Best practices#
- Short iterations
- Automate each hand-off
- Shift testing and security left
- Feed production data back into planning
Remember this#
Plan → code → build → test → release → deploy → operate → monitor.
DevOps = the loop, automated.
Shift left = check earlier.
Practice exercise#
Your task: Put these in order: deploy, test, code, monitor, build.
Show solution
code → build → test → deploy → monitor
Mini quiz#
What does “shift left” mean?
Want more? Practise all DevOps MCQs · DevOps interview questions
My notes#
Saved in this browser.