summaryrefslogtreecommitdiff
path: root/doc/update
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2015-07-08 14:12:34 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2015-07-08 14:12:34 +0000
commit00b6536f4d155ec41b8a8434d992b6b207f07bb5 (patch)
tree118927afe00dc27abe67420862d0035bced7f2c9 /doc/update
parent52cc9a572484a87cea542448e6d439b7c6032e04 (diff)
parentb34f96ec2a4a0d09d35f562aa18eb91071d95b2f (diff)
downloadgitlab-ci-00b6536f4d155ec41b8a8434d992b6b207f07bb5.tar.gz
Merge branch 'trace_in_file' into 'master'
Build trace in file https://dev.gitlab.org/gitlab/gitlab-ci/issues/272 See merge request !167
Diffstat (limited to 'doc/update')
-rw-r--r--doc/update/7.12-to-7.13.md51
1 files changed, 51 insertions, 0 deletions
diff --git a/doc/update/7.12-to-7.13.md b/doc/update/7.12-to-7.13.md
new file mode 100644
index 0000000..e3600eb
--- /dev/null
+++ b/doc/update/7.12-to-7.13.md
@@ -0,0 +1,51 @@
+# Update from 7.12 to 7.13
+
+## Notice
+
+__GitLab CI 7.13 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. 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-13-stable
+```
+
+### 4. Make sure GitLab CI can write to the builds/ directory
+
+```
+sudo chmod -R u+rwX builds
+```
+
+### 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
+```
+
+
+### 5. Start web application
+
+ sudo service gitlab_ci start