I have a bunch of raspberry pi's running a custom image which hosts a local server. I have no control of where these devices end up or whether or not they are connected to the outside internet.
I am currently using git for development of the project and I was wondering if git could be used to automatically deploy updates to the devices.
If every time they are connected to the internet they try a git pull
they would theoretically download any new updates. I could easily write an update script that after a successful pull it checks for new software requirements and installs them.
There could potentially be hundreds of these devices all over the place and I was wondering if this is feasible or if anyone knows any issues with this method. Should this not be used with many devices? Are there any security issues with this?