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

Commit f2442a0

Browse files
committed
Version 4.1.0
Signed-off-by: Dmitriy Zaporozhets <[email protected]>
1 parent 5195cdd commit f2442a0

File tree

3 files changed

+51
-2
lines changed

3 files changed

+51
-2
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.1.0.pre
1+
4.1.0

doc/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

doc/update/4.0-to-4.1.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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

0 commit comments

Comments
 (0)