Skip to content

Fix relative URL

See https://github.com/gitlabhq/gitlabhq/issues/10053

  1. Same configuration way for relative URL like with Omnibus
  2. Loading the relative configuration from Rakefile as Rails do not load initializers for asset:precompile

First point has another positive side effect: no collisions (due to git controlled application.rb) any more during the upgrades of source based installations and relative url configuration

  • tests on the source based installation
  • tests on the centos&ubuntu omnibus packages

Fixes: gitlab-org/gitlab-ce#13730, gitlab-org/gitlab-ce#13727, omnibus-gitlab#1143 (closed) and https://github.com/gitlabhq/gitlabhq/issues/10053

Merge request reports

Loading