Hi! Is there an easy way to rollback a deployment to its previous version? I usually update the deployment and then build a new docker image, but want to rollback the deployment if the docker build or update fails.
✅ 1
a
Anna Geller
01/19/2023, 1:31 PM
the best solution would be to revert your commit which would retrigger the CI/CD pipeline - do you have one?
a
Andreas Nord
01/19/2023, 1:35 PM
No I have not felt the need as the only DE/DS. So I cannot retreive previous versions from Prefect Cloud?
a
Anna Geller
01/19/2023, 1:36 PM
no, there is no deployment rollback, do you have version control system?
reverting the commit and rebuilding the deployment is currently the standard way to handle it, if you wish to see a different behavior, feel free to open a feature request on GitHub and we can direct this to the product team
a
Andreas Nord
01/19/2023, 1:38 PM
Yes I use git but without CI/CD the deployment is not necessarily what is on master.
I guess setting up a CI/CD that deploys master when it's updated
would not be so difficult though.
💯 1
a
Anna Geller
01/19/2023, 1:42 PM
exactly, we have some resources to help with that, on which platform are you? AWS, GCP, Azure?