Commit 63753e34 authored by Benjamin Blanc's avatar Benjamin Blanc

scalability: add erp5_location (dev) key

parent da45fd0d
......@@ -250,7 +250,7 @@ md5sum = 564006953b7d7a12d40a14b6648b32f0
# XXX: "template.cfg" is hardcoded in instanciation recipe
filename = template.cfg
template = ${:_profile_base_location_}/instance.cfg.in
md5sum = 16fc8b6907dcff36e2c47f11a0f2cd46
md5sum = 14fa86c4b817f0286d629c6aef4a00e5
extra-context =
key apache_location apache:location
key aspell_location aspell:location
......@@ -261,6 +261,7 @@ extra-context =
key dcron_location dcron:location
key dmtx_utils_location dmtx-utils:location
key erp5_location erp5:location
key erp5_dev_location erp5.dev-repository:location
key file_location file:location
key findutils_location findutils:location
key fontconfig_location fontconfig:location
......@@ -329,7 +330,7 @@ md5sum = 19f6f1309bbefa651300a1802cab3fa0
[template-scalability]
< = download-base
filename = instance-scalability.cfg.in
md5sum = 49c0715ed06ab57ce84d45a7d516ef98
md5sum = 3f0fc18117937f54739e2bff90e90a25
[template-zeo]
< = download-base
......
......@@ -56,6 +56,7 @@ recipe = slapos.cookbook:wrapper
log-path = ${basedirectory:log}
binary-path = {{ bin_directory }}/runScalabilityTestSuite
wrapper-path = ${rootdirectory:bin}/runScalabilityTestSuite
erp5-location = {{ erp5_location }} 
output = ${binary-wrap-launcher:binary-path}
site-id = "/{{ site_id }}"
# Suppose that there is a user zope family in the configuration
......
......@@ -163,12 +163,17 @@ extra-context =
# Must match the key id in [switch-softwaretype] which uses this section.
raw software_type cluster
[dynamic-template-scalability-parameters]
erp5 = {{ erp5_location }}
erp5_dev = {{ erp5_dev_location }}
[dynamic-template-scalability]
< = jinja2-template-base
template = {{ template_scalability }}
filename = instance-scalability.cfg
extensions = jinja2.ext.do
extra-context =
key erp5_location ${dynamic-template-scalability-parameters:erp5_dev}
key local_bt5_repository dynamic-template-cluster-erp5-parameters:local-bt5-repository
# Must match the key id in [switch-softwaretype] which uses this section.
raw software_type scalability
......
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