おのたく日記 YouTubeも始めました→
2013-12-23(Mon) [長年日記]
■ [GitLab] V6.4.0にGitLabをバージョンアッブ
12月3日の日記でインストールしたばかりのGitLab V6.3だけど、GitLabは、更新が激しくて毎月バージョンアップがある。gitlabhq / doc / update / 6.3-to-6.4.mdを参考に
cd /home/gitlab/gitlab
git fetch --all
bundle exec rake gitlab:backup:create RAILS_ENV=production
sudo /etc/init.d/apache stop
sudo /etc/init.d/gitlab stop
git co v6.4.0
bundle install --without development test postgres --deployment
bundle exec rake db:migrate RAILS_ENV=production
bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production
sudo /etc/init.d/gitlab start
sudo /etc/init.d/apache start
としてV6.4.0にバージョンアップした。
gitlab-shellは更新があまりなく既にv1.8.0なのでそのまま。
設定ファイルもそのまま使えた。(相対URLは既に止めてVirtualHostにしている)
|