CI: Move NFV reqs installation to where it belongs

This ought to fix #1864238 for the stable branches.

Change-Id: I218905247a4a4003ecfc2c9ab3e47767bb5ab33e
Related-bug: #1864238
This commit is contained in:
Radosław Piliszek 2020-06-12 21:33:22 +02:00
parent 2855a4027b
commit 31fb5cc672
2 changed files with 3 additions and 6 deletions

View File

@ -48,16 +48,10 @@ function test_heat {
openstack stack list
}
function install_requirements {
echo "TESTING: Install requirements"
pip install "python-tackerclient" "python-heatclient" "networking-sfc" "python-mistralclient" "python-barbicanclient"
}
function test_scenario_nfv_logged {
. /etc/kolla/admin-openrc.sh
. ~/openstackclient-venv/bin/activate
install_requirements
test_tacker
test_barbican
test_mistral

View File

@ -20,6 +20,9 @@ function setup_openstack_clients {
if [[ $SCENARIO == masakari ]]; then
packages+=(python-masakariclient)
fi
if [[ $SCENARIO == scenario_nfv ]]; then
packages+=(python-tackerclient python-barbicanclient python-mistralclient)
fi
virtualenv ~/openstackclient-venv
~/openstackclient-venv/bin/pip install -U pip
~/openstackclient-venv/bin/pip install -c $UPPER_CONSTRAINTS ${packages[@]}