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

update documentation

parent e9d1d229
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -6,7 +6,7 @@ this should be the highest numbered stable branch (example shown below).
 
If this is unclear check the [GitLab Blog](http://blog.gitlab.org/) for installation guide links by version.
 
## GitLab CI 7.9 requires GitLab 7.9 or newer
## GitLab CI 7.12 requires GitLab 7.12 or newer
 
other [requirements](requirements.md)
 
Loading
Loading
@@ -58,7 +58,7 @@ Install the Bundler Gem:
 
## 4. Prepare the database
 
You can use either MySQL or PostgreSQL.
We recommend PostgreSQL but you can also use MySQL
 
### MySQL
 
Loading
Loading
@@ -108,7 +108,7 @@ You can use either MySQL or PostgreSQL.
 
cd gitlab-ci
 
sudo -u gitlab_ci -H git checkout 7-9-stable
sudo -u gitlab_ci -H git checkout 7-12-stable
 
## 6. Setup application
 
Loading
Loading
# Update from 7.10 to 7.11
## Notice
__GitLab CI 7.11 requires GitLab 7.11 or higher and GitLab Multi Runner 0.3.0 and 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-11-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
# Update from 7.11 to 7.12
## Notice
__GitLab CI 7.12 requires GitLab 7.12 or higher and GitLab Multi Runner 0.4.0 or higher
### 1. Stop CI server
sudo service gitlab_ci stop
### 2. Update ruby if needed
If your ruby version is older than 2.0.0 please update it.
Update packages:
sudo apt-get update
sudo apt-get upgrade
Download Ruby and compile it:
mkdir /tmp/ruby && cd /tmp/ruby
curl --progress http://cache.ruby-lang.org/pub/ruby/ruby-2.1.6.tar.bz2 | tar xj
cd ruby-2.1.6/
./configure --disable-install-rdoc
make
sudo make install
Install the Bundler Gem:
sudo gem install bundler --no-ri --no-rdoc
### 3. Switch to your gitlab_ci user
```
sudo su gitlab_ci
cd /home/gitlab_ci/gitlab-ci
```
### 4. Get latest code
```
git fetch
git checkout 7-12-stable
```
### 5. 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
```
### 6. Start web application
sudo service gitlab_ci start
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