2bdac9ac3b
Current build process can't handle python2-based projects because we
only build wheels based on Ussury (python3). This patch fixes this.
- build-wheels/docker/stable-wheels-py2.cfg
- build-wheels/docker/dev-wheels-py2.cfg
Resurrected original cfg files from commit
aa31732371
(before upgrade to Ussuri)
and saved with -py2 suffix
- build-wheels/docker/centos-dockerfile
Install python2 packages in addition to python3
- build-wheels/docker/docker-build-wheel.sh
* Build with python3 or python2 depending on the environment
* Suppress status message at the end because its better handled by the
parent script (build-base-wheels.sh)
- build-wheels/build-base-wheels.sh
* Generate 2 wheel directories, "base" and "base-py2" at each
invocation
* Use the same builder image and docker script (with different
environment) to generate wheels based on different cfg files.
Save python3 wheels in "base" and python2 wheels in "base-py2"
- build-wheels/build-wheel-tarball.sh
* New command-line parameter --python2: generate *-wheels-py2.tar
from "base-py2"
* Use ussuri or train constraints depending on the presence of
--python2
- build-docker-images/build-stx-images.sh
* Use *-wheels-py2.tar for python2/loci projects
* Fail early on missing --wheels/--wheels-py2
* Fail if multiple projects use the same LABEL
* Remove support for config files
- build-docker-images/docker-image-build-centos-dev.cfg
- build-docker-images/docker-image-build-centos-stable.cfg
Removed
Change-Id: I2ca444f258a537ed2ba6f68206d32cf59e1802b4
Partial-Bug: 1891416
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
14 lines
628 B
INI
14 lines
628 B
INI
# This file specifies constraint/requirement URLs for current and python2
|
|
# openstack branches
|
|
|
|
# Current/stable
|
|
STABLE_OPENSTACK_REQ_URL="https://raw.githubusercontent.com/openstack/requirements/stable/ussuri"
|
|
# Current/experimental (for dev images)
|
|
MASTER_OPENSTACK_REQ_URL="https://raw.githubusercontent.com/openstack/requirements/master"
|
|
|
|
# Python2/stable
|
|
STABLE_OPENSTACK_REQ_URL_PY2="https://opendev.org/openstack/requirements/raw/commit/2da5c5045118b0e36fb14427872e4b9b37335071"
|
|
# Python2/experimental (for dev images)
|
|
MASTER_OPENSTACK_REQ_URL_PY2="https://raw.githubusercontent.com/openstack/requirements/stable/train"
|
|
|