CI/CD sounds like a developer topic, but the idea fits operations perfectly: every change goes through the same automatic checks and the same tested steps, so changes become routine instead of risky.
The terms
- CI – Continuous Integration: every change pushed to Git is automatically checked – linted, tested, validated – and merged often, in small pieces.
- CD – Continuous Delivery: every change that passes CI is ready to release with a button (often with an approval).
- CD – Continuous Deployment: every change that passes is released automatically, without a manual step.
Most infrastructure teams aim for continuous delivery: automated checks and deployment, with a human approval for production.
What a pipeline does
A pipeline is the ordered set of steps a change goes through:
Commit → Lint → Test → Build/package → Deploy to lab → Checks → Approve → Deploy to prod → Verify
For an ops team, “the change” might be:
| Change | CI checks | Delivery |
|---|---|---|
| PowerShell module | PSScriptAnalyzer, Pester tests | Publish to an internal repository |
| Ansible role | ansible-lint, --check against lab |
Run against lab, then prod with approval |
| Server config (GPO, IIS settings as code) | Syntax validation, diff | Apply in waves |
| Infrastructure (Terraform) | terraform validate, plan |
apply after plan review |
| Documentation/runbooks | Link checks | Publish to the wiki |
Why it reduces risk
- Small changes are easier to review, test and roll back than big-bang changes.
- The same steps every time – nobody forgets a step at 2 a.m.
- Fast feedback – a typo is caught in minutes on the pipeline, not in production.
- Audit trail for free – who changed what, who approved it, what ran, and the full log.
Tools
- Jenkins – the long-time standard, self-hosted, huge plugin ecosystem (see the Jenkins track).
- GitHub Actions – built into GitHub, YAML workflows (see your first workflow).
- Azure DevOps Pipelines, GitLab CI – similar ideas, different syntax.
The concepts transfer; learning one makes the others easy.
Where to start
- Put your scripts in Git (Git track).
- Add one automatic check on every pull request (e.g. syntax/lint).
- Add a pipeline that deploys to a lab.
- Add approval and production deployment.
- Add verification after deployment.
Each step adds value on its own – you don’t need the full picture on day one.
FAQ
Is DevOps a tool or a job? Neither, really – it’s a way of working where the people who build and run systems share responsibility, automate the repetitive work, and improve through fast feedback. CI/CD is one of its main practices.
What’s next
Next: GitHub Actions – your first workflow for PowerShell.
Practise this topic
Test yourself with free questions on this topic – instant answers and explanations.
Start practice questionsCI/CDDevOpsAutomationBeginner