summaryrefslogtreecommitdiff
path: root/doc/ci/update/3.1-to-3.2.md
blob: dc6ab6514c6899552753fc169ed94eca3f6b78e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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