xsw222 发表于 2018-9-19 11:53:31

gitlab 2.7版本升级到2.8-ppabc博客

  第一步 关闭服务
/etc/init.d/gitlab stop第二部 更新代码cd /home/gitlab/gitlab # Get latest codesudo -u gitlab git pull origin stable # Install libssudo -u gitlab bundle install --without development test # update dbsudo -u gitlab bundle exec rake db:migrate RAILS_ENV=production # update gitolite hookssudo cp ./lib/hooks/post-receive /home/git/share/gitolite/hooks/common/post-receivesudo chown git:git /home/git/share/gitolite/hooks/common/post-receive # Check app statussudo -u gitlab bundle exec rake gitlab:app:status RAILS_ENV=production 第三步 启动服务/etc/init.d/gitlab start
页: [1]
查看完整版本: gitlab 2.7版本升级到2.8-ppabc博客