Unset UPPER_CONSTRAINTS_FILE on dib

After setting the UPPER_CONSTRAINTS_FILE, gates started failing
because of side effects, as this var was being taken as part of
the image build. Unset it after requirements have been installed
and before actually running the tests.

Change-Id: I650cf83e2828ce373b8c9e8b3c0cc1c9722b949a
This commit is contained in:
Yolanda Robla 2017-09-25 09:50:18 +02:00
parent 57939ab367
commit 5adf6a3e8d
1 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,10 @@
# which are used during test runs
./openstack/diskimage-builder/contrib/setup-gate-mirrors.sh
# UPPER_CONSTRAINTS_FILE is causing side effects when doing image
# build, unset it
unset UPPER_CONSTRAINTS_FILE
# activate the virtualenv so that any tools run by dib run
# using the python inside it
set +u