Commit 819e3d93 authored by Jérome Perrin's avatar Jérome Perrin

software/dream: follow buildout naming conventions for section names

parent de03e816
[instance]
filename = instance.cfg
md5sum = a4e19280bc672cc98e0fef241c8439ba
md5sum = e4092f606716171a5c9c5980c70573b3
[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}
......@@ -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 =
......
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