Use variables to define deploy policy for canary
Note: This issue requires https://gitlab.com/gitlab-org/gitlab-ce/issues/37397.
The current Auto DevOps template already contains support for canary deployments, but this is disabled by default and if you want to enable it you need to make the template explicit. We should allow to define a group/project variable to define if you want to use canaries for production deployments.
Improve the Auto DevOps template in order to support canaries for deployments.
Required changes to the
- always defined (no trailing
.in the job name)
- enable only when