Commit 63ded57b authored by Jérome Perrin's avatar Jérome Perrin

software/theia: promise to wait for frontend to be available

This is required, otherwise published URL in slapos master is `"None"`
parent 15f92079
......@@ -15,7 +15,7 @@
[instance]
filename = instance.cfg.in
md5sum = 1d495ab97a865b31ac7f2287cb76aed0
md5sum = 99dfaa031e58518326b731e9218aa425
[yarn.lock]
filename = yarn.lock
......
......@@ -161,6 +161,7 @@ recipe =
instance-promises =
$${theia-listen-promise:name}
$${frontend-listen-promise:name}
$${apache-frontend-url-available-promise:name}
[theia-listen-promise]
<= monitor-promise-base
......@@ -176,6 +177,13 @@ name = $${:_buildout_section_name_}.py
config-hostname = $${frontend-instance:ip}
config-port = $${frontend-instance:port}
[apache-frontend-url-available-promise]
<= monitor-promise-base
module = check_url_available
name = $${:_buildout_section_name_}.py
config-url = $${apache-frontend:connection-secure_access}
config-check-secure = 1
[apache-frontend]
<= slap-connection
recipe = slapos.cookbook:requestoptional
......
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