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
(cherry picked from commit db5a5b3c20)
This commit is contained in:
Sam Betts 2018-03-12 10:34:01 +00:00 committed by Ghanshyam Mann
parent 193c36bdd9
commit 2b50e3b83f
1 changed files with 1 additions and 1 deletions

View File

@ -544,7 +544,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: