
This addresses failures for neutronclient's functional job of advanced services. VPNaaS is no longer maintained and thus it makes sense to stop gating against it. Hook and tests are kept for local development and in case things will resurrect back to life. This patch also makes extension functional tests conditional to the presence of the extension under test. Closes-bug: #1645819 Change-Id: I17ab8accaa943b9ac04893b5e131be0afe0f5429
28 lines
545 B
Bash
Executable File
28 lines
545 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -ex
|
|
|
|
VENV=${1:-"functional"}
|
|
|
|
GATE_DEST=$BASE/new
|
|
NEUTRONCLIENT_PATH=$GATE_DEST/python-neutronclient
|
|
GATE_HOOKS=$NEUTRONCLIENT_PATH/neutronclient/tests/functional/hooks
|
|
DEVSTACK_PATH=$GATE_DEST/devstack
|
|
|
|
# Inject config from hook into localrc
|
|
function load_rc_hook {
|
|
local hook="$1"
|
|
config=$(cat $GATE_HOOKS/$hook)
|
|
export DEVSTACK_LOCAL_CONFIG+="
|
|
# generated from hook '$hook'
|
|
${config}
|
|
"
|
|
}
|
|
|
|
if [ "$VENV" == "functional-adv-svcs" ]
|
|
then
|
|
load_rc_hook fwaas
|
|
fi
|
|
|
|
$BASE/new/devstack-gate/devstack-vm-gate.sh
|