billmania / roboquest_core

The backend functionality for the RoboQuest project
1 stars 0 forks source link

Remove old rq_core and rq_ui images at boot #63

Closed billmania closed 1 year ago

billmania commented 1 year ago

updater v12

The program which keeps the RoboQuest application software running and effects the updates of that software is named "updater.py". Once each time the robot is powered, updater.py will remove any old versions of the application software. This is a maintenance task, to prevent the robot from consuming all of its available space.

Tested by creating an new version of a docker image, verifying it with docker image ls, and then starting updater.py. Once the robot was fully functional, used *docker image ls** again to verify there weren't any untagged docker images.

If anything goes awry with this cleanup task, entries will be added to /opt/updater/updater.log. The previous version of updater.py is at /usr/local/bin/updater.py.old, on the RaspPi host OS filesystem.

https://github.com/billmania/roboquest_core/issues/52