f448d8c15d
Run tests of all target programs we have. The patch enables required services in devstack (environment the tests are executed on in Zuul) and implements a logic when share config options which can be discovered only by using admin credentials are passed to the second tempestconf execution (with demo creds) so that they are set in tempest.conf used to run refstack-client. Change-Id: I79b7611f47d7d67d439e24c2427ee59870732172
23 lines
652 B
Django/Jinja
23 lines
652 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 \
|
|
{{ share_tempestconf_overrides | default([]) | join(' ') }} \
|
|
{% if additional_tempestconf_params is defined %}
|
|
{{ additional_tempestconf_params }} \
|
|
{% endif %}
|
|
image.http_image {{ url_cirros_image }}
|