make diskimage-builder use upper-constraints
Testing against uncapped packages can break things sometimes.
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
git://git.openstack.org \
- openstack/diskimage-builder
+ openstack/diskimage-builder \
+ openstack/requirements
- shell: |
#!/bin/bash -xe
cd ~/openstack/diskimage-builder
virtualenv -p {python} env
- ./env/bin/pip install $(pwd)/openstack/diskimage-builder
+ export UPPER_CONSTRAINTS_FILE=$WORKSPACE/requirements/upper-constraints.txt
+ sed -i '/^diskimage-builder/d' $UPPER_CONSTRAINTS_FILE
+ ./env/bin/pip install $(pwd)/openstack/diskimage-builder -c $UPPER_CONSTRAINTS_FILE
# TODO(pabelanger): Remove once we migrated to bindep
./openstack/diskimage-builder/tests/install_test_deps.sh
