Skip to main content

DevOps Essentials for Developer Syllabus

1. Header Information

FieldValue
Technical GroupDevOps
Topic NameBasic DevOps Essentials for Developer
Topic CodeBDE_04
Version1.0
Training AudienceFreshers / 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

NameCodeDescription
DockerOS1Understand containerization concepts and write production-ready Dockerfiles with security best practices.
CI/CDOS2Design and implement automated CI/CD pipelines using GitHub Actions and GitLab CI.
Code QualityOS3Configure SonarQube for continuous code quality analysis and integrate it into CI/CD workflows.
DeploymentOS4Apply deployment strategies (Blue-Green, Canary, GitOps) for reliable production releases.

Detailed Learning Outcomes (LOs)

  • Containerization with Docker

    • OS1 LO-1 — Explain the difference between containers and virtual machines and identify when to use each.
    • OS1 LO-2 — Use essential Docker commands for image and container management (build, run, stop, logs, exec).
    • OS1 LO-3 — Write optimized Dockerfiles with layer caching, dependency caching, and appropriate base images.
    • OS1 LO-4 — Implement multi-stage builds to reduce final image size and separate build/runtime concerns.
    • OS1 LO-5 — Apply Docker security best practices: non-root users, image scanning, secrets management, and capability dropping.
  • CI/CD Automation Pipelines

    • OS2 LO-6 — Explain CI/CD fundamentals: Continuous Integration, Continuous Delivery, and Continuous Deployment.
    • OS2 LO-7 — Create GitHub Actions workflows with triggers, jobs, steps, matrix builds, caching, and secrets.
    • OS2 LO-8 — Create GitLab CI pipelines with stages, services, artifacts, and environment-specific deployments.
    • OS2 LO-9 — Design automated test pipelines following the test pyramid (unit, integration, E2E).
  • Deployment Strategies

    • OS4 LO-10 — Implement Blue-Green deployment with zero-downtime switching and health checks.
    • OS4 LO-11 — Implement Canary deployment with gradual rollout and metric-based promotion.
    • OS4 LO-12 — Set up GitOps workflows using Git as the single source of truth for infrastructure state.
  • Continuous Code Quality with SonarQube

    • OS3 LO-13 — Describe SonarQube architecture and its role as an AI-native code verification platform.
    • OS3 LO-14 — Configure SonarQube quality gates and understand core metrics (Bugs, Vulnerabilities, Code Smells, Coverage).
    • OS3 LO-15 — Integrate SonarQube scanning into GitHub Actions and GitLab CI pipelines.
    • OS3 LO-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 TypePercentageDescription
Concept/Lecture35%Concepts, theory (Docker, CI/CD, SonarQube architecture)
Assignment/Lab40%Hands-on Labs (Dockerfile writing, pipeline setup, scans)
Guides/Review15%Code reviews, pipeline reviews, Q&A sessions
Test/Quiz/Exam10%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

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

ComponentQuantityWeight (%)Note
Quiz320%Daily quizzes after each unit
Assignments230%Lab exercises (Dockerfile optimization, Pipeline setup)
Final Project150%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

RoleResponsibility/Criteria
TraineesCompletion of Python basics and basic Linux CLI. Active participation in labs.
TrainerSenior DevOps Engineer / Tech Lead with Docker and CI/CD experience.
TrainingDaily theory sessions followed by practical hands-on labs.
Re-TestAllowed once for the Final Project if GPA < 70 but >= 50.
MarkingPipeline functionality, Dockerfile quality, and understanding of concepts.