Is there a way to rollback a recent deployment to a previous successful deployment on app platform

Posted December 10, 2020 802 views
DigitalOcean App Platform

This is a feature I used on Heroku & CapRover whereby in the event a deployment introduces an unexpected bug, we can immediately rollback the deployment to a previous bug-free version while a hotfix is being actioned & deployed.

Is this feature available with App Platform?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

This is really not acceptable.
In case of complex web apps such as angular
Build and Redeploy takes ~15 minutes
We cant potentially have production down because of revert.
Is there really no way of leveraging existing docker images?

Currently there is no rollback functionality in the App Platform. The only option would be forward-deployment (e.g. by reverting commits to your git repo and manually or auto-deploying those).

  • Ok, is there a plan to add support for this in the near future?

    It is a really great feature for apps deployed to production and adds a lot of value to a dev team :)

  • @jakelevirne

    Although my deployment doesn’t take 15 minutes, I tend to agree with @brankoilicc that rollback features of some platforms (not only Heroku but also for example Vercel) are neat:

    In Vercel this means a whole new build, however it’s still much more convenient than reverting a commit it Git.

    In Heroku it took me ~10 seconds to revert which is absolutely great using the command line tools.

    I would love if DigitalOcean implemented this feature in a future release.