Use apt to install python in ci

To avoid upstream get_pip.py changes

Signed-off-by: DQ <dengq@vmware.com>
This commit is contained in:
DQ 2021-01-25 16:54:09 +08:00
parent 28ae77e5c6
commit 25ea2b1c82

View File

@ -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