This repository was archived by the owner on May 12, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +39
-1
lines changed Expand file tree Collapse file tree 2 files changed +39
-1
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments