Remove use of git -C option from tempest venv creation

The -C option is not available in git versions older than "1.8.5" which
are still shipped by several distributions including centos 7.

Due to this incompatibility the patch has broken third party CI for
Cisco on Ironic.

Change-Id: I09a6f83f8b2fee870e6e1c50cbfdf2da4d70dfb2
This commit is contained in:
Sam Betts 2018-03-12 10:34:01 +00:00
parent 64c7c54f1e
commit db5a5b3c20
1 changed files with 1 additions and 1 deletions

View File

@ -556,7 +556,7 @@ function configure_tempest {
fi
# The requirements might be on a different branch, while tempest needs master requirements.
git -C $REQUIREMENTS_DIR show master:upper-constraints.txt > u-c-m.txt
(cd $REQUIREMENTS_DIR && git show master:upper-constraints.txt) > u-c-m.txt
tox -evenv-tempest -- pip install -c u-c-m.txt -r requirements.txt
# Auth: