Commit b9b35012 authored by Stan Hu's avatar Stan Hu

Update gitlab-workhorse and remove mention of gitlab-git-http-server

[ci skip]
parent 5bca9ec7
...@@ -67,36 +67,23 @@ sudo -u git -H git checkout 8-3-stable-ee ...@@ -67,36 +67,23 @@ sudo -u git -H git checkout 8-3-stable-ee
```bash ```bash
cd /home/git/gitlab-shell cd /home/git/gitlab-shell
sudo -u git -H git fetch sudo -u git -H git fetch --all
sudo -u git -H git checkout v2.6.8 sudo -u git -H git checkout v2.6.8
``` ```
### 5. Replace gitlab-git-http-server with gitlab-workhorse ### 5. Update gitlab-workhorse
Install and compile gitlab-workhorse. This requires [Go Install and compile gitlab-workhorse. This requires [Go
1.5](https://golang.org/dl) which should already be on your system 1.5](https://golang.org/dl) which should already be on your system
from GitLab 8.1. from GitLab 8.1.
```bash ```bash
cd /home/git cd /home/git/gitlab-workhorse
sudo -u git -H git clone https://gitlab.com/gitlab-org/gitlab-workhorse.git sudo -u git -H git fetch --all
cd gitlab-workhorse sudo -u git -H git checkout 0.4.3
sudo -u git -H git checkout 0.4.2
sudo -u git -H make sudo -u git -H make
``` ```
Update the GitLab init script and 'default' file.
```
cd /home/git/gitlab
sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
test -e /etc/default/gitlab && \
sudo sed -i.pre-8.2 's/^\([^=]*\)gitlab_git_http_server/\1gitlab_workhorse/' /etc/default/gitlab
```
Make sure that you also update your **NGINX configuration** to use
the new gitlab-workhorse.socket file.
### 6. Install libs, migrations, etc. ### 6. Install libs, migrations, etc.
```bash ```bash
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment