f1757b9f11
Recently, LOCI changed its default so images are python3 if nothing is
specified at the *docker_image files. With the recent upversion of LOCI
in the build tools [1], we need to explictly set PYTHON3=no to images
that are still using python2. This commit fixes the StarlingX images to
use this parameter.
This will also remove all PYTHON3=yes since it's the detault now to
reduce uneeded LOCs and ease maintenance.
TEST PLAN
PASS build the stx-nova on the stable branch
PASS build the stx-openstackclients on the stable branch
PASS build the stx-platformclients on the stable branch
[1] 00bd632a68
Closes-Bug: #1958696
Depends-On: https://review.opendev.org/c/starlingx/root/+/826155
Signed-off-by: Thiago Brito <thiago.brito@windriver.com>
Change-Id: Idffec6b57371326e8667ac4b16ac9b11f22afe1a
14 lines
537 B
Plaintext
14 lines
537 B
Plaintext
BUILDER=loci
|
|
LABEL=stx-gnocchi
|
|
PROJECT=gnocchi
|
|
PROJECT_REPO=https://github.com/gnocchixyz/gnocchi.git
|
|
PROJECT_REF=4.3.2
|
|
PIP_PACKAGES="pylint SQLAlchemy SQLAlchemy-Utils oslo.db keystonemiddleware gnocchiclient pymemcache psycopg2"
|
|
DIST_PACKAGES="python3-rados"
|
|
PROFILES="gnocchi 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/ \
|
|
"
|
|
|