Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

Thanks.

like image 687
Jamesking56 Avatar asked Oct 26 '13 12:10

Jamesking56


People also ask

Does GitLab run on ARM?

Installing the GitLab Runner on ARM-based instances is straightforward: After adding the official GitLab package repository, install the runner. However, if you are running Oracle Linux Server release 8.

Is GitLab Linux based?

Official Linux package The Linux packages are mature, scalable, and are used today on GitLab.com.

What is GitLab Community Edition?

GitLab Community Edition (CE) is an open source end-to-end software development platform with built-in version control, issue tracking, code review, CI/CD, and more. Self-host GitLab CE on your own servers, in a container, or on a cloud provider.


1 Answers

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.

like image 197
Ariel M. Avatar answered Oct 07 '22 18:10

Ariel M.