gitlab/gitlab.yml: Handle "external URL"
authorKirill Smelkov <kirr@nexedi.com>
Thu, 7 Jan 2016 16:29:18 +0000 (19:29 +0300)
committerKirill Smelkov <kirr@nexedi.com>
Sun, 17 Jan 2016 21:39:28 +0000 (00:39 +0300)
commit93362a08598aaaf3cd9036fbb06681cd52509b89
tree2cffd98e4e64a9935692da4c6a20963a4aee2809
parentc64f7ece1cca38a13d9d1fb4a690583a80ae38e4
gitlab/gitlab.yml: Handle "external URL"

GitLab has a notion of "external URL" - the canonical "frontend" URL the
server is reachable through: this URL is used as prefix to show
e.g. git-clone URL for repositories, etc, even if a server can be
reachable via several frontends.

Add external_url handling to slapos instance.

NOTE whether to use https or not is also defined by external_url, in
particular by external_url scheme.

/cc @kazuhiko, @jerome
software/gitlab/gitlab-parameters.cfg
software/gitlab/instance-gitlab.cfg.in
software/gitlab/macrolib.cfg.in
software/gitlab/template/gitlab.yml.in