CI/CD and DevSecOps
Source control, pipelines that build and test every change, safe release strategies and security checks built into delivery.
Work through the sections in order. Each how-to page has the steps and commands; open it in its guide to tick off steps and save your progress on this device.
1. Getting started
What DevOps is, and a workstation that's ready in a minute. (DevOps guide)
- What a DevOps engineer actually does10 minutes, Look only
- Use Cloud Shell as your DevOps workstation10 minutes, Free tier
2. Git and GitHub
Version control: every change recorded, reviewed and reversible. (DevOps guide)
- Commit, branch and merge with Git20 minutes, Free
- Protect main and work through pull requests20 minutes, Free
- Keep secrets out of Git15 minutes, Free
3. Pipelines with GitHub Actions
Build, test and deploy on every push, with no passwords stored. (DevOps guide)
- Write your first workflow20 minutes, Free
- Sign in to Azure from a workflow with OpenID Connect30 minutes, Free
- Add environments and approvals20 minutes, Free
4. CI/CD in depth
Pipelines from the first commit to production: design, matrices, caching, versions and artifacts, shared workflows, test stages, container publishing, supply-chain proof, secrets, Azure Pipelines templates and deployments that roll back by themselves. Free on GitHub. (DevOps guide)
- Design a pipeline that fails fast30 minutes, Free
- Test on several versions with a matrix20 minutes, Free
- Speed up a pipeline with caching20 minutes, Free
- Version a build and pass it between jobs30 minutes, Free
- Share pipelines with reusable workflows30 minutes, Free
- Run integration tests against a real database30 minutes, Free
- Build and publish a container image with clear tags30 minutes, Free
- Prove what you built with an SBOM and provenance30 minutes, Free
- Keep secrets safe in a pipeline25 minutes, Free
- Reuse Azure Pipelines YAML with templates30 minutes, Free tier
- Deploy to Kubernetes and roll back on failure40 minutes, Free
- Final project: from commit to production with gates and rollback2 to 3 hours, Free
5. Release strategies
Ship without downtime, test on a slice of traffic, and switch features on separately. (DevOps guide)
- Run a container on Azure Container Apps15 minutes, Costs money
- Canary releases with revisions and traffic splits20 minutes, Costs money
- Blue-green releases with deployment slots20 minutes, Costs money
- Feature flags with App Configuration15 minutes, Free tier
6. DevSecOps
Security rules as code, checked automatically on every change. (DevOps guide)
- Write Azure Policy as code20 minutes, Free
- Scan dependencies and images in the pipeline20 minutes, Free
Explained
How things work, including services that cost too much to practise on a free account.
- DORA metricsFour numbers that show whether a team delivers quickly and safely.
- Branching strategiesTrunk-based development, GitHub flow and GitFlow, and when each fits.
- Azure DevOpsMicrosoft's other DevOps platform: Boards, Repos, Pipelines, Test Plans and Artifacts.
- CI/CD roadmap: what to learn, in what orderThe skills behind solid pipelines, from the first workflow to deployments that roll back by themselves, and where each is covered in this guide.
- Pipeline design: fast feedback, clear stagesHow to arrange jobs and stages so a pipeline answers quickly, fails clearly and costs little.
- GitHub Actions in depthTriggers, runners, contexts, permissions, matrices, caching, reusable workflows and OIDC: the parts you use once past the first workflow.
- Versions and artifacts: know exactly what you shippedSemantic versions, tags, artifacts, registries and digests, and why you build once and promote the same file.
- Test stages: what to test, and where in the pipelineUnit, integration, end-to-end, performance and security tests, how many of each, and which stage runs them.
- Software supply chain: SBOMs, signing and provenanceHow attackers get in through dependencies and pipelines, and the records and checks that keep a build trustworthy.
- Secrets in pipelines: where they leak and how to stop itThe common ways pipeline credentials escape, and the order of fixes: no secret, a short-lived one, a scoped one.
- Azure Pipelines YAML templatesStep, job, stage and extends templates, parameters, and how platform teams use them to set standards.
- Release strategies: rolling, blue-green, canary and feature flagsWays to put a new version in front of users with less risk, how each one rolls back, and what each costs.