Ask HN: Would you know a “Python idempotent incremental update manager”?
https://news.ycombinator.com/item?id=35210869I maintain a fleet of edge devices, including their embedded software written in python. There is a release every two weeks or so, which usually consists on pulling a new set of docker images.
My current pain comes from the fact that, sometimes, I have to update the docker-compose.yml on the unit, or add a library, or change something outside of the unit.
I am currently writing a (python) script and a documented process for every update, which is gently becoming a pain in the xxx for the units which are not available so often, and for which I have a few updates late.
I would love to have this pile of scripts ran through automatically with a higher level command, and create the skeleton of a new migration script on demand.
Hence the question: how do you manage such remote incremental update manager ? I am looking for something as simple as alembic, but obviously to run scripts not DB migrations.