Split functional job

Split the functional job into
- functional-compute
- functional-image-volume-network-scenario

Change-Id: I815da397f4963385639187912f76872aa6dc755a
This commit is contained in:
Jeremy Freudberg 2018-07-03 10:05:29 -04:00 committed by Kristi Nikolla
parent fd5e5d3e42
commit ae11bb3a96
3 changed files with 18 additions and 4 deletions

View File

@ -1,7 +1,9 @@
- project:
check:
jobs:
- mixmatch-dsvm-functional:
- mixmatch-dsvm-functional-compute:
voting: false
- mixmatch-dsvm-functional-image-volume-network-scenario:
voting: false
- openstack-tox-lower-constraints
@ -9,7 +11,7 @@
jobs:
- openstack-tox-lower-constraints
- job:
name: mixmatch-dsvm-functional
name: mixmatch-dsvm-functional-base
parent: legacy-dsvm-base
run: playbooks/legacy/mixmatch-dsvm-functional/run.yaml
post-run: playbooks/legacy/mixmatch-dsvm-functional/post.yaml
@ -18,3 +20,14 @@
- openstack-infra/devstack-gate
- openstack/mixmatch
- job:
name: mixmatch-dsvm-functional-compute
parent: mixmatch-dsvm-functional-base
vars:
tempest_regex: "^tempest.api.compute"
- job:
name: mixmatch-dsvm-functional-image-volume-network-scenario
parent: mixmatch-dsvm-functional-base
vars:
tempest_regex: "(^tempest.api.image|^tempest.api.volume|^tempest.api.network|^tempest.scenario)"

View File

@ -38,5 +38,5 @@ fi
sudo chown -R $USER:stack $BASE/new/tempest
sudo chown -R $USER:stack /opt/stack/data/tempest
ostestr -r '(^tempest.api.compute|^tempest.api.image|^tempest.api.volume|^tempest.api.network|^tempest.scenario)' \
--blacklist-file $BASE/new/mixmatch/mixmatch/tests/functional/tempest_blacklist.txt
ostestr -r "$TEMPEST_REGEX" --blacklist-file \
$BASE/new/mixmatch/mixmatch/tests/functional/tempest_blacklist.txt

View File

@ -41,6 +41,7 @@
function post_test_hook {
# Configure and run functional tests
export TEMPEST_REGEX='{{ tempest_regex }}'
$BASE/new/mixmatch/mixmatch/tests/functional/hooks/dsvm_hook.sh
}
export -f post_test_hook