Jamesking56 Jamesking56 - 1 month ago 17
Git Question

Raspberry Pi and GitLab

Is there a way I can run GitLab (http://gitlab.org/gitlab-ce) and GitLab CI (http://gitlab.org/gitlab-ci) on a Raspberry Pi device running Raspbian?

I want to have my own internal Git box where I can store code and possibly allow other friends access to upload their code too. Is it possible?



Official way for the Pi 2

There is a very easy way to install it on the Raspberry Pi 2.

wget https://s3-eu-west-1.amazonaws.com/downloads-packages/raspberry-pi/gitlab_7.9.0-omnibus.pi-1_armhf.deb
sudo dpkg -i gitlab_7.9.0-omnibus.pi-1_armhf.deb

You might prefer to go to the official page in order to get latest version. It's fast and easy, they recommend at least 1Gb swap.

On the Pi B and B+ you will hit the memory limit very soon and get degraded performance as you grow, but on the Pi 2 it works nicely, specially if you mount your repos on an external USB hard disk.