neutron-vpnaas/tools
Paul Michali d8dd053b0a VPNaaS: Don't clone neutron automatically for tests
As part of the work to allow VPN functionals job to run when Neutron
commits are reviewed, we need to be more intelligent about how
dependencies are resolved in the tox.ini for this repo.

This commit does the same as LBaaS, using a script to determine whether
an existing Neutron repo exists (and use that for a Neutron patch-set
running the VPN tests) or whether the Neutron repo needs to be cloned
(for a VPN patch set).

With the VPN repo, the rootwrap config file and filters need to be set
up. The deploy_rootwrap script is modified to do all actions related to
setup, instead of doing part of that in tox.ini, as before. In addition,
rootwrap config and needed filters for testing from Neutron are added to
this repo, so there is no dependency on Neutron (whose location cannot
be assumed in the gate).

NOTE: To run functional tests locally, one needs to set VENV for the
desired functional target and invoke configure_vpn_for_func_testing.sh.
Next, run tox for the functional target with --notest to setup the
virtual environment. Then, install Neutron into the virtual env. Finally,
the functional test can then be invoked.

This must be upstreamed, before allowing the VPN functional job to run
for Neutron jobs.

Change-Id: Idb3c4dff0dbb40e30b2b49591df0b014b769f167
2015-07-06 09:51:47 -04:00
..
check_i18n_test_case.txt Add script for checking i18n message 2012-12-10 17:29:54 +08:00
check_i18n.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
check_unit_test_structure.sh VPNaaS: Reorganize test tree 2015-04-07 15:57:19 +00:00
clean.sh VPNaaS: Remove check for bash usage 2015-04-07 16:18:04 +00:00
configure_for_vpn_func_testing.sh Set owner of Q_VPN_CONF_FILE file to STACK_USER user 2015-05-29 22:59:22 +03:00
deploy_rootwrap.sh VPNaaS: Don't clone neutron automatically for tests 2015-07-06 09:51:47 -04:00
i18n_cfg.py Fix message i18n error 2013-09-08 15:58:12 +08:00
install_venv_common.py Split vpnaas services code into neutron-vpnaas 2014-12-08 13:37:08 -07:00
install_venv.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
pretty_tox.sh Migrate to oslo.concurrency 2015-01-14 17:58:09 +01:00
subunit-trace.py Show progress output while running unit tests 2014-11-20 21:05:32 +00:00
tox_install.sh VPNaaS: Don't clone neutron automatically for tests 2015-07-06 09:51:47 -04:00
with_venv.sh VPNaaS: Remove check for bash usage 2015-04-07 16:18:04 +00:00