Canary deployments

Canary deployments deploy only a percentage of your new code to servers. They allow for testing new code on only a subset of users. The heavy lifting for these deployments is done by your code doing the deployment automation, from the deliverybot standpoint we can make a deployment with parameters describing the percentage of traffic we would like to shift over.

# .github/deploy.yml
canary:
  environment: production
  description: Deploy to production with %15 traffic.
  payload:
    traffic: 15
production:
  environment: production

In this case we use the payload parameter to allow specifying custom variables that can be used in our deployment actions. This allows us to specify high level parameters and push them throughout the deployment pipeline.

Compatible integrations

Follow the guides in these integrations below for implementing canary deployments.

Next

Deployment analytics »

Need help? support@deliverybot.dev
Or chat with the community on Spectrum