Add "project_name" variable to configure_functional_tests role

It will be useful when neutron-functional or neutron-fullstack
job will be used in stadium projects like e.g. in neutron-fwaas.

Change-Id: I73c446d43e44b8f06c93752ebf98684f165e6fcd
Related-Bug: #1804844
This commit is contained in:
Slawek Kaplonski 2019-03-26 22:30:20 +01:00
parent 8887343782
commit 9f857631d8
3 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,9 @@ Configure host to run on it Neutron functional/fullstack tests
.. zuul:rolevar:: tests_venv
:default: {{ tox_envlist }}
.. zuul:rolevar:: project_name
:default: neutron
.. zuul:rolevar:: base_dir
:default: {{ ansible_user_dir }}/src/opendev.org

View File

@ -1,4 +1,5 @@
tests_venv: "{{ tox_envlist }}"
project_name: "neutron"
base_dir: "{{ ansible_user_dir }}/src/opendev.org"
gate_dest_dir: "{{ base_dir }}/openstack"
devstack_dir: "{{ base_dir }}/openstack/devstack"

View File

@ -7,6 +7,7 @@
BASE_DIR={{ base_dir }}
GATE_DEST={{ gate_dest_dir }}
PROJECT_NAME={{ project_name }}
NEUTRON_PATH={{ neutron_dir }}
DEVSTACK_PATH={{ devstack_dir }}
VENV={{ tests_venv }}