News for hackers. Stuff that matters.
Re:Ask HN: Would you know a “Python idempotent incremental u... by Someone on Saturday March 18, 2023 @02:26PM (#35211741)
You wrote “sometimes, I have to update the docker-compose.yml on the unit, or add a library, or change something outside of the unit.”

and “I am looking for something as simple as alembic, but obviously to run scripts not DB migrations.”

I don’t see how having to run scripts follows from the first. Can’t you put the stuff that lives outside docker images in a git repo and pull changes from that?

Initial install would be a git clone and updates a git pull (maybe with a reboot to make sure nothing is running that’s using outdated stuff)

Re:Ask HN: Would you know a “Python idempotent incremental u... by ebreton on Sunday March 19, 2023 @10:05AM (#35219036)
The repo will provide a way to pull new scripts for new updates.

But I would still need the framework to iterate through all of them

Re:Ask HN: Would you know a “Python idempotent incremental u... by Someone on Sunday March 19, 2023 @12:28PM (#35220636)
I think you either didn’t mention some requirement, or are too focused on “I need to run scripts to do these updates” because that’s what you use now.

To do “sometimes, I have to update the docker-compose.yml on the unit, or add a library, or change something outside of the unit.”, I don’t see what else than git pull you would need, if you put docker-compose.yml and the libraries in the repo.

rsync or other sync programs also should work.