ansible-role-refstack-client/tasks/generate-tempestconf.sh.j2
Martin Kopec ca9d61a6d7 Add installing tempestconf from the given source
Adds support for installing python-tempestconf from the given
source. This will be especially handy in CI jobs (f.e. in Zuul)
when python-tempestconf's new changes are needed to be verified
against refstack-client and this role (as python-tempestconf is
a dependency of refstack-client we don't want to accidentally
break refstack-client by a new changes in the tempestconf)

Change-Id: I4541050f550d377956db51acf2b29f3f691cd5b9
2020-12-12 13:17:15 +00:00

22 lines
590 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 }} \
{% if deployer_input is defined %}
--deployer-input {{ deployer_input }} \
{% endif %}
validation.run_validation true \
compute.allow_tenant_isolation true \
compute-feature-enabled.resize true \
{% if additional_tempestconf_params is defined %}
{{ additional_tempestconf_params }} \
{% endif %}
image.http_image {{ url_cirros_image }}