bfeab0700e
Use share_tempestconf_overrides value only when shared_file_system is in refstack_target_programs, otherwise the variable contains uncertain data. The commits wraps the variable to an if statement. Change-Id: I0764c99d3c8f1a8fa36c8926e801ad1d0a60dbd2
25 lines
699 B
Django/Jinja
25 lines
699 B
Django/Jinja
# Script to generate tempest.conf
|
|
set -ex
|
|
export PATH=$PATH:/usr/local/sbin:/usr/sbin
|
|
source .venv/bin/activate
|
|
source {{ source_credentials }}
|
|
printenv
|
|
discover-tempest-config \
|
|
--debug \
|
|
-v \
|
|
--non-admin \
|
|
--test-accounts {{ path_to_accounts_file }} \
|
|
--image {{ url_cirros_image }} \
|
|
{% if deployer_input is defined %}
|
|
--deployer-input {{ deployer_input }} \
|
|
{% endif %}
|
|
{% if 'shared_file_system' in refstack_target_programs %}
|
|
{{ share_tempestconf_overrides | join(' ') }} \
|
|
{% endif %}
|
|
{% if additional_tempestconf_params is defined %}
|
|
{{ additional_tempestconf_params }} \
|
|
{% endif %}
|
|
validation.run_validation true \
|
|
compute.allow_tenant_isolation true \
|
|
compute-feature-enabled.resize true
|