Merge "Add "project_name" variable to configure_functional_tests role"

This commit is contained in:
Zuul 2019-05-25 03:03:35 +00:00 committed by Gerrit Code Review
commit f1f4026891
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 .. zuul:rolevar:: tests_venv
:default: {{ tox_envlist }} :default: {{ tox_envlist }}
.. zuul:rolevar:: project_name
:default: neutron
.. zuul:rolevar:: base_dir .. zuul:rolevar:: base_dir
:default: {{ ansible_user_dir }}/src/opendev.org :default: {{ ansible_user_dir }}/src/opendev.org

View File

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

View File

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