
This change enables building the following stx-openstack images with WSGI within the Debian build framework: - stx-aodh - stx-ironic - stx-horizon - stx-keystone - stx-placement - stx-gnocchi They are now based on stx-debian and following the new convention for StarlingX images. Test Plan: PASS - Build images PASS - Manually upload the built images to a system, use helm-override to change their respective containers images and reapply stx-openstack PASS - Ensure affected pods successfully start and are running PASS - Ensure affected pods liveness and readiness probes are healthy Story: 2010072 Task: 47089 Depends-On: https://review.opendev.org/c/starlingx/root/+/871314 Depends-On: https://review.opendev.org/c/starlingx/root/+/871638 Depends-On: https://review.opendev.org/c/starlingx/root/+/871705 Signed-off-by: Luan Nunes Utimura <LuanNunes.Utimura@windriver.com> Change-Id: I18bcb51f2826fd0382370f5236db4b5954ac1b53
19 lines
913 B
Plaintext
19 lines
913 B
Plaintext
BUILDER=loci
|
|
LABEL=stx-horizon
|
|
PROJECT=horizon
|
|
PROJECT_REPO=https://opendev.org/openstack/horizon.git
|
|
PROJECT_UID=42425
|
|
PROJECT_GID=42425
|
|
PIP_PACKAGES="pycryptodomex python-ceilometerclient \
|
|
coverage pyudev ldap"
|
|
DIST_REPOS="OS"
|
|
PROFILES="fluent horizon 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 && \
|
|
ln -s /bin/true /usr/bin/a2enmod && \
|
|
sed -i -e 's/raise ImproperlyConfigured..mysqlclient 1.3.13 or newer is required.*/pass/' /var/lib/openstack/lib/python3.9/site-packages/django/db/backends/mysql/base.py && \
|
|
sed -i -e '/query.decode.errors=.replace../s/decode/encode/' /var/lib/openstack/lib/python3.9/site-packages/django/db/backends/mysql/operations.py && \
|
|
sed -i 's/Listen 80/# Listen 80/' /etc/apache2/ports.conf
|
|
"
|