summaryrefslogtreecommitdiffstats
path: root/xci/files
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2018-04-17 10:57:02 +0100
committerMarkos Chandras <mchandras@suse.de>2018-04-20 11:15:05 +0100
commit71d3c3750c89820c9e759b5f00b403a19836d77a (patch)
treecb00456fdf17ee386f872ca4fabdaacc24966823 /xci/files
parent73f5018ee500401e774c42ea8f32b8db8a5146fd (diff)
xci: install-lib: Make sure pip is upgraded first
We need to make sure that pip is the first thing we upgrade in the virtual environment because old pip releases do not support the '-c' option which we use to install the rest of the required components. Change-Id: I8b3ec080617324bfefbec2a6cdfa6ef58afb7c20 Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'xci/files')
-rw-r--r--xci/files/install-lib.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/xci/files/install-lib.sh b/xci/files/install-lib.sh
index 1a6c0b2f..cd9aa73e 100644
--- a/xci/files/install-lib.sh
+++ b/xci/files/install-lib.sh
@@ -134,6 +134,7 @@ function install_ansible() {
set -u
# 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 ara virtualenv pip setuptools ansible==$XCI_ANSIBLE_PIP_VERSION ansible-lint==3.4.21
ara_location=$(python -c "import os,ara; print(os.path.dirname(ara.__file__))")