From 94fb076f5b0ffd854f229d168d96a5368dfe8be9 Mon Sep 17 00:00:00 2001 From: Nikos Mimigiannis Date: Wed, 5 Jun 2019 12:31:18 +0300 Subject: Pin ara version to 0.16.4 The ara module just released an update which changes how the module can be imported. As a result, the xci-deploy script immediately fails when trying to setup the virtualenv. This patch sets ara to its previous version (ara==0.16.4). Change-Id: Ic54d18dc877857389e8b36bbf2e8bf4b70bc2812 Signed-off-by: Nikos Mimigiannis --- xci/files/xci-lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xci/files/xci-lib.sh') diff --git a/xci/files/xci-lib.sh b/xci/files/xci-lib.sh index 75e957f9..ef7697f6 100644 --- a/xci/files/xci-lib.sh +++ b/xci/files/xci-lib.sh @@ -189,7 +189,7 @@ function install_ansible() { # We are inside the virtualenv now so we should be good to use pip and python from it. pip -q install --upgrade pip==9.0.3 # We need a version which supports the '-c' parameter - pip -q install --upgrade -c $uc -c $osa_uc ara virtualenv pip setuptools shade ansible==$XCI_ANSIBLE_PIP_VERSION ansible-lint==3.4.21 + pip -q install --upgrade -c $uc -c $osa_uc ara==0.16.4 virtualenv pip setuptools shade ansible==$XCI_ANSIBLE_PIP_VERSION ansible-lint==3.4.21 ara_location=$(python -c "import os,ara; print(os.path.dirname(ara.__file__))") export ANSIBLE_CALLBACK_PLUGINS="/etc/ansible/roles/plugins/callback:${ara_location}/plugins/callbacks" -- cgit 1.2.3-korg