Canary deployments don't allow deployment to production
Summary
If you set CANARY_ENABLED
in Auto DevOps, the canary
job is enabled. But there is no way to promote to production
because both the production
and production_manual
are disabled.
Steps to reproduce
Create a new project with Auto DevOps enabled, then run a pipeline with CANARY_ENABLED=1
.
Example Project
https://staging.gitlab.com/bikebilly/feature-assurance-11-0/pipelines/12590276
What is the current bug behavior?
There is no job to deploy to production
.
What is the expected correct behavior?
There is no job to deploy to production
(production_manual
).
Possible fixes
Add $CANARY_ENABLED
to only
for production_manual
.