
The commit fixes a typo in the role var aditional_tempestconf_params -> additional_tempestconf_params Change-Id: I68fb7309ab2befd76d762a8772a3a2960214b4e6
21 lines
533 B
Django/Jinja
21 lines
533 B
Django/Jinja
# Script to generate tempest.conf
|
|
set -ex
|
|
export PATH=$PATH:/usr/local/sbin:/usr/sbin
|
|
source {{ virtualenvs.tempestconf }}/bin/activate
|
|
{{ source_credentials_commands }}
|
|
printenv
|
|
discover-tempest-config \
|
|
--debug \
|
|
-v \
|
|
{% if user == "admin" %}
|
|
--create \
|
|
{% else %}
|
|
--non-admin \
|
|
{% endif %}
|
|
{% if test_demo_user and not create_accounts_file %}
|
|
--test-accounts {{ test_accounts_file }} \
|
|
{% elif test_demo_user and create_accounts_file %}
|
|
--create-accounts-file ./etc/accounts.yaml \
|
|
{% endif %}
|
|
{{ additional_tempestconf_params }}
|