(fix) Add task to install pip3
Added task to install pip3 to adress the airhsip-shipyard zuul gate issue where airship-shipyard-airskiff-deployment job fails on: sudo -H -E pip install 'cmd2<=0.8.7' sudo: pip: command not found Updated pip to pip3 to move tom pip to pip3. Also, updated the openstack-helm-infra commit-id to the latest to use pip3 instead of pip. Change-Id: I0d4aef4de3c10a9317acad8c8c9e17e15b309172
This commit is contained in:
parent
868529d9fc
commit
64c7d012b1
@ -19,7 +19,7 @@ set -xe
|
||||
|
||||
CURRENT_DIR="$(pwd)"
|
||||
: "${INSTALL_PATH:="../"}"
|
||||
: "${OSH_INFRA_COMMIT:="eacf93722136636dcfbd2b68c59b71f071ffc085"}"
|
||||
: "${OSH_INFRA_COMMIT:="a31bb2b04918107a08cb14201ae72f2b5696cb9d"}"
|
||||
: "${CLONE_ARMADA:=true}"
|
||||
: "${CLONE_DECKHAND:=true}"
|
||||
: "${CLONE_SHIPYARD:=true}"
|
||||
|
@ -18,8 +18,8 @@
|
||||
set -xe
|
||||
|
||||
# Install OpenStack client and create OpenStack client configuration file.
|
||||
sudo -H -E pip install "cmd2<=0.8.7"
|
||||
sudo -H -E pip install python-openstackclient python-heatclient
|
||||
sudo -H -E pip3 install "cmd2<=0.8.7"
|
||||
sudo -H -E pip3 install python-openstackclient python-heatclient
|
||||
|
||||
sudo -H mkdir -p /etc/openstack
|
||||
sudo -H chown -R "$(id -un)": /etc/openstack
|
||||
|
@ -23,6 +23,12 @@
|
||||
daemon_reload: yes
|
||||
name: systemd-resolved
|
||||
become: yes
|
||||
- name: ensure pip3 installed
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
with_items:
|
||||
- python3-pip
|
||||
become: yes
|
||||
|
||||
- name: Clone dependencies
|
||||
shell: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user