
Use the newer cirros 0.5.2 version by default and pass it to python-tempestconf via a proper argument (--image) instead of the override option. Change-Id: I11b42585f609b0759c0eef1e68fa70c55afa3bda
23 lines
643 B
Django/Jinja
23 lines
643 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 %}
|
|
{{ share_tempestconf_overrides | default([]) | join(' ') }} \
|
|
{% if additional_tempestconf_params is defined %}
|
|
{{ additional_tempestconf_params }} \
|
|
{% endif %}
|
|
validation.run_validation true \
|
|
compute.allow_tenant_isolation true \
|
|
compute-feature-enabled.resize true
|