b8b897a028
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>
13 lines
431 B
Plaintext
13 lines
431 B
Plaintext
BUILDER=loci
|
|
LABEL=stx-aodh
|
|
PROJECT=aodh
|
|
PROJECT_REPO=https://opendev.org/openstack/aodh.git
|
|
PIP_PACKAGES="pylint SQLAlchemy gnocchiclient aodhclient"
|
|
PROFILES="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
|
|
|