-
Notifications
You must be signed in to change notification settings - Fork 0
Pipelines
Pipelines automate feature flag deployment across environments, ensuring controlled and repeatable rollout workflows.
Deployment pipelines define the promotion path for features from development through production. They enforce stage-based progression and integrate with approval workflows.

A pipeline consists of ordered stages, each mapped to one or more environments:
Development → Staging → Production
| Field | Description | Example |
|---|---|---|
| Pipeline Name | Unique identifier | "Standard Deployment" |
| Description | Pipeline purpose | "Dev → Staging → Prod workflow" |
| Stages | Ordered deployment stages | Development, Staging, Production |
| Environment Mapping | Which environments use each stage | Dev → dev, Staging → staging, Production → prod |
- Navigate to Pipelines → Create Pipeline
- Enter pipeline name and description
- Define stages in deployment order
- Map each stage to environment(s)
- Save the pipeline
Name: "Standard Release Pipeline"
Stages:
-
Development
- Environments:
dev,local - Purpose: Initial feature development and testing
- Environments:
-
Staging
- Environments:
staging,qa - Purpose: Pre-production validation and QA
- Environments:
-
Production
- Environments:
production - Purpose: Live user-facing deployment
- Environments:
- Create Feature in early pipeline stage
- Test and Validate in current environment
- Promote to next pipeline stage
- Submit for Approval (if policies configured)
- Deployment after approval
- Monitor feature performance
Manual Promotion:
- Navigate to feature details
- Click PROMOTE button
- Select target stage
- Submit for approval (if required)
- Changes deploy after approval
Automated Promotion:
- Configure auto-promotion rules
- Time-based progression
- Metric-based triggers (e.g., success rate thresholds)
Pending: Awaiting deployment or approval
Active: Currently deployed in this stage
Promoting: In progress to next stage
Failed: Deployment error occurred
Rolled Back: Reverted to previous version
Pipelines integrate with approval policies to enforce governance:
- Development: No approval required (fast iteration)
- Staging: Peer review (1 approval)
- Production: Strict control (2 approvals)
See Approval Policies for configuration details.
If issues arise, rollback to previous stage:
- Open feature in problematic stage
- Click ROLLBACK button
- Confirm rollback action
- Feature reverts to previous stage configuration
Configure automatic rollback based on:
- Time: Revert after X hours
- Metrics: Trigger rollback if error rate exceeds threshold
- Manual Trigger: Emergency kill switch activation
Mirror Production: Make staging environment as close to production as possible
Test Thoroughly: Validate features completely before promoting
Small Changes: Promote incremental changes to minimize risk
Monitor Metrics: Watch analytics during and after promotion
Plan Rollbacks: Have rollback strategy before production deployment
Use Approval Policies: Enforce reviews for production changes
Document Promotions: Add notes explaining why features are promoted