openstack-armada-app/upstream/openstack/python-gnocchi/debian/stx-gnocchi.stable_docker_image
Romulo Leite b99b793368 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
2023-07-24 10:02:55 -03:00

24 lines
555 B
Plaintext

BUILDER=loci
LABEL=stx-gnocchi
PROJECT=gnocchi
PROJECT_REPO=https://github.com/gnocchixyz/gnocchi.git
PROJECT_REF=4.3.2
PROJECT_UID=42425
PROJECT_GID=42425
DIST_REPOS="OS"
PIP_PACKAGES="\
gnocchiclient \
keystonemiddleware \
pymemcache \
psycopg2 \
oslo.db \
SQLAlchemy \
SQLAlchemy-Utils
"
DIST_PACKAGES="python3-rados"
PROFILES="gnocchi 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
"