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
1 changed file
with
45 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Update from 7.13 to 7.14 | ||
|
||
## Notice | ||
|
||
__GitLab CI 7.14 requires GitLab 7.12 or higher and GitLab Multi Runner 0.5.0 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 7-14-stable | ||
``` | ||
|
||
### 4. Install libs, migrations etc | ||
|
||
|
||
``` | ||
# Install nodejs dependency: | ||
sudo apt-get install nodejs | ||
# 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 |