openstack-armada-app/upstream/openstack/python-keystone/debian/stx-keystone.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

20 lines
781 B
Plaintext

BUILDER=loci
LABEL=stx-keystone
PROJECT=keystone
PROJECT_REPO=https://opendev.org/openstack/keystone.git
PROJECT_REF=stable/2023.1
PIP_PACKAGES="\
ldap \
ldappool \
python-ldap \
python-openstackclient
"
DIST_REPOS="OS"
PROFILES="fluent 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 && \
sed -i \"s/getattr(base64, 'decodebytes', base64.decodestring)/getattr(base64, 'decodebytes')/g\" /var/lib/openstack/lib/python3.9/site-packages/saml2/saml.py && \
sed -i \"s/getattr(base64, 'encodebytes', base64.encodestring)/getattr(base64, 'encodebytes')/g\" /var/lib/openstack/lib/python3.9/site-packages/saml2/saml.py
"