Skip to content
Snippets Groups Projects
Commit d69e6b77 authored by Valery Sizov's avatar Valery Sizov
Browse files

release 5.1

parent 7be89a94
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -72,7 +72,7 @@ Possible Cases:
![screen](https://gitlab.com/gitlab-org/gitlab-ci/raw/master/app/assets/images/arch.jpg)
 
For more information see:
[Announcing GitLab CI 3.0](http://blog.gitlab.org/announcing-gitlab-ci-3.0/)
[Announcing GitLab CI 5.1](http://blog.gitlab.org/2014/10/22/gitlab-ci-5-dot-1-released/)
and
[Integrating GitLab CI With GitLab to Enable Distributed Builds](http://blog.gitlab.org/integrating-gitlab-ci-with-gitlab/)
 
Loading
Loading
5.1.0.rc1
5.1.0
Loading
Loading
@@ -104,7 +104,7 @@ You can use either MySQL or PostgreSQL.
 
cd gitlab-ci
 
sudo -u gitlab_ci -H git checkout 5-0-stable
sudo -u gitlab_ci -H git checkout 5-1-stable
 
## 6. Setup application
 
Loading
Loading
# Update from 5.0 to 5.1
__GitLab CI 5.1 requires GitLab 6.3 or higher and GitLab CI Runner v5__
### 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 5-1-stable
```
#### Redis config
If you have `config/resque.yml` file - please update it with recent `config/resque.yml.example`
### 4. Install libs, migrations etc
```
# For MySQL users
bundle install --without postgres development test --deployment
# For Postgres users
bundle install --without mysql development test --deployment
# Run migrations
bundle exec rake db:migrate RAILS_ENV=production
```
### 5. Start web application
sudo service gitlab_ci start
\ No newline at end of file
# Universal update guide for patch versions. For example from 4.0.0 to 4.0.1, also see the [semantic versioning specification](http://semver.org/).
 
### 1. stop CI server
### 1. Stop CI server
 
sudo service gitlab_ci stop
 
Loading
Loading
@@ -11,7 +11,7 @@ sudo su gitlab_ci
cd /home/gitlab_ci/gitlab-ci
```
 
### 3. get latest code
### 3. Get latest code
 
```
git pull origin STABLE_BRANCH
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment