From 8a543098d68a4b945e62ce5c92ece0f5d73946bc Mon Sep 17 00:00:00 2001 From: Radosław Piliszek Date: Mon, 15 Jul 2019 20:44:43 +0200 Subject: CI: clean up requirements installation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tests/test-scenario-nfv.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/test-scenario-nfv.sh') 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 -- cgit v1.2.3