aboutsummaryrefslogtreecommitdiff
path: root/tests/test-scenario-nfv.sh
diff options
context:
space:
mode:
authorRadosław Piliszek <radoslaw.piliszek@gmail.com>2019-07-15 20:44:43 +0200
committerRadosław Piliszek <radoslaw.piliszek@gmail.com>2019-07-16 20:43:22 +0200
commit8a543098d68a4b945e62ce5c92ece0f5d73946bc (patch)
treea13f14c28fe5be9b8ebd071d1b8d8b0f542c783b /tests/test-scenario-nfv.sh
parentb0cac3d1604ed126ff8d5d23e3070ec78c293178 (diff)
downloadkolla-ansible-8a543098d68a4b945e62ce5c92ece0f5d73946bc.tar.gz
kolla-ansible-8a543098d68a4b945e62ce5c92ece0f5d73946bc.zip
CI: clean up requirements installation
We install kolla-ansible requirements in Zuul's Ansible playbooks. This patch cleans up the installation in scripts so that they are only concerned with auxiliary requirements: - ansible (since we do not track it in requirements) - ara (for log summaries) - openstack clients (for first init and tests after deployment) Additionally this patch installs openstack clients in a separate virtualenv. Note that all kolla-ansible requirements, ansible and ara are still installed system-wide. Change-Id: Iac04082ad39a9d823c515ba11c5db9af50ed225f Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
Diffstat (limited to 'tests/test-scenario-nfv.sh')
-rwxr-xr-xtests/test-scenario-nfv.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test-scenario-nfv.sh b/tests/test-scenario-nfv.sh
index 5fe01340b..8388ed3ce 100755
--- a/tests/test-scenario-nfv.sh
+++ b/tests/test-scenario-nfv.sh
@@ -50,11 +50,13 @@ function test_heat {
function install_requirements {
echo "TESTING: Install requirements"
- sudo -H pip install --ignore-installed -U "python-tackerclient" "python-heatclient" "networking-sfc" "python-mistralclient" "python-barbicanclient"
+ 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