Deployment Pipeline
A DeploymentPipeline declares the promotion paths between Environments — which stage a release can advance to from which. It is an organization's delivery process expressed as data: declarative, reviewable, and the same for every team that binds to it. A Project references one pipeline, so a team inherits exactly the stages and paths you authored.
| Kind | DeploymentPipeline (short: deppipe) |
| API group | openchoreo.dev/v1alpha1 |
| Scope | Namespaced |
| Audience | Platform engineer |
| Wires | Environments into promotion paths |
| Bound by | Project (spec.deploymentPipelineRef) |
Key spec fields
| Field | Description |
|---|---|
spec.promotionPaths[] | The list of source-to-target rules |
spec.promotionPaths[].sourceEnvironmentRef.name | The environment a release promotes from |
spec.promotionPaths[].targetEnvironmentRefs[].name | The environments it may promote to (a list — a source can fan out) |
A release deployed to the first environment can only be promoted to a target the pipeline allows. There is no "deploy straight to production" path unless you wrote one — the pipeline is itself a guardrail.
Create in the portal
- Open Create… → Platform Resources → Deployment Pipeline.
- Name it (e.g.
default) and wire the promotion paths between the Environments you defined (e.g.development → staging → production). - Click Create. Bind a Project to it so its components inherit the path.
Prefer YAML/GitOps? See the Example below, or Environments and pipelines.
Example
A linear development → staging → production pipeline:
apiVersion: openchoreo.dev/v1alpha1
kind: DeploymentPipeline
metadata:
name: default
namespace: fedshi
spec:
promotionPaths:
- sourceEnvironmentRef:
name: development
targetEnvironmentRefs:
- name: staging
- sourceEnvironmentRef:
name: staging
targetEnvironmentRefs:
- name: production
Because targetEnvironmentRefs is a list, a single source can fan out to parallel branches
(e.g. qa and preproduction) that later converge on production.
See also
- Environments and pipelines (authoring guide) — parallel paths and promotion gates.
- Deploy and promote (developer view).
- Environment · Project
- Upstream field-level API reference.