Commit ebaea661 authored by Julien Muchembled's avatar Julien Muchembled

ERP5: fix instantiation with new publish-early API when test-runner is enabled

parent 2c0de6f4
...@@ -78,7 +78,7 @@ md5sum = d41d8cd98f00b204e9800998ecf8427e ...@@ -78,7 +78,7 @@ md5sum = d41d8cd98f00b204e9800998ecf8427e
[template-erp5] [template-erp5]
filename = instance-erp5.cfg.in filename = instance-erp5.cfg.in
md5sum = 079244ece03662c7ceadb68570b69d2f md5sum = ca5375204bacdc1df30285d3c5d179b1
[template-zeo] [template-zeo]
filename = instance-zeo.cfg.in filename = instance-zeo.cfg.in
......
...@@ -399,7 +399,7 @@ recipe = slapos.cookbook:publish-early ...@@ -399,7 +399,7 @@ recipe = slapos.cookbook:publish-early
{%- endif %} {%- endif %}
{%- if test_runner_enabled %} {%- if test_runner_enabled %}
{%- for zope_family_name in zope_family_name_list %} {%- for zope_family_name in zope_family_name_list %}
{{ zope_family_name }}-test-runner-url-list default-balancer-test-runner-url-list:default {{ zope_family_name }}-test-runner-url-list default-balancer-test-runner-url-list:{{ zope_family_name }}
{%- endfor %} {%- endfor %}
{%- endif %} {%- endif %}
{%- if neo %} {%- if neo %}
...@@ -415,12 +415,15 @@ inituser-password = {{ dumps(inituser_password) }} ...@@ -415,12 +415,15 @@ inituser-password = {{ dumps(inituser_password) }}
{%- set deadlock_debugger_password = slapparameter_dict.get('deadlock-debugger-password') -%} {%- set deadlock_debugger_password = slapparameter_dict.get('deadlock-debugger-password') -%}
{%- if deadlock_debugger_password %} {%- if deadlock_debugger_password %}
deadlock-debugger-password = {{ dumps(deadlock_debugger_password) }} deadlock-debugger-password = {{ dumps(deadlock_debugger_password) }}
{%- endif %} {% endif %}
{%- if test_runner_enabled %}
[default-balancer-test-runner-url-list] [default-balancer-test-runner-url-list]
recipe = recipe =
default = not-ready {%- for zope_family_name in zope_family_name_list %}
{{ zope_family_name }} = not-ready
{%- endfor %}
{%- endif %}
[gen-password] [gen-password]
recipe = slapos.cookbook:generate.password recipe = slapos.cookbook:generate.password
......
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