
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
13 lines
588 B
Plaintext
13 lines
588 B
Plaintext
BUILDER=loci
|
|
LABEL=stx-platformclients
|
|
PROJECT=infra
|
|
PROJECT_REPO=nil
|
|
DIST_PACKAGES="python-devel libffi-devel openssl-devel which bash-completion helm kubernetes-1.21.8-client"
|
|
PIP_PACKAGES="pycrypto httplib2 pylint pyopenssl ndg-httpsclient pyasn1 \
|
|
six prettytable PyYAML python-keystoneclient python-barbicanclient \
|
|
python-openstackclient cgtsclient fmclient distributedcloud_client \
|
|
osprofiler beautifulsoup4 oidcauthtools mechanize html5lib webencodings \
|
|
nfv-client"
|
|
CUSTOMIZATION="ln -s /usr/local/kubernetes/1.21.8/stage2/usr/bin/kubectl /usr/bin/"
|
|
PYTHON3=no
|