summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-06 12:43:04 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-06 12:43:04 +0300
commite65780d2196da86bf352330286c8d0a590b4ca95 (patch)
treeeb0564140fdccb49789fb4f547ec45494f85131e
parent7b8edb07a2916c7bc06e943028373393c1b0f078 (diff)
downloadgitlab-ci-e65780d2196da86bf352330286c8d0a590b4ca95.tar.gz
Update and install docs
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--doc/install/installation.md2
-rw-r--r--doc/update/4.3-to-5.0.md38
2 files changed, 39 insertions, 1 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md
index 43b351b..beb0cfc 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -104,7 +104,7 @@ You can use either MySQL or PostgreSQL.
cd gitlab-ci
- sudo -u gitlab_ci -H git checkout 4-3-stable
+ sudo -u gitlab_ci -H git checkout 5-0-stable
## 6. Setup application
diff --git a/doc/update/4.3-to-5.0.md b/doc/update/4.3-to-5.0.md
new file mode 100644
index 0000000..034f4ca
--- /dev/null
+++ b/doc/update/4.3-to-5.0.md
@@ -0,0 +1,38 @@
+# Update from 4.3 to 5.0
+
+__GitLab CI 5.0 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-0-stable
+```
+
+### 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