From 9e88048440b122b8e89c8eda4f086169fdd94700 Mon Sep 17 00:00:00 2001 From: leiskeki Date: Fri, 4 Nov 2022 17:38:21 +0000 Subject: [PATCH] Update stx-platformclients debian image This creates stx-platformclients debian image for Debian with Python3 with updates on libraries to Debian. I added wheels that weren't being automatically created on debian_stable_wheels.inc and changed the names of packages to build on Python3. Test Plan: PASS: Build debian iso and perform fresh install. PASS Build python3 wheels tarball on Debian and build stx-platformclients image on Debian. Story: 2009831 Task: 46792 Signed-off-by: Luiz Felipe Kina Change-Id: Idf742cf75d9a07d2d90a4bc7b4cdec10e7058a8a --- debian_stable_docker_images.inc | 1 + debian_stable_wheels.inc | 3 +++ .../debian/stx-platformclients.stable_docker_image | 8 ++++---- 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 debian_stable_docker_images.inc create mode 100644 debian_stable_wheels.inc diff --git a/debian_stable_docker_images.inc b/debian_stable_docker_images.inc new file mode 100644 index 00000000..bfbc922e --- /dev/null +++ b/debian_stable_docker_images.inc @@ -0,0 +1 @@ +openstack/python-platformclients diff --git a/debian_stable_wheels.inc b/debian_stable_wheels.inc new file mode 100644 index 00000000..fc5b4613 --- /dev/null +++ b/debian_stable_wheels.inc @@ -0,0 +1,3 @@ +distributedcloud-client-wheels +python3-oidcauthtools-wheels +nfv-wheels diff --git a/openstack/python-platformclients/debian/stx-platformclients.stable_docker_image b/openstack/python-platformclients/debian/stx-platformclients.stable_docker_image index 489092e3..3208228c 100644 --- a/openstack/python-platformclients/debian/stx-platformclients.stable_docker_image +++ b/openstack/python-platformclients/debian/stx-platformclients.stable_docker_image @@ -2,11 +2,11 @@ BUILDER=loci LABEL=stx-platformclients PROJECT=infra PROJECT_REPO=nil -DIST_PACKAGES="python-devel libffi-devel openssl-devel which bash-completion helm kubernetes-1.21.8-client" -PIP_PACKAGES="pycryptodomex httplib2 pylint pyopenssl ndg-httpsclient pyasn1 \ +DIST_REPOS="OS" +DIST_PACKAGES="python3-dev libffi-dev libssl-dev libcurl4-openssl-dev libfile-which-perl bash-completion helm kubernetes-1.24.4-client" +PIP_PACKAGES="pycryptodomex httplib2 pyopenssl ndg-httpsclient pyasn1 \ six prettytable PyYAML python-keystoneclient python-barbicanclient \ python-openstackclient cgtsclient fmclient distributedcloud_client \ osprofiler beautifulsoup4 oidcauthtools mechanize html5lib webencodings \ nfv-client" -CUSTOMIZATION="ln -s /usr/local/kubernetes/1.21.8/stage2/usr/bin/kubectl /usr/bin/" -PYTHON3=no +CUSTOMIZATION="ln -s /usr/local/kubernetes/1.24.4/stage2/usr/bin/kubectl /usr/bin/"