This repository has been archived by the owner on May 12, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
47 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
5.1.0.rc1 | ||
5.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters