Commit 0705a7a5070dfa74db1f51e71aa74376bc000f11

Authored by Dmitriy Zaporozhets
1 parent d0529ad2

Changelog updated. Added migrate docs for 6.0

Showing 2 changed files with 89 additions and 0 deletions   Show diff stats
  1 +v 6.0.0
  2 + - Epic: Replace teams with group membership
  3 + - Add project filter on dashboard
  4 + - cache project graph
  5 + - Drop support of root namespaces
  6 + - Redesign project settings navigation
  7 + - Restlyed login screen
  8 + - Default theme is classic now
  9 + - Cache result of methods like authorize_projects, project.team.members etc
  10 + - Remove $.ready events
  11 + - Fix onclick events being double binded
  12 + - Add notification level to group membership
  13 + - Move all project controllers/views under Projects:: module
  14 + - Move all profile controllers/views under Profiles:: module
  15 + - Redesign ssh keys page
  16 + - Generate fingerprint for ssh keys
  17 +
  18 +
1 v 5.3.0 19 v 5.3.0
2 - Refactored services 20 - Refactored services
3 - Campfire service added 21 - Campfire service added
doc/update/5.4-to-6.0.md 0 → 100644
@@ -0,0 +1,71 @@ @@ -0,0 +1,71 @@
  1 +# From 5.4 to 6.0
  2 +
  3 +### 0. Backup
  4 +
  5 +It's useful to make a backup just in case things go south:
  6 +(With MySQL, this may require granting "LOCK TABLES" privileges to the GitLab user on the database version)
  7 +
  8 +```bash
  9 +cd /home/git/gitlab
  10 +sudo -u git -H RAILS_ENV=production bundle exec rake gitlab:backup:create
  11 +```
  12 +
  13 +### 1. Stop server
  14 +
  15 + sudo service gitlab stop
  16 +
  17 +### 2. Get latest code
  18 +
  19 +```bash
  20 +cd /home/git/gitlab
  21 +sudo -u git -H git fetch
  22 +sudo -u git -H git checkout 6-0-dev
  23 +```
  24 +
  25 +### 3. Install libs, migrations, etc.
  26 +
  27 +```bash
  28 +cd /home/git/gitlab
  29 +
  30 +# MySQL
  31 +sudo -u git -H bundle install --without development test postgres --deployment
  32 +
  33 +#PostgreSQL
  34 +sudo -u git -H bundle install --without development test mysql --deployment
  35 +
  36 +sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
  37 +sudo -u git -H bundle exec rake migrate_groups RAILS_ENV=production
  38 +sudo -u git -H bundle exec rake migrate_global_projects RAILS_ENV=production
  39 +sudo -u git -H bundle exec rake migrate_global_keys RAILS_ENV=production
  40 +
  41 +```
  42 +
  43 +### 4. Update config files
  44 +
  45 +* Make `/home/git/gitlab/config/gitlab.yml` same as https://github.com/gitlabhq/gitlabhq/blob/5-3-stable/config/gitlab.yml.example but with your settings.
  46 +* Make `/home/git/gitlab/config/puma.rb` same as https://github.com/gitlabhq/gitlabhq/blob/5-3-stable/config/puma.rb.example but with your settings.
  47 +
  48 +### 5. Update Init script
  49 +
  50 +```bash
  51 +sudo rm /etc/init.d/gitlab
  52 +sudo curl --output /etc/init.d/gitlab https://raw.github.com/gitlabhq/gitlabhq/5-3-stable/lib/support/init.d/gitlab
  53 +sudo chmod +x /etc/init.d/gitlab
  54 +```
  55 +
  56 +### 6. Start application
  57 +
  58 + sudo service gitlab start
  59 + sudo service nginx restart
  60 +
  61 +### 7. Check application status
  62 +
  63 +Check if GitLab and its environment are configured correctly:
  64 +
  65 + sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
  66 +
  67 +To make sure you didn't miss anything run a more thorough check with:
  68 +
  69 + sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
  70 +
  71 +If all items are green, then congratulations upgrade complete!