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
Léo-Paul Géneau
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
Hide 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]
filename = instance.cfg
md5sum =
a4e19280bc672cc98e0fef241c8439ba
md5sum =
e4092f606716171a5c9c5980c70573b3
software/dream/instance.cfg
View file @
819e3d93
[buildout]
parts =
dream
_
simulation
dream
_
platform
dream
_test_
suite
dream
_
interpreter
grunt
_
watch
dream
-
simulation
dream
-
platform
dream
-test-
suite
dream
-
interpreter
grunt
-
watch
publish-connection-parameter
dream-platform-url-available
...
...
@@ -22,44 +22,44 @@ url = $${slap-connection:server-url}
key = $${slap-connection:key-file}
cert = $${slap-connection:cert-file}
[dream
_platform_
parameter]
[dream
-platform-
parameter]
port = 18080
host = $${instance-parameter:ipv6-random}
url = http://[$${:host}]:$${:port}
# interpreter
[dream
_
interpreter]
[dream
-
interpreter]
recipe = slapos.cookbook:wrapper
command-line = ${buildout:bin-directory}/dream_interpreter
wrapper-path = $${buildout:bin-directory}/dream_interpreter
# service
[dream
_
platform]
[dream
-
platform]
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
[dream-platform-url-available]
<= monitor-promise-base
promise = check_url_available
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
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
# CLI
[dream
_
simulation]
[dream
-
simulation]
recipe = slapos.cookbook:wrapper
command-line = ${buildout:bin-directory}/dream_simulation
wrapper-path = $${directory:script}/dream_simulation
[dream
_test_
suite]
[dream
-test-
suite]
recipe = slapos.cookbook:wrapper
command-line = ${dream
_
testrunner:script}
command-line = ${dream
-
testrunner:script}
wrapper-path = $${directory:script}/dream_test_suite
[directory]
...
...
@@ -74,4 +74,4 @@ log = $${:var}/log
[publish-connection-parameter]
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 =
parts =
slapos-cookbook
manpy
dream
_
testrunner
npm
_
install
dream
-
testrunner
npm
-
install
instance
[gcc]
...
...
@@ -25,7 +25,7 @@ recipe = slapos.recipe.template
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:directory}/instance.cfg
[dream
_
testrunner]
[dream
-
testrunner]
recipe = zc.recipe.testrunner
eggs = dream
script = dream_testrunner
...
...
@@ -35,7 +35,7 @@ initialization =
[nodejs]
<= nodejs-8.9.4
[npm
_
install]
[npm
-
install]
recipe = plone.recipe.command
stop-on-error = true
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