Make neutron functional uwsgi jobs usable by other projects.

neutron-fullstack-with-uwsgi and neutron-functional-with-uwsgi
jobs are run in devstack gate[1] also. On devstack side these jobs
are broken when migrated to zuulv3 and start using neutron defined
tox env. neutron gate is no issue as job find the tox env in neutron's
tox.ini but devstack does not.

We need to define the working dir to neutron so that any where
they are run they always look for the neutron's tox.ini for used
tox env.

Failure: https://review.opendev.org/#/c/577779/

[1] c3b58f5335/.zuul.yaml (L717)

Change-Id: I0cadebb45864a83dfba7b54c9f161d11611164db
This commit is contained in:
Ghanshyam Mann 2020-06-09 17:36:53 -05:00
parent f9091f326d
commit 96f3b37b43
1 changed files with 12 additions and 0 deletions

View File

@ -50,6 +50,12 @@
vars:
devstack_localrc:
NEUTRON_DEPLOY_MOD_WSGI: true
# Because this job uses neutron defined tox env (defined in base job),
# we need to set zuul_work_dir to neutron so that it can be used by
# other projects. Currently devstack run this job. Not setting this
# in base neutron-functional job as that is being used by neutron
# stadium projects where they need to use stadium project as working dir.
zuul_work_dir: src/opendev.org/openstack/neutron
- job:
name: neutron-functional-with-uwsgi
@ -57,3 +63,9 @@
vars:
devstack_localrc:
NEUTRON_DEPLOY_MOD_WSGI: true
# Because this job uses neutron defined tox env (defined in base job),
# we need to set zuul_work_dir to neutron so that it can be used by
# other projects. Currently devstack run this job. Not setting this
# in base neutron-functional job as that is being used by neutron
# stadium projects where they need to use stadium project as working dir.
zuul_work_dir: src/opendev.org/openstack/neutron