From 25ea2b1c820e647b0ff7fe143acbf483058c6bf2 Mon Sep 17 00:00:00 2001 From: DQ Date: Mon, 25 Jan 2021 16:54:09 +0800 Subject: [PATCH] Use apt to install python in ci To avoid upstream get_pip.py changes Signed-off-by: DQ --- tests/ci/api_common_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ci/api_common_install.sh b/tests/ci/api_common_install.sh index 43d5dcdad..fc2fadcda 100755 --- a/tests/ci/api_common_install.sh +++ b/tests/ci/api_common_install.sh @@ -10,7 +10,7 @@ set -e if [ -z "$1" ]; then echo no ip specified; exit 1;fi # prepare cert ... sudo ./tests/generateCerts.sh $1 -sudo wget https://bootstrap.pypa.io/get-pip.py && sudo python ./get-pip.py && sudo pip install --ignore-installed urllib3 chardet requests --upgrade +sudo apt-get install -y python-pip && sudo pip install --ignore-installed urllib3 chardet requests --upgrade sudo ./tests/hostcfg.sh if [ "$2" = 'LDAP' ]; then