From 05e622ead243325658ae5aff5b5b53ce60135c57 Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Wed, 29 Dec 2021 12:30:01 +0530 Subject: [PATCH] Use upper-constraints from in review changes Currently upper-constraints.txt is not getting used from in-review changes of requirements project and leading to merge of broken requirements[1]. Use master branch to fetch constraints instead of the remote branch. [1] https://review.opendev.org/c/openstack/requirements/+/822575 Depends-On: https://review.opendev.org/c/openstack/requirements/+/823128 Change-Id: I5d42ac6b54bf20804d7e5faa39d1289102318b64 --- lib/tempest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tempest b/lib/tempest index ab802171d1..bdbd3caec8 100644 --- a/lib/tempest +++ b/lib/tempest @@ -119,7 +119,7 @@ function set_tempest_venv_constraints { local tmp_c tmp_c=$1 if [[ $TEMPEST_VENV_UPPER_CONSTRAINTS == "master" ]]; then - (cd $REQUIREMENTS_DIR && git show origin/master:upper-constraints.txt) > $tmp_c + (cd $REQUIREMENTS_DIR && git show master:upper-constraints.txt) > $tmp_c else echo "Using $TEMPEST_VENV_UPPER_CONSTRAINTS constraints in Tempest virtual env." cat $TEMPEST_VENV_UPPER_CONSTRAINTS > $tmp_c