Skip to content

Commit bcd8a50

Browse files
author
Vlad Gridin
committed
Fix installing tempest plugins
When running stack.sh locally on stable branches with tempest enabled and TEMPEST_PLUGINS set, devstack will try to fetch master branch of requirements and that fails if branch is not tracked. Change-Id: Ia1ae6869a8fede2af5cd7c875e0946b6a75eb518 Closes-Bug: #1820051
1 parent 357afa9 commit bcd8a50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/tempest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ function install_tempest_plugins {
674674
pushd $TEMPEST_DIR
675675
if [[ $TEMPEST_PLUGINS != 0 ]] ; then
676676
# The requirements might be on a different branch, while tempest & tempest plugins needs master requirements.
677-
(cd $REQUIREMENTS_DIR && git show master:upper-constraints.txt) > u-c-m.txt
677+
(cd $REQUIREMENTS_DIR && git show origin/master:upper-constraints.txt) > u-c-m.txt
678678
tox -evenv-tempest -- pip install -c u-c-m.txt $TEMPEST_PLUGINS
679679
echo "Checking installed Tempest plugins:"
680680
tox -evenv-tempest -- tempest list-plugins

0 commit comments

Comments
 (0)