Add UPGRADE_PIP_PACKAGES parameter to Images
This change adds UPGRADE_PIP_PACKAGES=pip argument to stx-openstack images. This change will be necessary when the images start to be build with Antelope version. This parameter (was introduced in [1]) was added only on the images that were facing issues on dependencies versions resolution. The images that will receive this parameter are: - stx-aodh - stx-cinder - stx-horizon On this change we also change the images file from this repo PIP_PACKAGES disposal for allow better reading of each file dependencies. Even images that are getting the UPGRADE_PIP_PACKAGES parameter. It is important to notice that this change alone won't allow the images to be build, as we still need changes in the build tools dependencies. [1] https://review.opendev.org/c/starlingx/root/+/870429 Test Plan: PASS: Manually change the build-tools repo with the necessary upversions of constraints and locally build the images. PASS: Notice the PIP dependencies being resolved Story: 2010715 Task: 48429 Signed-off-by: Romulo Leite <romulo.leite@windriver.com> Change-Id: I2b1b4a728575bd4ec939ddfd7ac7a9538182b8b1
This commit is contained in:
parent
a98e6464f6
commit
b99b793368
@ -3,10 +3,15 @@ LABEL=stx-aodh
|
||||
PROJECT=aodh
|
||||
PROJECT_REPO=https://opendev.org/openstack/aodh.git
|
||||
PROJECT_REF=stable/2023.1
|
||||
DIST_REPOS="OS"
|
||||
UPGRADE_PIP_PACKAGES=pip
|
||||
PROJECT_UID=42425
|
||||
PROJECT_GID=42425
|
||||
PIP_PACKAGES="pylint SQLAlchemy gnocchiclient aodhclient"
|
||||
DIST_REPOS="OS"
|
||||
PIP_PACKAGES="\
|
||||
aodhclient \
|
||||
gnocchiclient \
|
||||
SQLAlchemy \
|
||||
"
|
||||
PROFILES="apache"
|
||||
CUSTOMIZATION="\
|
||||
ln -s /etc/apache2/mods-available/wsgi.load /etc/apache2/mods-enabled/wsgi.load && \
|
||||
|
@ -5,12 +5,24 @@ PROJECT_REPO=https://opendev.org/openstack/ironic.git
|
||||
PROJECT_REF=stable/2023.1
|
||||
PROJECT_UID=42425
|
||||
PROJECT_GID=42425
|
||||
PIP_PACKAGES="pylint alembic pysnmp"
|
||||
DIST_REPOS="OS"
|
||||
DIST_PACKAGES="ipxe tftpd-hpa openipmi ipmitool iproute2 qemu-utils syslinux-common open-iscsi"
|
||||
UPDATE_SYSTEM_ACCOUNT="yes"
|
||||
PIP_PACKAGES="\
|
||||
alembic \
|
||||
pysnmp
|
||||
"
|
||||
DIST_PACKAGES="\
|
||||
ipmitool \
|
||||
iproute2 \
|
||||
ipxe \
|
||||
open-iscsi \
|
||||
openipmi \
|
||||
qemu-utils \
|
||||
syslinux-common \
|
||||
tftpd-hpa
|
||||
"
|
||||
PROFILES="ironic apache"
|
||||
CUSTOMIZATION="\
|
||||
ln -s /etc/apache2/mods-available/wsgi.load /etc/apache2/mods-enabled/wsgi.load && \
|
||||
ln -s /etc/apache2/mods-available/wsgi.conf /etc/apache2/mods-enabled/wsgi.conf
|
||||
"
|
||||
UPDATE_SYSTEM_ACCOUNT="yes"
|
||||
|
@ -3,7 +3,7 @@ LABEL=stx-barbican
|
||||
PROJECT=barbican
|
||||
DIST_REPOS="OS"
|
||||
PROJECT_REPO=https://opendev.org/openstack/barbican.git
|
||||
NON_UNIQUE_SYSTEM_ACCOUNT="yes"
|
||||
PROJECT_REF=stable/2023.1
|
||||
NON_UNIQUE_SYSTEM_ACCOUNT="yes"
|
||||
PIP_PACKAGES="pycryptodomex"
|
||||
PROFILES="fluent"
|
||||
|
@ -3,21 +3,21 @@ LABEL=stx-ceilometer
|
||||
PROJECT=ceilometer
|
||||
PROJECT_REPO=https://opendev.org/openstack/ceilometer.git
|
||||
PROJECT_REF=stable/2023.1
|
||||
NON_UNIQUE_SYSTEM_ACCOUNT="yes"
|
||||
UPDATE_SYSTEM_ACCOUNT="yes"
|
||||
DIST_REPOS="OS"
|
||||
PIP_PACKAGES="\
|
||||
gnocchiclient \
|
||||
libvirt-python \
|
||||
panko==5.0.0
|
||||
"
|
||||
DIST_REPOS="OS"
|
||||
DIST_PACKAGES="\
|
||||
ipmitool \
|
||||
libvirt0 \
|
||||
libvirt-clients \
|
||||
libvirt-daemon \
|
||||
libvirt-daemon-driver-lxc \
|
||||
libvirt-daemon-driver-qemu \
|
||||
libvirt-daemon-driver-storage-gluster \
|
||||
libvirt-login-shell
|
||||
libvirt-login-shell \
|
||||
ipmitool
|
||||
"
|
||||
UPDATE_SYSTEM_ACCOUNT="yes"
|
||||
NON_UNIQUE_SYSTEM_ACCOUNT="yes"
|
||||
|
@ -4,9 +4,13 @@ PROJECT=cinder
|
||||
DIST_REPOS="OS"
|
||||
PROJECT_REPO=https://opendev.org/openstack/cinder.git
|
||||
PROJECT_REF=stable/2023.1
|
||||
UPGRADE_PIP_PACKAGES=pip
|
||||
PROJECT_UID=42425
|
||||
PROJECT_GID=42425
|
||||
NON_UNIQUE_SYSTEM_ACCOUNT="yes"
|
||||
DIST_PACKAGES="nfs-common"
|
||||
PIP_PACKAGES="pycryptodomex python-swiftclient pylint"
|
||||
PIP_PACKAGES="\
|
||||
pycryptodomex \
|
||||
python-swiftclient
|
||||
"
|
||||
PROFILES="fluent cinder lvm ceph qemu"
|
||||
|
@ -6,6 +6,10 @@ PROJECT_REF=stable/2023.1
|
||||
DIST_REPOS="OS"
|
||||
UPDATE_SYSTEM_ACCOUNT="yes"
|
||||
NON_UNIQUE_SYSTEM_ACCOUNT="yes"
|
||||
PIP_PACKAGES="pycryptodomex python-swiftclient psutil pylint "
|
||||
PIP_PACKAGES="\
|
||||
pycryptodomex \
|
||||
python-swiftclient \
|
||||
psutil
|
||||
"
|
||||
DIST_PACKAGES="libpq5"
|
||||
PROFILES="fluent glance ceph"
|
||||
|
@ -5,8 +5,16 @@ PROJECT_REPO=https://github.com/gnocchixyz/gnocchi.git
|
||||
PROJECT_REF=4.3.2
|
||||
PROJECT_UID=42425
|
||||
PROJECT_GID=42425
|
||||
PIP_PACKAGES="pylint SQLAlchemy SQLAlchemy-Utils oslo.db keystonemiddleware gnocchiclient pymemcache psycopg2"
|
||||
DIST_REPOS="OS"
|
||||
PIP_PACKAGES="\
|
||||
gnocchiclient \
|
||||
keystonemiddleware \
|
||||
pymemcache \
|
||||
psycopg2 \
|
||||
oslo.db \
|
||||
SQLAlchemy \
|
||||
SQLAlchemy-Utils
|
||||
"
|
||||
DIST_PACKAGES="python3-rados"
|
||||
PROFILES="gnocchi apache"
|
||||
CUSTOMIZATION="\
|
||||
|
@ -5,6 +5,9 @@ PROJECT_REPO=https://opendev.org/openstack/heat.git
|
||||
PROJECT_REF=stable/2023.1
|
||||
DIST_REPOS="OS"
|
||||
NON_UNIQUE_SYSTEM_ACCOUNT="yes"
|
||||
PIP_PACKAGES="pycryptodomex pylint"
|
||||
DIST_PACKAGES="curl libxslt1.1"
|
||||
PIP_PACKAGES="pycryptodomex"
|
||||
DIST_PACKAGES="\
|
||||
curl \
|
||||
libxslt1.1
|
||||
"
|
||||
PROFILES="fluent heat apache"
|
||||
|
@ -3,11 +3,17 @@ LABEL=stx-horizon
|
||||
PROJECT=horizon
|
||||
PROJECT_REPO=https://opendev.org/openstack/horizon.git
|
||||
PROJECT_REF=stable/2023.1
|
||||
UPGRADE_PIP_PACKAGES=pip
|
||||
DIST_REPOS="OS"
|
||||
PROJECT_UID=42425
|
||||
PROJECT_GID=42425
|
||||
PIP_PACKAGES="pycryptodomex python-ceilometerclient \
|
||||
coverage pyudev ldap"
|
||||
DIST_REPOS="OS"
|
||||
PIP_PACKAGES="\
|
||||
coverage \
|
||||
ldap \
|
||||
pycryptodomex \
|
||||
python-ceilometerclient \
|
||||
pyudev
|
||||
"
|
||||
PROFILES="fluent horizon apache"
|
||||
CUSTOMIZATION="\
|
||||
ln -s /etc/apache2/mods-available/wsgi.load /etc/apache2/mods-enabled/wsgi.load && \
|
||||
|
@ -3,7 +3,12 @@ LABEL=stx-keystone
|
||||
PROJECT=keystone
|
||||
PROJECT_REPO=https://opendev.org/openstack/keystone.git
|
||||
PROJECT_REF=stable/2023.1
|
||||
PIP_PACKAGES="python-openstackclient ldap ldappool python-ldap pylint"
|
||||
PIP_PACKAGES="\
|
||||
ldap \
|
||||
ldappool \
|
||||
python-ldap \
|
||||
python-openstackclient
|
||||
"
|
||||
DIST_REPOS="OS"
|
||||
PROFILES="fluent apache"
|
||||
CUSTOMIZATION="\
|
||||
|
@ -6,6 +6,11 @@ PROJECT_REPO=https://opendev.org/openstack/neutron.git
|
||||
PROJECT_REF=stable/2023.1
|
||||
UPDATE_SYSTEM_ACCOUNT="yes"
|
||||
NON_UNIQUE_SYSTEM_ACCOUNT="yes"
|
||||
PIP_PACKAGES="networking-sfc pycrypto pylint tinyrpc lxml"
|
||||
PIP_PACKAGES="\
|
||||
lxml \
|
||||
networking-sfc \
|
||||
pycrypto \
|
||||
tinyrpc
|
||||
"
|
||||
DIST_PACKAGES="ethtool lshw"
|
||||
PROFILES="fluent neutron linuxbridge openvswitch"
|
||||
|
@ -3,8 +3,25 @@ LABEL=stx-openstackclients
|
||||
PROJECT=infra
|
||||
PROJECT_REPO=nil
|
||||
DIST_REPOS="OS"
|
||||
PIP_PACKAGES="pycryptodomex httplib2 pylint pyopenssl ndg-httpsclient pyasn1 \
|
||||
python-ceilometerclient python-cinderclient python-glanceclient python-heatclient \
|
||||
python-keystoneclient python-neutronclient python-novaclient python-barbicanclient \
|
||||
python-swiftclient python-openstackclient"
|
||||
DIST_PACKAGES="python-dev libffi-dev openssl bash-completion"
|
||||
PIP_PACKAGES="\
|
||||
httplib2 \
|
||||
ndg-httpsclient \
|
||||
pyasn1 \
|
||||
pycryptodomex \
|
||||
pyopenssl \
|
||||
python-ceilometerclient \
|
||||
python-cinderclient \
|
||||
python-glanceclient \
|
||||
python-heatclient \
|
||||
python-keystoneclient \
|
||||
python-neutronclient \
|
||||
python-novaclient python-barbicanclient \
|
||||
python-openstackclient \
|
||||
python-swiftclient
|
||||
"
|
||||
DIST_PACKAGES="\
|
||||
bash-completion \
|
||||
libffi-dev \
|
||||
openssl \
|
||||
python-dev
|
||||
"
|
||||
|
Loading…
x
Reference in New Issue
Block a user