Commit 524ed15f authored by Łukasz Nowak's avatar Łukasz Nowak

XXX: software/theia: Switch to monitor-promise-base

XXX: Extends and use monitor stack!
parent 572046d0
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
[instance] [instance]
filename = instance.cfg.in filename = instance.cfg.in
md5sum = c35e6baca37c690bce39ef43825ec42b md5sum = 638cce9fae233105374511ba1db0c109
[yarn.lock] [yarn.lock]
filename = yarn.lock filename = yarn.lock
......
...@@ -111,23 +111,22 @@ template = inline: ...@@ -111,23 +111,22 @@ template = inline:
[promises] [promises]
recipe = recipe =
instance-promises = instance-promises =
$${theia-listen-promise:path} $${theia-listen-promise:name}
$${frontend-listen-promise:path} $${frontend-listen-promise:name}
[check-port-listening-promise]
recipe = slapos.cookbook:check_port_listening
path = $${directory:promises}/$${:_buildout_section_name_}
[theia-listen-promise] [theia-listen-promise]
<= check-port-listening-promise <= monitor-promise-base
hostname= $${theia-instance:ip} module = check_port_listening
port = $${theia-instance:port} name = $${:_buildout_section_name_}.py
config-hostname= $${theia-instance:ip}
config-port = $${theia-instance:port}
[frontend-listen-promise] [frontend-listen-promise]
<= check-port-listening-promise <= monitor-promise-base
hostname= $${frontend-instance:ip} module = check_port_listening
port = $${frontend-instance:port} name = $${:_buildout_section_name_}.py
config-hostname = $${frontend-instance:ip}
config-port = $${frontend-instance:port}
[publish-connection-parameter] [publish-connection-parameter]
recipe = slapos.cookbook:publish recipe = slapos.cookbook:publish
...@@ -152,7 +151,6 @@ tmp = $${buildout:directory}/tmp ...@@ -152,7 +151,6 @@ tmp = $${buildout:directory}/tmp
pidfiles = $${:var}/run pidfiles = $${:var}/run
services = $${:etc}/service services = $${:etc}/service
promises = $${:etc}/promise
framebuffer = $${:srv}/framebuffer framebuffer = $${:srv}/framebuffer
fonts = $${:srv}/fonts fonts = $${:srv}/fonts
home = $${:srv}/home home = $${:srv}/home
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