Spiegel
Spiegel is a simple git mirroring service meant to be activated by GitLab Web Hooks. After installing Spiegel you can add a Web Hook for http://your-spiegel-host:8888/
and your project will be automatically mirrored on any push. Projects are mirrored to /var/data/spiegel/PROJECT_NAME.git
, and logs are kept at /var/log/spiegel
, while Spiegel itself lives at /opt/spiegel
. You can use the "spiegel" service to manage the application.
To install:
$ gem install unicorn sinatra # You might need sudo...
$ git clone --depth=1 http://git.bluejeansnet.com/inf/spiegel.git # Or some mirror
$ spiegel/install-or-upgrade.sh # You might read it first
$ rm -r spiegel # Lives in /opt/spiegel
To upgrade, just repeat the install procedure.