Merge "Generate and use upper-constraints for ironic-agent"
This commit is contained in:
commit
c526220c6f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user