Skip to content
This repository was archived by the owner on May 12, 2018. It is now read-only.

Commit e65780d

Browse files
committed
Update and install docs
Signed-off-by: Dmitriy Zaporozhets <[email protected]>
1 parent 7b8edb0 commit e65780d

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

doc/install/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ You can use either MySQL or PostgreSQL.
104104

105105
cd gitlab-ci
106106

107-
sudo -u gitlab_ci -H git checkout 4-3-stable
107+
sudo -u gitlab_ci -H git checkout 5-0-stable
108108

109109
## 6. Setup application
110110

doc/update/4.3-to-5.0.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Update from 4.3 to 5.0
2+
3+
__GitLab CI 5.0 requires GitLab 6.3 or higher and GitLab CI Runner v5__
4+
5+
### 1. stop CI server
6+
7+
sudo service gitlab_ci stop
8+
9+
### 2. Switch to your gitlab_ci user
10+
11+
```
12+
sudo su gitlab_ci
13+
cd /home/gitlab_ci/gitlab-ci
14+
```
15+
16+
### 3. get latest code
17+
18+
```
19+
git fetch
20+
git checkout 5-0-stable
21+
```
22+
23+
### 4. Install libs, migrations etc
24+
25+
```
26+
# For MySQL users
27+
bundle install --without postgres development test --deployment
28+
29+
# For Postgres users
30+
bundle install --without mysql development test --deployment
31+
32+
# Run migrations
33+
bundle exec rake db:migrate RAILS_ENV=production
34+
```
35+
36+
### 5. Start web application
37+
38+
sudo service gitlab_ci start

0 commit comments

Comments
 (0)