upstream/openstack/python-keystone/centos/stx-keystone.stable_docker_image
yuchengde b8b897a028 Upgrade openstack docker images for stable/ussuri
Update the directive files to be compatible with ussuri version build.
Since openstack ussuri images are based on python3 environment, we have
to install rh-python36-wsgi for httpd/apache and copy related files
into /etc/httpd/. Without this CUSTOMIZATION, apache could not work.

Story: 2007474
Task: 39179

Depends-on: https://review.opendev.org/#/c/731461/
Change-Id: I415ea75eb24d8b1c3151b63efd2e82075e68f26e
Signed-off-by: Yu Chengde <yu.chengde@99cloud.com>
2020-06-19 00:09:10 +08:00

13 lines
488 B
Plaintext

BUILDER=loci
LABEL=stx-keystone
PROJECT=keystone
PROJECT_REPO=https://opendev.org/openstack/keystone.git
PROJECT_REF=stable/ussuri
PIP_PACKAGES="python-openstackclient ldap ldappool python-ldap pylint"
PROFILES="fluent apache"
CUSTOMIZATION="\
sudo cp /opt/rh/httpd24/root/etc/httpd/conf.modules.d/10-rh-python36-wsgi.conf /etc/httpd/conf.modules.d/10-wsgi.conf && \
sudo cp /opt/rh/httpd24/root/usr/lib64/httpd/modules/mod_rh-python36-wsgi.so /etc/httpd/modules/ \
"
PYTHON3=yes