Partial revert of func job setup for VPNaaS repo

As part of enabling a new experimental functional test job for the
neutron-vpnaas repo, file filtering was incorrectly added to the
existing OpenSwan and new StrongSwan functional jobs.

The original intent was to have the StrongSwan job run tests in the
parent directory (shared tests) and the strongswan sub-directory, and
to have the OpenSwan job run tests in the parent directory and the
openswan sub-directory.

This wrong on two counts. First, these file filters are used to
determine what files changed will *trigger* the job. As it currently
stands, these filters are detecting only functional test file changes
and not neutron-vpnaas production code changes.

Second, to get the jobs to run on the desired set of functional test
files, shared test modules will be put in a sub-directory, and not in
the parent directory. Changes to tox.ini and hook files in the repo
are being used to select the right directories for testing.

Change-Id: I214f2c9610aedac2192d6bb777cd485688f938c6
Partial-Bug: 1424757
This commit is contained in:
Paul Michali 2015-03-06 07:26:08 -05:00
parent 59db4150c9
commit 08cb8010e2

View File

@ -683,19 +683,8 @@ jobs:
- name: ^(gate|check)-tempest-dsvm-networking-odl - name: ^(gate|check)-tempest-dsvm-networking-odl
branch: ^(?!stable) branch: ^(?!stable)
voting: false voting: false
- name: ^(gate|check)-neutron-vpnaas-dsvm-functional$ - name: ^check-neutron-vpnaas-dsvm-functional-sswan$
# Note: This job will run common test cases (first line), and
# OpenSwan specific tests (second line).
files:
- '^neutron_vpnaas/tests/functional/[^/]+\.py$'
- '^neutron_vpnaas/tests/functional/openswan/.+\.py$'
- name: check-neutron-vpnaas-dsvm-functional-sswan
voting: false voting: false
# Note: this job will run common test cases (first line), and
# StrongSwan specific tests (second line).
files:
- '^neutron_vpnaas/tests/functional/[^/]+\.py$'
- '^neutron_vpnaas/tests/functional/strongswan/.+\.py$'
# For Gerrit ver 2.4.x (using maven) # For Gerrit ver 2.4.x (using maven)
- name: ^(gate|check)-gerrit-unittests$ - name: ^(gate|check)-gerrit-unittests$
branch: ^openstack/2\.4.*$ branch: ^openstack/2\.4.*$