[Product Update] Instant rollback via the CCI web app

From the “Project Overview” page, you can now set up a rollback pipeline that lets you quickly revert to a previous deployment version when invoked.

Benefits

When you need to perform a rollback quickly, a separate rollback pipeline lets you create a separate CircleCI YML configuration file with your rollback script/logic so that you can avoid potentially lengthy CI steps (ie. tests/lint/etc) when trying to get back into a good state.

Quickstart

Setup is simple and takes less than 5 minutes:

  1. Annotate your YML configuration file with “deploy markers” to tell CircleCI when a deployment occurs (applicable to any deployment target, not just Kubernetes): Configure deploy markers - CircleCI
  2. In the CircleCI web app > select the relevant CircleCI Project > Overview > Rollback > follow the wizard to create a YML file with your custom rollback script. Merge the PR
  3. Next time you need to rollback, click “Rollback by running rollback-pipeline” from the Project Overview page and select your target version to rollback to in the CircleCI web app

Detailed documentation here, comment below with any questions/comments or email sebastian@circleci.com.

rollback

That’s a really useful feature. It makes things much easier when you need to go back to an earlier version. The best part is you can have a separate rollback file, so you don’t have to wait for all the long build steps like testing and checking code every time. It only takes a few minutes to set up, and after that you can just click “Rollback” on the Project Overview page when you need it. It’s a simple way to save a lot of time when things go wrong.

1 Like