upstream/openstack/python-placement/centos/stx-placement.dev_docker_image
Thiago Brito f1757b9f11 Setting PYTHON3=no for LOCI images
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
2022-01-24 22:26:35 +00:00

12 lines
416 B
Plaintext

BUILDER=loci
LABEL=stx-placement
PROJECT=placement
PROJECT_REPO=https://opendev.org/openstack/placement.git
PIP_PACKAGES="pycrypto httplib2 pylint"
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/ \
"