Commit 3c445ad3 authored by Kirill Smelkov's avatar Kirill Smelkov

gitlab: Publish connection URL

In the previous patch we setup nginx service which listens to the world
and as such gitlab service becomes to be ready to used - so publish
backend URL.

NOTE we'll need to optimise and tweak gitlab a bit further in upcoming
    patches, so it can be really used under load and with our use-cases,
    but even now it listens to http ok and generally works.

/cc @kazuhiko, @jerome
parent 85f7d7e3
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
extends = {{ gitlab_parameters_cfg }} extends = {{ gitlab_parameters_cfg }}
parts = parts =
directory directory
publish-instance-info
# gitlab-<prog> # gitlab-<prog>
# ? mailroom # ? mailroom
...@@ -77,6 +78,11 @@ url = ${external-url:scheme}://[${:host}]:${:port} ...@@ -77,6 +78,11 @@ url = ${external-url:scheme}://[${:host}]:${:port}
user = {{ pwd.getpwuid(os.getuid())[0] }} user = {{ pwd.getpwuid(os.getuid())[0] }}
[publish-instance-info]
recipe = slapos.cookbook:publish
backend_url = ${backend-info:url}
############################# #############################
# GitLab instance setup # # GitLab instance setup #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment