Upgrade components with rollback
Big part here. We have to be able to rollback to the previous state.
Server
For the server I propose :
- install the server in a virtualenv
- backup the virtualenv and the database in a file
- deploy
- run a
django migrate
command - run a
django check
command - if not ok, restore and alert
Client
For the client: nothing ! So far I don't know if it exist a way to check that a front is ok. So we just deploy the version we have been asked to deploy.
@jbpasquier @balessan Would it be ok for you ?