ansible-role-refstack-client/tasks/generate-tempestconf.sh.j2
Martin Kopec 0427e4a64f Initial copy of the project from rhe original repo
The project was started in the following repository:
https://github.com/kopecmartin/ansible-role-refstack-client

This commit moves all content from the original repository
to it's new one under x org:
https://opendev.org/x/ansible-role-refstack-client

Change-Id: I658157f25caef4ec47c8127378a890d65c7b53b1
2020-10-13 11:29:05 +00:00

22 lines
619 B
Django/Jinja

# Script to generate tempest.conf
set -ex
export PATH=$PATH:/usr/local/sbin:/usr/sbin
source {{ refstack_client_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 }}