Merge "Building tinyipa with python3 by default"

This commit is contained in:
Zuul 2019-02-09 00:17:21 +00:00 committed by Gerrit Code Review
commit c5749cc5e9
3 changed files with 11 additions and 2 deletions

View File

@ -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"

View File

@ -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:"

View File

@ -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.