Merge "CI: Move NFV reqs installation to where it belongs"
This commit is contained in:
commit
64f05d7a05
@ -48,16 +48,10 @@ function test_heat {
|
|||||||
openstack stack list
|
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 {
|
function test_scenario_nfv_logged {
|
||||||
. /etc/kolla/admin-openrc.sh
|
. /etc/kolla/admin-openrc.sh
|
||||||
. ~/openstackclient-venv/bin/activate
|
. ~/openstackclient-venv/bin/activate
|
||||||
|
|
||||||
install_requirements
|
|
||||||
test_tacker
|
test_tacker
|
||||||
test_barbican
|
test_barbican
|
||||||
test_mistral
|
test_mistral
|
||||||
|
@ -20,6 +20,9 @@ function setup_openstack_clients {
|
|||||||
if [[ $SCENARIO == masakari ]]; then
|
if [[ $SCENARIO == masakari ]]; then
|
||||||
packages+=(python-masakariclient)
|
packages+=(python-masakariclient)
|
||||||
fi
|
fi
|
||||||
|
if [[ $SCENARIO == scenario_nfv ]]; then
|
||||||
|
packages+=(python-tackerclient python-barbicanclient python-mistralclient)
|
||||||
|
fi
|
||||||
if [[ "debian" == $BASE_DISTRO ]]; then
|
if [[ "debian" == $BASE_DISTRO ]]; then
|
||||||
sudo apt -y install python3-venv
|
sudo apt -y install python3-venv
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user