devstack/roles/get-devstack-os-environment
Luigi Toscano 906d824a19 Fix: do not lose the tox_environment value in func tests
The current code always overrides tox_environment when running
functional tests, but the correct behavior is to add
the discovered environment variables to tox_environments,
while keeping the user-specified value for it.

The current behavior breaks the devstack-tox-functional children
jobs, like openstacksdk-functional-devstack-ironic, which set
tox_environment.

Change-Id: I5dc9054a1495ca0ef7745c08316441ab153956f4
2020-10-11 21:59:07 +02:00
..
defaults Fix: do not lose the tox_environment value in func tests 2020-10-11 21:59:07 +02:00
tasks Fix: do not lose the tox_environment value in func tests 2020-10-11 21:59:07 +02:00
README.rst New get-devstack-os-environment role 2020-08-18 22:29:50 +02:00

Reads the OS* variables set by devstack through openrc for the specified user and project and exports them as the os_env_vars fact.

WARNING: this role is meant to be used as porting aid for the non-unified python-<service>client jobs which are already around, as those clients do not use clouds.yaml as openstackclient does. When those clients and their jobs are deprecated and removed, or anyway when the new code is able to read from clouds.yaml directly, this role should be removed as well.

Role Variables