In our LITE docker setup (
https://github.com/Linaro/lite-lava-docker-compose), when I upgrade I would typically run 'make clean' that does the following:
docker-compose rm -vsf
docker volume rm -f lava-server-pgdata lava-server-joboutput lava-server-devices lava-server-health-checks
before doing a rebase to the latest, which would point to the latest LAVA via a couple of lines in the '.env' file:
DC_SERVER_IMAGE=lavasoftware/lava-server:2020.05
DC_DISPATCHER_IMAGE=lavasoftware/lava-dispatcher:2020.05
Then I would run 'docker-compose build; docker-compose up' again. The procedure works, except for the fact that I'd lose the user settings and the existing test results in the process. Are you saying I can omit the steps in 'make clean' altogether? I had thought it was necessary to remove the containers and rebuild them for an upgrade to start from a clean slate.
Thanks,
Vincent