Untar the correct venv as a part of preparing the xdist worker.

This commit is contained in:
Feanil Patel
2019-09-04 14:32:31 -04:00
parent 113e0cdc06
commit 04025cd8c7

View File

@@ -23,6 +23,8 @@ do
worker_reqs_cmd="ssh -o StrictHostKeyChecking=no jenkins@$ip
'git clone --branch master --depth 1 -q https://github.com/edx/edx-platform.git; cd edx-platform;
git fetch -fq origin ${XDIST_GIT_REFSPEC}; git checkout -q ${XDIST_GIT_BRANCH};
rm -rf $HOME/edx-venv;
tar -C $HOME -xf $HOME/edx-venv_clean-$PYTHON_VERSION.tar.gz;
source ../edx-venv/bin/activate;
pip install -q ${DJANGO_REQUIREMENT} -r requirements/edx/testing.txt; mkdir reports' & "