Differences between revisions 24 and 25
Revision 24 as of 2019-02-02 09:39:47
Size: 2360
Editor: Praveen A
Comment:
Revision 25 as of 2019-02-02 15:07:09
Size: 2943
Editor: Praveen A
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
Gitlab 8.13.11 is available in stretch, but it is not receiving any security updates. So it is recommend to update to newer versions from unstable or stretch-backports. Gitlab 8.13.11 is available in stretch, but it is not receiving any security updates. So it is recommend to update to newer versions from unstable or buster or stretch-backports.
Line 13: Line 13:
Gitlab 11.5.7 is available in unstable (some security issues, work in progress to update to 11.5.10 which fixes all security issues). Gitlab 11.5.7 is available in unstable (some security issues, work in progress to update to 11.5.10 which fixes all security issues). ''Note: It is currenty broken because of rails 5, work is in progress upstream to fix rails 5.2 compatibility issues.''

== Buster ==
Gitlab 11.5.10 is available in personal repo of gitlab maintainer targeting buster as base distribution. (no open security issues). ''Note: It is expected to break when rails 5.2 migrates to buster.''

Add to `/etc/apt/sources.list`
{{{
deb https://people.debian.org/~praveen/gitlab unstable contrib main
}}}
Line 20: Line 28:

Add to `/etc/apt/sources.list`
{{{
deb https://people.debian.org/~praveen/gitlab stretch-backports contrib main
}}}

Gitlab is a git front end with repository management, graphs, links, goodies, commands to run, and review capabilities similar in feel to a self hosted github.

Debian is running its own Instance of Gitlab under https://salsa.debian.org, which is not based on the packaged version.

Stretch

Gitlab 8.13.11 is available in stretch, but it is not receiving any security updates. So it is recommend to update to newer versions from unstable or buster or stretch-backports.

# apt install gitlab

Unstable

Gitlab 11.5.7 is available in unstable (some security issues, work in progress to update to 11.5.10 which fixes all security issues). Note: It is currenty broken because of rails 5, work is in progress upstream to fix rails 5.2 compatibility issues.

Buster

Gitlab 11.5.10 is available in personal repo of gitlab maintainer targeting buster as base distribution. (no open security issues). Note: It is expected to break when rails 5.2 migrates to buster.

Add to /etc/apt/sources.list

deb https://people.debian.org/~praveen/gitlab unstable contrib main

Stretch Backports

Gitlab 11.2.8 is available in stretch-backports (still affected by some security issues). Note: Work is already in progress to update gitlab to 11.5.10 with all security fixes.

Gitlab 11.5.7 is available for stretch-backports via personal repo of gitlab maintainer (some open security issues) from https://people.debian.org/~praveen/gitlab

Add to /etc/apt/sources.list

deb https://people.debian.org/~praveen/gitlab stretch-backports contrib main

Note 1: Official stretch-backports repo is also required for this personal repo to work. See Backports. Note 2: https://gitlab.debian.net is running on this version.

# apt -t stretch-backports install gitlab

Omnibus Packages

Note: this section is about installation of upstream-provided unofficial packages.

Install

all actions are performed under root user, in ~ unless otherwise noted.

Step 1

navigate to https://www.gitlab.com/downloads/ and copy down the link to the debian deb package.

as of this writing @ june, 5, 2014

run

Step 2

run

  • dpkg -i gitlab*

Step 3

i got errors 1st time around 2nd time around gitlab looked like it set everything and ran well.

To avoid errors, execute /opt/gitlab/embedded/bin/runsvdir-start for one minute, more or less (tested in 7.9.0 and 7.9.1 omnibus versions).

run

  • gitlab-ctl reconfigure

to verify that things are running

run

  • gitlab-ctl status

Step 4

navigate to your servers ip address or domain name, and login as:

user: root password: 5iveL!fe

External Resources

https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md