๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout Register Now โ†’
Menu

Categories

DevOps Beginner

What is Pipeline as Code?

Defining CI/CD pipeline configurations as version-controlled code files rather than through UI-based pipeline builders.

Pipeline as Code stores build, test, and deployment pipeline definitions in the same repository as application code. Examples include Jenkinsfile (Jenkins), .github/workflows/*.yml (GitHub Actions), .gitlab-ci.yml (GitLab), and azure-pipelines.yml (Azure DevOps). Benefits include version history of pipeline changes, code review for pipeline modifications, branch-specific pipeline variations, and reproducibility. Pipelines typically define stages (build, test, deploy), steps within stages, environment variables, triggers (push, PR, schedule), and conditions. Treating pipelines as code enables the same engineering practices (review, testing, rollback) applied to application development.

Related Terms

Container Registry
A storage and distribution service for container images, similar to a package repository but for Docker images.
Runbook
A documented set of standardized procedures for handling routine operations and incident response in production systems.
Grafana
An open-source analytics and visualization platform for creating dashboards from various data sources.
Semantic Versioning
A versioning scheme using MAJOR.MINOR.PATCH numbers that communicates the nature of changes in each release.
Health Check
An endpoint or mechanism that reports whether an application is running correctly and ready to handle requests.
Service Discovery
A mechanism that automatically detects and tracks the network locations of service instances in distributed systems.
View All DevOps Terms โ†’