This repository was archived by the owner on May 12, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +51
-2
lines changed Expand file tree Collapse file tree 3 files changed +51
-2
lines changed Original file line number Diff line number Diff line change 1- 4.1.0.pre
1+ 4.1.0
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ You can use either MySQL or PostgreSQL.
9696
9797 cd gitlab-ci
9898
99- sudo -u gitlab_ci -H git checkout 4-0 -stable
99+ sudo -u gitlab_ci -H git checkout 4-1 -stable
100100
101101## 6. Setup application
102102
Original file line number Diff line number Diff line change 1+ # Update from 4.0 to 4.1
2+
3+ ## GitLab CI 4.x requires GitLab 6.3 or higher
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 4-1-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+ # Update cron
36+ bundle exec whenever -w
37+ ```
38+
39+ ### 5. Start web application
40+
41+ sudo service gitlab_ci start
42+
43+ ### 6. Make sure your runners are version 4.0
44+
45+
46+ cd path_to_runner
47+ cat VERSION
48+
49+ To update runners follow this instructions https://github.com/gitlabhq/gitlab-ci-runner#update
You can’t perform that action at this time.
0 commit comments