Update devstack hooks to work with pecan jobs

Update the post_test_hook conditional to check for the API job
to also look for the api-pecan job and correct the section
name in the gate hook for the neutron.conf web framework setting.

Change-Id: I8816bb6efa45b9e1bd8bb1a826f82ff45d960cec
This commit is contained in:
Kevin Benton 2016-02-17 19:59:17 -08:00
parent 8c43659e88
commit d4931045b5
2 changed files with 6 additions and 1 deletions

View File

@ -45,7 +45,7 @@ then
cat >> $DEVSTACK_PATH/local.conf <<EOF
[[post-config|/etc/neutron/neutron.conf]]
[default]
[DEFAULT]
web_framework=pecan
EOF

View File

@ -39,6 +39,11 @@ function generate_testr_results {
fi
}
if [ "$venv" == "api-pecan" ]; then
# api-pecan is the same as the regular api job
venv='api'
fi
if [[ "$venv" == dsvm-functional* ]] || [[ "$venv" == dsvm-fullstack* ]]
then
owner=stack