DevOps Essentials for Developer Syllabus
1. Header Information
| Field | Value |
|---|---|
| Technical Group | DevOps |
| Topic Name | Basic DevOps Essentials for Developer |
| Topic Code | BDE_04 |
| Version | 1.0 |
| Training Audience | Freshers / Interns with basic programming knowledge (Python) and Linux CLI |
2. Course Objectives
This topic introduces essential DevOps practices for developers, covering containerization with Docker, CI/CD automation pipelines, and continuous code quality with SonarQube. Trainees will learn how to containerize applications, automate build/test/deploy workflows, and integrate code quality gates into their development process.
[!NOTE] This topic equips trainees with practical DevOps skills needed to ship reliable, production-ready applications — from writing optimized Dockerfiles to setting up CI/CD pipelines and enforcing code quality standards.
Output Standards Table
| Name | Code | Description |
|---|---|---|
| Docker | OS1 | Understand containerization concepts and write production-ready Dockerfiles with security best practices. |
| CI/CD | OS2 | Design and implement automated CI/CD pipelines using GitHub Actions and GitLab CI. |
| Code Quality | OS3 | Configure SonarQube for continuous code quality analysis and integrate it into CI/CD workflows. |
| Deployment | OS4 | Apply deployment strategies (Blue-Green, Canary, GitOps) for reliable production releases. |
Detailed Learning Outcomes (LOs)
-
Containerization with Docker
OS1LO-1— Explain the difference between containers and virtual machines and identify when to use each.OS1LO-2— Use essential Docker commands for image and container management (build, run, stop, logs, exec).OS1LO-3— Write optimized Dockerfiles with layer caching, dependency caching, and appropriate base images.OS1LO-4— Implement multi-stage builds to reduce final image size and separate build/runtime concerns.OS1LO-5— Apply Docker security best practices: non-root users, image scanning, secrets management, and capability dropping.
-
CI/CD Automation Pipelines
OS2LO-6— Explain CI/CD fundamentals: Continuous Integration, Continuous Delivery, and Continuous Deployment.OS2LO-7— Create GitHub Actions workflows with triggers, jobs, steps, matrix builds, caching, and secrets.OS2LO-8— Create GitLab CI pipelines with stages, services, artifacts, and environment-specific deployments.OS2LO-9— Design automated test pipelines following the test pyramid (unit, integration, E2E).
-
Deployment Strategies
OS4LO-10— Implement Blue-Green deployment with zero-downtime switching and health checks.OS4LO-11— Implement Canary deployment with gradual rollout and metric-based promotion.OS4LO-12— Set up GitOps workflows using Git as the single source of truth for infrastructure state.
-
Continuous Code Quality with SonarQube
OS3LO-13— Describe SonarQube architecture and its role as an AI-native code verification platform.OS3LO-14— Configure SonarQube quality gates and understand core metrics (Bugs, Vulnerabilities, Code Smells, Coverage).OS3LO-15— Integrate SonarQube scanning into GitHub Actions and GitLab CI pipelines.OS3LO-16— Apply the "Clean as You Code" methodology to enforce quality on new code without blocking legacy issues.
3. Topic Outline
- Unit 01: Containerization with Docker (Basics, Dockerfile Best Practices, Multi-stage Builds, Security)
- Unit 02: CI/CD Automation Pipelines (GitHub Actions, GitLab CI, Automated Testing, Deployment Strategies)
- Unit 03: Continuous Code Quality with SonarQube (Setup, Metrics, CI Integration, Python Analysis)
4. Time Allocation
| Activity Type | Percentage | Description |
|---|---|---|
| Concept/Lecture | 35% | Concepts, theory (Docker, CI/CD, SonarQube architecture) |
| Assignment/Lab | 40% | Hands-on Labs (Dockerfile writing, pipeline setup, scans) |
| Guides/Review | 15% | Code reviews, pipeline reviews, Q&A sessions |
| Test/Quiz/Exam | 10% | Daily Quizzes, Final Project |
5. Training Materials & Environments
Textbooks & Guides
- Internal Knowledge Base:
- Containerization with Docker
- CI/CD and Deployment
- Continuous Code Quality with SonarQube
References
- Docker Documentation
- Dockerfile Best Practices
- Multi-stage Builds
- Docker Security Best Practices
- GitHub Actions Documentation
- GitLab CI/CD Documentation
- SonarQube Documentation
- Trivy Container Scanner
- Clean as You Code
Technical Requirements
- Docker Desktop or Docker Engine
- GitHub account (for GitHub Actions) or GitLab account (for GitLab CI)
- Python 3.11+
- VS Code with Docker and SonarLint extensions
- SonarQube (local Docker instance or hosted)
6. Assessment Scheme
| Component | Quantity | Weight (%) | Note |
|---|---|---|---|
| Quiz | 3 | 20% | Daily quizzes after each unit |
| Assignments | 2 | 30% | Lab exercises (Dockerfile optimization, Pipeline setup) |
| Final Project | 1 | 50% | Build a complete CI/CD pipeline with Docker + SonarQube |
Pass Criteria
- Total topic GPA >= 70/100
- Completed 100% of Quizzes and Assignments
- Successful demo of the Final Project (working CI/CD pipeline with quality gates)
7. Training Delivery Principles
| Role | Responsibility/Criteria |
|---|---|
| Trainees | Completion of Python basics and basic Linux CLI. Active participation in labs. |
| Trainer | Senior DevOps Engineer / Tech Lead with Docker and CI/CD experience. |
| Training | Daily theory sessions followed by practical hands-on labs. |
| Re-Test | Allowed once for the Final Project if GPA < 70 but >= 50. |
| Marking | Pipeline functionality, Dockerfile quality, and understanding of concepts. |