fix(gate): update script

Update setup script to use pip3. Also, removed the artificial cap for
cmd2 package.

Change-Id: I597f7a455731119178569d8ccfc185e458c4b207
Signed-off-by: Tin Lam <tin@irrational.io>
This commit is contained in:
Tin Lam 2020-04-03 13:20:02 -05:00
parent 382bc2e4ad
commit 81da77bd7e
1 changed files with 3 additions and 4 deletions

View File

@ -13,10 +13,9 @@
set -xe
sudo -H -E pip install "cmd2<=0.8.7"
sudo -H -E pip install \
-c${UPPER_CONSTRAINTS_FILE:=https://releases.openstack.org/constraints/upper/master} \
python-openstackclient python-heatclient --ignore-installed
sudo -H -E pip3 install \
-c${UPPER_CONSTRAINTS_FILE:=https://releases.openstack.org/constraints/upper/master} \
cmd2 python-openstackclient python-heatclient --ignore-installed
sudo -H mkdir -p /etc/openstack
sudo -H chown -R $(id -un): /etc/openstack