How pipe-cd/pipecd works
PipeCD is a GitOps continuous-delivery platform: engineers or CI submit application changes and deployment operations, which PipeCD plans and runs through configured stages, then exposes deployment status and operational insights. It supports Kubernetes, Terraform, Cloud Run, Lambda, and ECS, plus deployment analysis, plan previews, notifications, and application management. The repository also contains a newer plugin-based piped implementation. Some internal connections below are documented capabilities rather than inspected call paths; those are marked dashed where source evidence is unavailable.
Main entry points: controller.go Piped runtime · executor Deployment stages · planner Pipeline planning · server.go Control-plane server
Components 18
Control plane
- Control-plane server
cmd/controlplane/server.go - API services
pkg/app/server/grpcapi - Application config
pkg/config/application.go - Plugin-era config
pkg/configv1/application.go
Deployment runtime
- Piped runtime
pkg/app/piped/controller/controller.go - Plugin runtime
pkg/app/pipedv1/controller/controller.go - Pipeline planning
pkg/app/piped/planner - Deployment stages
pkg/app/piped/executor
Platform integrations
- Deployment plugins
pkg/app/pipedv1/plugin - Platform providers
pkg/app/piped/platformprovider
Operations and insights
- Deployment analysis
pkg/app/piped/executor/analysis - Plan preview
pkg/app/piped/planpreview - Notifications
pkg/app/piped/notifier - Delivery insights
pkg/insight/application.go - Deployment state
pkg/app/piped/livestatestore
User interfaces
- pipectl commands
pkg/app/pipectl/cmd - Web console
web/src
Other components
- Engineer or CI
Connections 16
- Engineer or CI → pipectl commands: runs commands
- Engineer or CI → Web console: manages deployments
- pipectl commands → Control-plane server: requests operations
- Control-plane server → API services: configures APIs
cmd/controlplane/server.go - Engineer or CI → Application config: defines pipeline
- Engineer or CI → Plugin-era config: defines pipeline
- Application config → Pipeline planning: supplies stages
pkg/app/piped/planner/kubernetes/pipeline.go - Piped runtime → Pipeline planning: plans deployments
- Pipeline planning → Deployment stages: dispatches stages
- Plugin runtime → Deployment plugins: runs plugin stages
- Deployment stages → Platform providers: deploys applications
- Deployment stages → Deployment analysis: analyzes impact
- Engineer or CI → Plan preview: previews changes
- Piped runtime → Notifications: sends notifications
- Piped runtime → Deployment state: tracks live state
- Engineer or CI → Delivery insights: reviews delivery