0Pricing
CI/CD with GitHub Actions & DevOps Pipelines · Lesson

Feature Flags and Progressive Rollouts

Decouple deployment from release using feature flags, then expose new functionality gradually and kill it instantly if something goes wrong.

Deploy vs Release

An important idea in advanced delivery: deploying code and releasing a feature are not the same thing.

Feature flags let you ship code to production but keep a feature switched off until you decide to turn it on, for some or all users.

What is a Feature Flag

A feature flag (or toggle) is a conditional in your code that checks a configuration value to decide whether a code path runs.

if (flags.isEnabled('new-checkout')) {
  renderNewCheckout();
} else {
  renderOldCheckout();
}

All lessons in this course

  1. Blue/Green Deployments
  2. Canary Releases with Actions
  3. Rollbacks and Disaster Recovery
  4. Feature Flags and Progressive Rollouts
← Back to CI/CD with GitHub Actions & DevOps Pipelines