Update docs

Signed-off-by: Dmitriy Zaporozhets's avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent ae953191
# Update from 3.0 to 3.1
### 1. stop CI server
sudo service gitlab_ci stop
### 2. Switch to your gitlab_ci user
```
sudo su gitlab_ci
cd /home/gitlab_ci/gitlab-ci
```
### 3. get latest code
```
git fetch
git checkout 3-1-stable
```
### 4. Install libs, migrations etc
```
bundle install --without development test --deployment
bundle exec rake db:migrate RAILS_ENV=production
```
### 5. Start web application
sudo service gitlab_ci start
# Update from 3.1 to 3.2
### 1. stop CI server
sudo service gitlab_ci stop
### 2. Switch to your gitlab_ci user
```
sudo su gitlab_ci
cd /home/gitlab_ci/gitlab-ci
```
### 3. get latest code
```
git fetch
git checkout 3-2-stable
```
### 4. Install libs, migrations etc
```
bundle install --without development test --deployment
bundle exec rake db:migrate RAILS_ENV=production
```
### 5. Start web application
sudo service gitlab_ci start
# Update from 3.2 to 4.0
## GitLab CI 4.0 requires GitLab 6.3 or higher
### 1. stop CI server
sudo service gitlab_ci stop
### 2. Switch to your gitlab_ci user
```
sudo su gitlab_ci
cd /home/gitlab_ci/gitlab-ci
```
### 3. get latest code
```
git fetch
git checkout 4-0-stable
```
### 4. Install libs, migrations etc
```
bundle install --without development test --deployment
bundle exec rake db:migrate RAILS_ENV=production
bundle exec whenever -w
```
### 5. Start web application
sudo service gitlab_ci start
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment