Job Template Validation #
Creating a Sample Baseline and Canary Pipeline #
Now we will progress onto the last setup wherein we will be configuring the baseline and canary pipeline and have a look at the canary execution in the real-time. The baseline execution can be done manually or via pipeline.
Baseline Pipeline: We will create a standard production pipeline where the artifact is built and deployed in the development environment first. After receiving sign-off from the development team, the same artifact will be promoted and deployed to production using a rolling deployment strategy.
Canary Pipeline #
After the baseline pipeline execution, we will then trigger the canary pipeline for the production environment. The pipeline configuration will be tuned for the canary and a canary analysis template also needs to be added.
Pipeline Level Fine Tuning for Canary #
Canary Reports #
Pod Shift in Canary #
Validating Pod Versions from Deployment Analytics #
After the canary has been proceeded, users can use the deployment analytics screen to view and troubleshoot their applications running on the canary version.
Providing Exceptional Approval #
In BuildPiper, when the Canary Analysis job is marked as FAILED (for instance, due to the AND operator not being satisfied during metric analysis), the system does not perform an automated rollback. Instead, it enters a state of mandatory human intervention.
Analysis Failure
The Canary Analysis job finishes with a “Failed” status because the metrics did not meet the required thresholds.
Manual Review
The dev or application team now needs to review the metric data to determine if the failure is “genuine” (a real issue) or an “exception” (expected behaviour or a false positive).
Decision Point
- Exceptional Approval: If non-critical, ignores the failure and allows the pipeline to progress.
- Manual Rollback: If genuine, denies progress and reverts to the stable Baseline Version.
Canary Rollback Execution #
Canary Rollback in BuildPiper is a controlled rollback mechanism used during canary deployments to revert the application to the last stable version when the canary release is determined to be unhealthy.
Automated Validation: Canary analysis based on the configured canary analysis template.
Manual Validation: Performed by the development or operations team.
BuildPiper Documentation · Canary Analysis & Deployment
Last updated: May 2026



