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