Skip to content

Commit 96fda35

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Support TEMPEST_BRANCH with tag name"
2 parents 455be66 + e1c0406 commit 96fda35

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

lib/tempest

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,11 @@ function install_tempest {
690690
git_clone $TEMPEST_REPO $TEMPEST_DIR $TEMPEST_BRANCH
691691
pip_install 'tox!=2.8.0'
692692
pushd $TEMPEST_DIR
693+
# NOTE(gmann): checkout the TEMPEST_BRANCH in case TEMPEST_BRANCH
694+
# is tag name not master. git_clone would not checkout tag because
695+
# TEMPEST_DIR already exist until RECLONE is true.
696+
git checkout $TEMPEST_BRANCH
697+
693698
tox -r --notest -efull
694699
# NOTE(mtreinish) Respect constraints in the tempest full venv, things that
695700
# are using a tox job other than full will not be respecting constraints but

0 commit comments

Comments
 (0)