Merge pull request #465 from phracek/more_outputs_correct_return_states
Add support for OpenShift 3
This commit is contained in:
parent
3402cd789a
commit
50eeefac49
23 changed files with 407 additions and 23 deletions
|
|
@ -53,20 +53,11 @@ mv /tmp/src/* "$HOME"
|
|||
# set permissions for any installed artifacts
|
||||
fix-permissions /opt/app-root -P
|
||||
|
||||
# We have to first upgrade pip to at least 19.3 because:
|
||||
# * pip < 9 does not support different packages' versions for Python 2/3
|
||||
# * pip < 19.3 does not support manylinux2014 wheels. Only manylinux2014 wheels
|
||||
# support platforms like ppc64le, aarch64 or armv7
|
||||
echo "---> Upgrading pip to version 19.3.1 ..."
|
||||
if ! pip install -U "pip==19.3.1"; then
|
||||
echo "WARNING: Installation of 'pip==19.3.1' failed, trying again from official PyPI with pip --isolated install"
|
||||
pip install --isolated -U "pip==19.3.1"
|
||||
fi
|
||||
|
||||
if [[ ! -z "$UPGRADE_PIP_TO_LATEST" ]]; then
|
||||
echo "---> Upgrading pip to latest version ..."
|
||||
echo "---> Upgrading pip, setuptools and wheel to latest version ..."
|
||||
if ! pip install -U pip setuptools wheel; then
|
||||
echo "WARNING: Installation of the latest pip,setuptools and wheel failed, trying again from official PyPI with pip --isolated install"
|
||||
echo "WARNING: Installation of the latest pip, setuptools and wheel failed, trying again from official PyPI with pip --isolated install"
|
||||
pip install --isolated -U pip setuptools wheel
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue