We have an application written in Yii 1.1, we maintain and control all aspects of the application and servers. It lives on a variety of servers. We maintain the code base locally through git and publish to our GitHub repo. When we roll out updates or bug fixes we have to go into each box and update them one at a time. This only grows more and more time consuming the more applications and servers we deploy.
We are hoping to streamline the git pull process by doing it via an admin section, remotely. We thought about tapping into the GitHub WebHooks feature but we don't want it to be that automatic. We want to control which applications get the updates. Next, we thought about using a yiic command that will live in the code base and can run the shell git pull scripts. Security is of top priority in this whole thing.
Do you forsee security issues if we create a yiic class that will handle defined git commands with layer of security tokens that authenticate from the controller to the yiic commands? Maybe someone has done something similar and can shed some insight into their approach and their problems?