diff --git a/modules/openstack_project/files/jenkins_job_builder/config/blazar.yaml b/modules/openstack_project/files/jenkins_job_builder/config/blazar.yaml index 360a33b21d..6ec21629e8 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/blazar.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/blazar.yaml @@ -21,6 +21,11 @@ export PROJECTS="stackforge/blazar-nova $PROJECTS" export PROJECTS="stackforge/python-blazarclient $PROJECTS" + # Construct a regex to limiting scope of tempest + r="^(?:tempest\.cli\.simple_read_only\.test_resource_.*)" + r="$r|^(?:tempest\.scenario\.test_resource_.*)" + export DEVSTACK_GATE_TEMPEST_REGEX="$r" + function pre_test_hook { # Install blazar devstack integration BLAZAR_BASE=/opt/stack/new/blazar @@ -34,11 +39,6 @@ BLAZAR_TEMPEST_DIR=$BLAZAR_BASE/contrib/tempest TEMPEST_DIR=${TEMPEST_DIR:-/opt/stack/new/tempest} cp -R $BLAZAR_TEMPEST_DIR/tempest/* $TEMPEST_DIR/tempest - - # Construct a regex to limiting scope of tempest - r="^(?:tempest\.cli\.simple_read_only\.test_resource_.*)" - r="$r|^(?:tempest\.scenario\.test_resource_.*)" - export DEVSTACK_GATE_TEMPEST_REGEX="$r" } export -f pre_test_hook