Browse Source

(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
changes/13/737613/4
Mahmoudi, Ahmad (am495p) 2 weeks ago
parent
commit
64c7d012b1
3 changed files with 9 additions and 3 deletions
  1. +1
    -1
      tools/deployment/airskiff/developer/000-clone-dependencies.sh
  2. +2
    -2
      tools/deployment/airskiff/developer/020-setup-client.sh
  3. +6
    -0
      tools/gate/playbooks/airskiff-deploy-gate.yaml

+ 1
- 1
tools/deployment/airskiff/developer/000-clone-dependencies.sh View File

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


+ 2
- 2
tools/deployment/airskiff/developer/020-setup-client.sh View File

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


+ 6
- 0
tools/gate/playbooks/airskiff-deploy-gate.yaml View File

@@ -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…
Cancel
Save