Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
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
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
slapos
Commits
819e3d93
Commit
819e3d93
authored
Dec 12, 2023
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/dream: follow buildout naming conventions for section names
parent
de03e816
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
20 deletions
+20
-20
software/dream/buildout.hash.cfg
software/dream/buildout.hash.cfg
+1
-1
software/dream/instance.cfg
software/dream/instance.cfg
+15
-15
software/dream/software.cfg
software/dream/software.cfg
+4
-4
No files found.
software/dream/buildout.hash.cfg
View file @
819e3d93
[instance]
[instance]
filename = instance.cfg
filename = instance.cfg
md5sum =
a4e19280bc672cc98e0fef241c8439ba
md5sum =
e4092f606716171a5c9c5980c70573b3
software/dream/instance.cfg
View file @
819e3d93
[buildout]
[buildout]
parts =
parts =
dream
_
simulation
dream
-
simulation
dream
_
platform
dream
-
platform
dream
_test_
suite
dream
-test-
suite
dream
_
interpreter
dream
-
interpreter
grunt
_
watch
grunt
-
watch
publish-connection-parameter
publish-connection-parameter
dream-platform-url-available
dream-platform-url-available
...
@@ -22,44 +22,44 @@ url = $${slap-connection:server-url}
...
@@ -22,44 +22,44 @@ url = $${slap-connection:server-url}
key = $${slap-connection:key-file}
key = $${slap-connection:key-file}
cert = $${slap-connection:cert-file}
cert = $${slap-connection:cert-file}
[dream
_platform_
parameter]
[dream
-platform-
parameter]
port = 18080
port = 18080
host = $${instance-parameter:ipv6-random}
host = $${instance-parameter:ipv6-random}
url = http://[$${:host}]:$${:port}
url = http://[$${:host}]:$${:port}
# interpreter
# interpreter
[dream
_
interpreter]
[dream
-
interpreter]
recipe = slapos.cookbook:wrapper
recipe = slapos.cookbook:wrapper
command-line = ${buildout:bin-directory}/dream_interpreter
command-line = ${buildout:bin-directory}/dream_interpreter
wrapper-path = $${buildout:bin-directory}/dream_interpreter
wrapper-path = $${buildout:bin-directory}/dream_interpreter
# service
# service
[dream
_
platform]
[dream
-
platform]
recipe = slapos.cookbook:wrapper
recipe = slapos.cookbook:wrapper
command-line = ${buildout:bin-directory}/dream_platform --debug --host $${dream
_platform_parameter:host} --port $${dream_platform_
parameter:port} --log $${directory:log}/dream_platform.log
command-line = ${buildout:bin-directory}/dream_platform --debug --host $${dream
-platform-parameter:host} --port $${dream-platform-
parameter:port} --log $${directory:log}/dream_platform.log
wrapper-path = $${directory:service}/dream_platform
wrapper-path = $${directory:service}/dream_platform
[dream-platform-url-available]
[dream-platform-url-available]
<= monitor-promise-base
<= monitor-promise-base
promise = check_url_available
promise = check_url_available
name = $${:_buildout_section_name_}.py
name = $${:_buildout_section_name_}.py
config-url= $${dream
_platform_
parameter:url}
config-url= $${dream
-platform-
parameter:url}
[grunt
_
watch]
[grunt
-
watch]
recipe = slapos.cookbook:wrapper
recipe = slapos.cookbook:wrapper
command-line = bash -c 'cd ${dream-repository.git:location}; PATH=${nodejs:location}/bin/:$PATH ${dream-repository.git:location}/node_modules/grunt-cli/bin/grunt watch -f > $${directory:log}/grunt.log'
command-line = bash -c 'cd ${dream-repository.git:location}; PATH=${nodejs:location}/bin/:$PATH ${dream-repository.git:location}/node_modules/grunt-cli/bin/grunt watch -f > $${directory:log}/grunt.log'
wrapper-path = $${directory:service}/dream_grunt_watch
wrapper-path = $${directory:service}/dream_grunt_watch
# CLI
# CLI
[dream
_
simulation]
[dream
-
simulation]
recipe = slapos.cookbook:wrapper
recipe = slapos.cookbook:wrapper
command-line = ${buildout:bin-directory}/dream_simulation
command-line = ${buildout:bin-directory}/dream_simulation
wrapper-path = $${directory:script}/dream_simulation
wrapper-path = $${directory:script}/dream_simulation
[dream
_test_
suite]
[dream
-test-
suite]
recipe = slapos.cookbook:wrapper
recipe = slapos.cookbook:wrapper
command-line = ${dream
_
testrunner:script}
command-line = ${dream
-
testrunner:script}
wrapper-path = $${directory:script}/dream_test_suite
wrapper-path = $${directory:script}/dream_test_suite
[directory]
[directory]
...
@@ -74,4 +74,4 @@ log = $${:var}/log
...
@@ -74,4 +74,4 @@ log = $${:var}/log
[publish-connection-parameter]
[publish-connection-parameter]
recipe = slapos.cookbook:publishurl
recipe = slapos.cookbook:publishurl
url = $${dream
_platform_
parameter:url}
url = $${dream
-platform-
parameter:url}
software/dream/software.cfg
View file @
819e3d93
...
@@ -9,8 +9,8 @@ extends =
...
@@ -9,8 +9,8 @@ extends =
parts =
parts =
slapos-cookbook
slapos-cookbook
manpy
manpy
dream
_
testrunner
dream
-
testrunner
npm
_
install
npm
-
install
instance
instance
[gcc]
[gcc]
...
@@ -25,7 +25,7 @@ recipe = slapos.recipe.template
...
@@ -25,7 +25,7 @@ recipe = slapos.recipe.template
url = ${:_profile_base_location_}/${:filename}
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:directory}/instance.cfg
output = ${buildout:directory}/instance.cfg
[dream
_
testrunner]
[dream
-
testrunner]
recipe = zc.recipe.testrunner
recipe = zc.recipe.testrunner
eggs = dream
eggs = dream
script = dream_testrunner
script = dream_testrunner
...
@@ -35,7 +35,7 @@ initialization =
...
@@ -35,7 +35,7 @@ initialization =
[nodejs]
[nodejs]
<= nodejs-8.9.4
<= nodejs-8.9.4
[npm
_
install]
[npm
-
install]
recipe = plone.recipe.command
recipe = plone.recipe.command
stop-on-error = true
stop-on-error = true
command =
command =
...
...
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