Merge "Generate and use upper-constraints for ironic-agent"

This commit is contained in:
Jenkins 2016-09-01 06:29:09 +00:00 committed by Gerrit Code Review
commit c526220c6f

View File

@ -9,11 +9,14 @@ set -o pipefail
SCRIPTDIR=$(dirname $0) SCRIPTDIR=$(dirname $0)
IPADIR=/usr/share/ironic-python-agent IPADIR=/usr/share/ironic-python-agent
# Generate upper-constraints
$IPADIR/imagebuild/common/generate_upper_constraints.sh $IPADIR/upper-constraints.txt
# create the virtual environment # create the virtual environment
virtualenv $IPADIR/venv virtualenv $IPADIR/venv
# install IPA inside the virtual environment # install IPA inside the virtual environment
$IPADIR/venv/bin/pip install $IPADIR $IPADIR/venv/bin/pip install -c $IPADIR/upper-constraints.txt $IPADIR
# FIXME(lucasagomes): Figure out how we can use the "--install-option" # FIXME(lucasagomes): Figure out how we can use the "--install-option"
# parameter for pip install so we don't have to manually create a symlink # parameter for pip install so we don't have to manually create a symlink