Commit e088f0e5 authored by Marco Mariani's avatar Marco Mariani

converted instance.cfg to jinja template

parent e952e29d
......@@ -240,8 +240,8 @@ make-binary = ${ant:location}/bin/ant
make-targets =
environment-dependency = ${environment:recipe}
junit-path = ${junit:destination}/${junit:filename}
pre-make-hook = ${:_profile_base_location_}/junixsocket-hooks.py:fix_build_xml
post-make-hook = ${:_profile_base_location_}/junixsocket-hooks.py:install_library
pre-make-hook = {{ junixsocket_hooks }}:fix_build_xml
post-make-hook = {{ junixsocket_hooks }}:install_library
[junixsocket-sources]
......
......@@ -10,10 +10,11 @@ parts =
[instance]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance.cfg
filename = ${buildout:directory}/instance.cfg
#md5sum = b501b73cdf50ddfb89b6bf3a096f05ea
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance.cfg.in
rendered = ${buildout:directory}/instance.cfg
context =
key junixsocket_hooks junixsocket-hooks:filename
[junixsocket-hooks]
......
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