diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-14 18:03:35 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-14 18:03:35 -0800 |
commit | e24967ab658724af50b6695ea64277802f3ed40c (patch) | |
tree | 8821c2409550eb867b58df5cd58cf329257aaf48 | |
parent | e6c630e6445e66dff230483ff7c73592f7fd8251 (diff) | |
download | gitlab-ci-e24967ab658724af50b6695ea64277802f3ed40c.tar.gz |
Update guide from 5.3 to 5.4
-rw-r--r-- | doc/update/5.3-to-5.4.md | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/doc/update/5.3-to-5.4.md b/doc/update/5.3-to-5.4.md new file mode 100644 index 0000000..045a610 --- /dev/null +++ b/doc/update/5.3-to-5.4.md @@ -0,0 +1,42 @@ +# Update from 5.3 to 5.4 + +__GitLab CI 5.4 requires GitLab 7.5 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-4-stable +``` + +#### Redis config + +If you have `config/resque.yml` file - please update it with recent `config/resque.yml.example` + +### 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 |