Differences between revisions 1 and 37 (spanning 36 versions)
Revision 1 as of 2014-06-05 21:24:39
Size: 207
Comment: explanation of gitlab initial commit, much much much more to come
Revision 37 as of 2019-05-15 07:14:43
Size: 4088
Editor: Praveen A
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
warning!!! under construction ||<tablestyle="float:right; margin: 0px;" style="padding:0.5em; border: 0px;font-size: 80%;"><<TableOfContents>>||
Line 3: Line 3:
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. 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.

See [[https://lists.debian.org/debian-devel/2018/12/msg00297.html|this proposal]] to create a fasttrack repo for packages like gitlab.

== Buster (Recommended) ==
Gitlab 11.8.9 is available in personal repo of gitlab maintainer targeting buster as base distribution. (no open security issues).

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

{{{
# apt install gitlab
}}}

== Unstable (be careful when updating packages) ==
Gitlab 11.8.9 is available in unstable (no security issues).

{{{
# apt install gitlab
}}}

We try to keep the version in unstable in a good shape with latest security updates, but some times dependency updates breaks gitlab.
 
== Stretch Backports (upgrade to buster) ==
Gitlab 11.4.9 is available in stretch-backports (still affected by some security issues, 2 security releases behind).

Gitlab 11.5.10 is available for stretch-backports via personal repo of gitlab maintainer (1 security release behind) 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]]. You will also need contrib section''
''Note 2: https://gitlab.debian.net is running on this version.''

{{{
# apt -t stretch-backports install gitlab
}}}

It is recommended to upgrade to buster to receive security updates.

Note: Remove unnecessary packages after upgrade (remove ruby-bootsnap if you see strange load errors.

{{{
# apt remove rails npm ruby-bootsnap
}}}

== Stretch (upgrade to stretch backports and then to buster) ==
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
}}}

It is recommended to upgrade to stretch backports and then to buster to receive security updates.

== Contact maintainers ==
You can reach the maintainers of gitlab package via Matrix at #debian-gitlab:poddery.com. [[https://chat.poddery.com/#/room/#debian-gitlab:poddery.com|Join via your browser if you don't have a matrix account]].

== Maintainer's corner ==

 1. Installing gitlab on an lxc container to test - See [[gitlab/lxc]]
 1. Updating gitlab package to newer versions - See [[Teams/Ruby/Packaging/newUpstreamRailsApp]]

== Omnibus Packages ==

Note: this section is about installation of upstream-provided unofficial packages.
Line 6: Line 78:
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

 *wget https://downloads-packages.s3.amazonaws.com/debian-7.4/gitlab_6.9.2-omnibus-1_amd64.deb

=== 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

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.

See this proposal to create a fasttrack repo for packages like gitlab.

Buster (Recommended)

Gitlab 11.8.9 is available in personal repo of gitlab maintainer targeting buster as base distribution. (no open security issues).

Add to /etc/apt/sources.list

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

# apt install gitlab

Unstable (be careful when updating packages)

Gitlab 11.8.9 is available in unstable (no security issues).

# apt install gitlab

We try to keep the version in unstable in a good shape with latest security updates, but some times dependency updates breaks gitlab.

Stretch Backports (upgrade to buster)

Gitlab 11.4.9 is available in stretch-backports (still affected by some security issues, 2 security releases behind).

Gitlab 11.5.10 is available for stretch-backports via personal repo of gitlab maintainer (1 security release behind) 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. You will also need contrib section Note 2: https://gitlab.debian.net is running on this version.

# apt -t stretch-backports install gitlab

It is recommended to upgrade to buster to receive security updates.

Note: Remove unnecessary packages after upgrade (remove ruby-bootsnap if you see strange load errors.

# apt remove rails npm ruby-bootsnap

Stretch (upgrade to stretch backports and then to buster)

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

It is recommended to upgrade to stretch backports and then to buster to receive security updates.

Contact maintainers

You can reach the maintainers of gitlab package via Matrix at #debian-gitlab:poddery.com. Join via your browser if you don't have a matrix account.

Maintainer's corner

  1. Installing gitlab on an lxc container to test - See gitlab/lxc

  2. Updating gitlab package to newer versions - See Teams/Ruby/Packaging/newUpstreamRailsApp

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