Building tinyipa with python3 by default
Tinycore is the base image for testing Ironic Python Agent. In the effort of moving toward a full python3 friendly environment, with this patch we start building the tinyipa image with python3 by default. This patch is a Follow-up to https://review.openstack.org/#/c/635487/ Change-Id: Id446a67a31d25a21b086f85b459c0bec6b58ca7e
This commit is contained in:
parent
d9ba2b3f00
commit
d94ad626ec
@ -9,7 +9,7 @@ TINYCORE_MIRROR_URL=${TINYCORE_MIRROR_URL:-}
|
||||
TINYIPA_REQUIRE_BIOSDEVNAME=${TINYIPA_REQUIRE_BIOSDEVNAME:-false}
|
||||
TINYIPA_REQUIRE_IPMITOOL=${TINYIPA_REQUIRE_IPMITOOL:-true}
|
||||
IRONIC_LIB_SOURCE=${IRONIC_LIB_SOURCE:-}
|
||||
USE_PYTHON3=${USE_PYTHON3:-False}
|
||||
USE_PYTHON3=${USE_PYTHON3:-True}
|
||||
|
||||
CHROOT_PATH="/tmp/overides:/usr/local/sbin:/usr/local/bin:/apps/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
CHROOT_CMD="sudo chroot $BUILDDIR /usr/bin/env -i PATH=$CHROOT_PATH http_proxy=$http_proxy https_proxy=$https_proxy no_proxy=$no_proxy"
|
||||
|
@ -24,7 +24,7 @@ PYOPTIMIZE_TINYIPA=${PYOPTIMIZE_TINYIPA:-true}
|
||||
TINYIPA_REQUIRE_BIOSDEVNAME=${TINYIPA_REQUIRE_BIOSDEVNAME:-false}
|
||||
TINYIPA_REQUIRE_IPMITOOL=${TINYIPA_REQUIRE_IPMITOOL:-true}
|
||||
TINYIPA_UDEV_SETTLE_TIMEOUT=${TINYIPA_UDEV_SETTLE_TIMEOUT:-20}
|
||||
USE_PYTHON3=${USE_PYTHON3:-False}
|
||||
USE_PYTHON3=${USE_PYTHON3:-True}
|
||||
|
||||
|
||||
echo "Finalising tinyipa:"
|
||||
|
@ -0,0 +1,9 @@
|
||||
---
|
||||
prelude: >
|
||||
Tinyipa is the base image for testing Ironic Python Agent.
|
||||
In the effort of moving toward a full Python 3 friendly environment,
|
||||
with this patch we start building the tinyipa image with Python 3 by
|
||||
default.
|
||||
other:
|
||||
- Change the Python default version used to build and run the Ironic
|
||||
Python Agent in the Tiny Core based image to 3.6.
|
Loading…
Reference in New Issue
Block a user