Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3ad3f906
Commit
3ad3f906
authored
Jun 03, 2017
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '31943-document-go-18' into 'master'
Document go1.8.3 as dependency See merge request !11245
parents
70b927a5
10cf2322
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
16 deletions
+38
-16
changelogs/unreleased/31943-document-go-183.yml
changelogs/unreleased/31943-document-go-183.yml
+3
-0
doc/install/installation.md
doc/install/installation.md
+7
-8
doc/update/9.2-to-9.3.md
doc/update/9.2-to-9.3.md
+28
-8
No files found.
changelogs/unreleased/31943-document-go-183.yml
0 → 100644
View file @
3ad3f906
---
title
:
Upgrade dependency to Go 1.8.3
merge_request
:
31943
doc/install/installation.md
View file @
3ad3f906
...
@@ -143,20 +143,19 @@ Then install the Bundler Gem:
...
@@ -143,20 +143,19 @@ Then install the Bundler Gem:
## 3. Go
## 3. Go
Since GitLab 8.0, Git HTTP requests are handled by gitlab-workhorse (formerly
Since GitLab 8.0, GitLab has several daemons written in Go. To install
gitlab-git-http-server). This is a small daemon written in Go. To install
GitLab we need a Go compiler. The instructions below assume you use 64-bit
gitlab-workhorse we need a Go compiler. The instructions below assume you
Linux. You can find downloads for other platforms at the
[
Go download
use 64-bit Linux. You can find downloads for other platforms at the
[
Go download
page
](
https://golang.org/dl
)
.
page
](
https://golang.org/dl
)
.
# Remove former Go installation folder
# Remove former Go installation folder
sudo rm -rf /usr/local/go
sudo rm -rf /usr/local/go
curl --remote-name --progress https://storage.googleapis.com/golang/go1.
5
.3.linux-amd64.tar.gz
curl --remote-name --progress https://storage.googleapis.com/golang/go1.
8
.3.linux-amd64.tar.gz
echo '
43afe0c5017e502630b1aea4d44b8a7f059bf60d7f29dfd58db454d4e4e0ae53 go1.5
.3.linux-amd64.tar.gz' | shasum -a256 -c - && \
echo '
1862f4c3d3907e59b04a757cfda0ea7aa9ef39274af99a784f5be843c80c6772 go1.8
.3.linux-amd64.tar.gz' | shasum -a256 -c - && \
sudo tar -C /usr/local -xzf go1.
5
.3.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.
8
.3.linux-amd64.tar.gz
sudo ln -sf /usr/local/go/bin/{go,godoc,gofmt} /usr/local/bin/
sudo ln -sf /usr/local/go/bin/{go,godoc,gofmt} /usr/local/bin/
rm go1.
5
.3.linux-amd64.tar.gz
rm go1.
8
.3.linux-amd64.tar.gz
## 4. Node
## 4. Node
...
...
doc/update/9.2-to-9.3.md
View file @
3ad3f906
...
@@ -70,7 +70,27 @@ curl --location https://yarnpkg.com/install.sh | bash -
...
@@ -70,7 +70,27 @@ curl --location https://yarnpkg.com/install.sh | bash -
More information can be found on the
[
yarn website
](
https://yarnpkg.com/en/docs/install
)
.
More information can be found on the
[
yarn website
](
https://yarnpkg.com/en/docs/install
)
.
### 5. Get latest code
### 5. Update Go
NOTE: GitLab 9.3 and higher only supports Go 1.8.3 and dropped support for Go 1.5.x through 1.7.x. Be
sure to upgrade your installation if necessary
You can check which version you are running with
`go version`
.
Download and install Go:
```
bash
# Remove former Go installation folder
sudo rm
-rf
/usr/local/go
curl
--remote-name
--progress
https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz
echo
'1862f4c3d3907e59b04a757cfda0ea7aa9ef39274af99a784f5be843c80c6772 go1.8.3.linux-amd64.tar.gz'
| shasum
-a256
-c
-
&&
\
sudo tar
-C
/usr/local
-xzf
go1.8.3.linux-amd64.tar.gz
sudo ln
-sf
/usr/local/go/bin/
{
go,godoc,gofmt
}
/usr/local/bin/
rm
go1.8.3.linux-amd64.tar.gz
```
### 6. Get latest code
```
bash
```
bash
cd
/home/git/gitlab
cd
/home/git/gitlab
...
@@ -97,7 +117,7 @@ cd /home/git/gitlab
...
@@ -97,7 +117,7 @@ cd /home/git/gitlab
sudo
-u
git
-H
git checkout 9-3-stable-ee
sudo
-u
git
-H
git checkout 9-3-stable-ee
```
```
###
6
. Update gitlab-shell
###
5
. Update gitlab-shell
```
bash
```
bash
cd
/home/git/gitlab-shell
cd
/home/git/gitlab-shell
...
@@ -107,7 +127,7 @@ sudo -u git -H git checkout v$(</home/git/gitlab/GITLAB_SHELL_VERSION)
...
@@ -107,7 +127,7 @@ sudo -u git -H git checkout v$(</home/git/gitlab/GITLAB_SHELL_VERSION)
sudo
-u
git
-H
bin/compile
sudo
-u
git
-H
bin/compile
```
```
###
7
. Update gitlab-workhorse
###
6
. Update gitlab-workhorse
Install and compile gitlab-workhorse. This requires
Install and compile gitlab-workhorse. This requires
[
Go 1.5
](
https://golang.org/dl
)
which should already be on your system from
[
Go 1.5
](
https://golang.org/dl
)
which should already be on your system from
...
@@ -123,7 +143,7 @@ sudo -u git -H git checkout v$(</home/git/gitlab/GITLAB_WORKHORSE_VERSION)
...
@@ -123,7 +143,7 @@ sudo -u git -H git checkout v$(</home/git/gitlab/GITLAB_WORKHORSE_VERSION)
sudo
-u
git
-H
make
sudo
-u
git
-H
make
```
```
###
8
. Update Gitaly
###
7
. Update Gitaly
If you have not yet set up Gitaly then follow
[
Gitaly section of the installation
If you have not yet set up Gitaly then follow
[
Gitaly section of the installation
guide
](
../install/installation.md#install-gitaly
)
.
guide
](
../install/installation.md#install-gitaly
)
.
...
@@ -137,7 +157,7 @@ sudo -u git -H git checkout v$(</home/git/gitlab/GITALY_SERVER_VERSION)
...
@@ -137,7 +157,7 @@ sudo -u git -H git checkout v$(</home/git/gitlab/GITALY_SERVER_VERSION)
sudo
-u
git
-H
make
sudo
-u
git
-H
make
```
```
###
9
. Update configuration files
###
10
. Update configuration files
#### New configuration options for `gitlab.yml`
#### New configuration options for `gitlab.yml`
...
@@ -211,7 +231,7 @@ For Ubuntu 16.04.1 LTS:
...
@@ -211,7 +231,7 @@ For Ubuntu 16.04.1 LTS:
sudo
systemctl daemon-reload
sudo
systemctl daemon-reload
```
```
### 1
0
. Install libs, migrations, etc.
### 1
1
. Install libs, migrations, etc.
```
bash
```
bash
cd
/home/git/gitlab
cd
/home/git/gitlab
...
@@ -237,14 +257,14 @@ sudo -u git -H bundle exec rake cache:clear RAILS_ENV=production
...
@@ -237,14 +257,14 @@ sudo -u git -H bundle exec rake cache:clear RAILS_ENV=production
**MySQL installations**
: Run through the
`MySQL strings limits`
and
`Tables and data conversion to utf8mb4`
[
tasks
](
../install/database_mysql.md
)
.
**MySQL installations**
: Run through the
`MySQL strings limits`
and
`Tables and data conversion to utf8mb4`
[
tasks
](
../install/database_mysql.md
)
.
### 1
1
. Start application
### 1
2
. Start application
```
bash
```
bash
sudo
service gitlab start
sudo
service gitlab start
sudo
service nginx restart
sudo
service nginx restart
```
```
### 1
2
. Check application status
### 1
3
. Check application status
Check if GitLab and its environment are configured correctly:
Check if GitLab and its environment are configured correctly:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment