Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Paul Graydon
slapos
Commits
4dfdaa38
Commit
4dfdaa38
authored
Nov 06, 2019
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/theia: Switch to monitor-promise-base
parent
42b2cf5f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
15 deletions
+17
-15
software/theia/buildout.hash.cfg
software/theia/buildout.hash.cfg
+1
-1
software/theia/instance.cfg.in
software/theia/instance.cfg.in
+15
-14
software/theia/software.cfg
software/theia/software.cfg
+1
-0
No files found.
software/theia/buildout.hash.cfg
View file @
4dfdaa38
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
[instance]
[instance]
filename = instance.cfg.in
filename = instance.cfg.in
md5sum =
c35e6baca37c690bce39ef43825ec42b
md5sum =
6a0a65ff9f81f907d53c42c65b54442a
[yarn.lock]
[yarn.lock]
filename = yarn.lock
filename = yarn.lock
...
...
software/theia/instance.cfg.in
View file @
4dfdaa38
[buildout]
[buildout]
parts =
parts =
monitor-base
promises
promises
.bashrc
.bashrc
frontend-reload
frontend-reload
publish-connection-parameter
publish-connection-parameter
extends = ${monitor-template:rendered}
eggs-directory = ${buildout:eggs-directory}
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
offline = true
offline = true
...
@@ -111,23 +114,22 @@ template = inline:
...
@@ -111,23 +114,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 +154,6 @@ tmp = $${buildout:directory}/tmp
...
@@ -152,7 +154,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
\ No newline at end of file
software/theia/software.cfg
View file @
4dfdaa38
...
@@ -8,6 +8,7 @@ extends =
...
@@ -8,6 +8,7 @@ extends =
../../component/bash/buildout.cfg
../../component/bash/buildout.cfg
../../component/coreutils/buildout.cfg
../../component/coreutils/buildout.cfg
../../stack/slapos.cfg
../../stack/slapos.cfg
../../stack/monitor/buildout.cfg
./gowork.cfg
./gowork.cfg
./buildout.hash.cfg
./buildout.hash.cfg
# this gowork.cfg includes the one from caddy, because they share the only gowork
# this gowork.cfg includes the one from caddy, because they share the only gowork
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment