teuthology-pull-requests: call create_venv_dir() 1821/head
authorKefu Chai <kchai@redhat.com>
Fri, 21 May 2021 14:34:46 +0000 (22:34 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 21 May 2021 14:34:51 +0000 (22:34 +0800)
it was an oversight in e302eaabb977f3e93b1a7005c879f4b2eba581fc

Signed-off-by: Kefu Chai <kchai@redhat.com>
teuthology-pull-requests/build/build

index 4d2603ceb3408dc2457a5ec0bcc4a5f84250962e..65186c52340ae2eee787af722deac2115197ed64 100644 (file)
@@ -4,6 +4,8 @@ set -ex
 
 # the following two methods exist in scripts/build_utils.sh
 pkgs=( "tox" )
+TEMPVENV=$(create_venv_dir)
+VENV=${TEMPVENV}/bin
 install_python_packages $TEMPVENV "pkgs[@]"
 
 # run tox by recreating the environment and in verbose mode