Install tripleo-common from source

This test currently installs tripleo-common from pypi.  This can cause
problems; for example I1e64647b3de86bc87a2a04cedf54ac83bbd4963d added
config options to the yaml files (which *are* used directly from the
tripleo-common zuul-cloned tree) and a related code change; but the
code change isn't deployed and we get failures parsing the config.

Also, it means you can't depends-on tripleo-common changes in
dib/python-tripleoclient.

Install it alongside the zuul-cloned dib install.

Closes-Bug: #1757174
Change-Id: I72cab0131ccffb1989d6c1324d0c9b92166782da
This commit is contained in:
Ian Wienand 2018-03-21 08:26:17 +11:00
parent 16809be329
commit 21ed537271
1 changed files with 2 additions and 2 deletions

View File

@ -85,9 +85,9 @@
export DIB_YUM_REPO_CONF="/etc/yum.repos.d/delorean*"
# if we are on master, install from source
# otherwise, install from requirements
# otherwise, install dib & tripleo-common from requirements
if [ "$ZUUL_BRANCH" == "master" ]; then
tox -evenv -- pip install $WORKSPACE/diskimage-builder
tox -evenv -- pip install $WORKSPACE/diskimage-builder $WORKSPACE/tripleo-common
else
export UPPER_CONSTRAINTS_FILE=$WORKSPACE/requirements/upper-constraints.txt
tox -evenv -- pip install diskimage-builder -c $UPPER_CONSTRAINTS_FILE