diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-06-23 10:48:46 +0300 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-06-23 10:52:04 +0300 |
commit | 11b476319583298293c71c7ba9248ac517ba8572 (patch) | |
tree | e883d3822f88eb95d31b56494c8efe84eae9d621 /doc | |
parent | b46a15267cb3f6ca15a8bbfe040727638c18d7b1 (diff) | |
download | gitlab-ci-11b476319583298293c71c7ba9248ac517ba8572.tar.gz |
update and install guides
Diffstat (limited to 'doc')
-rw-r--r-- | doc/install/installation.md | 4 | ||||
-rw-r--r-- | doc/update/7.10-to-7.11.md | 45 | ||||
-rw-r--r-- | doc/update/7.11-to-7.12.md | 67 |
3 files changed, 114 insertions, 2 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md index b439364..c8ee95d 100644 --- a/doc/install/installation.md +++ b/doc/install/installation.md @@ -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) @@ -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 diff --git a/doc/update/7.10-to-7.11.md b/doc/update/7.10-to-7.11.md new file mode 100644 index 0000000..fc4b567 --- /dev/null +++ b/doc/update/7.10-to-7.11.md @@ -0,0 +1,45 @@ +# Update from 7.10 to 7.11 + +## Notice + +__GitLab CI 7.11 requires GitLab 7.11 or higher and GitLab Multi Runner 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 diff --git a/doc/update/7.11-to-7.12.md b/doc/update/7.11-to-7.12.md new file mode 100644 index 0000000..1515a17 --- /dev/null +++ b/doc/update/7.11-to-7.12.md @@ -0,0 +1,67 @@ +# Update from 7.11 to 7.12 + +## Notice + +__GitLab CI 7.12 requires GitLab 7.12 or higher and GitLab Multi Runner 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 |