diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-06-26 12:48:32 +0300 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-06-26 12:48:32 +0300 |
commit | 90de0e0be41b75114d7c193aca9033a2bf436dc8 (patch) | |
tree | 70c415b60c909363fd626a1db2f1ddd4ae558951 | |
parent | e9d1d22991d537566d2f47d1b8abdcaeb0cc455c (diff) | |
download | gitlab-ci-update_doc.tar.gz |
update documentationupdate_doc
-rw-r--r-- | doc/install/installation.md | 6 | ||||
-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, 115 insertions, 3 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md index b439364..4d85fb4 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 @@ -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 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..4e04509 --- /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 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 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..ad45ea3 --- /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 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 |