Merge "Avoid failure to install zuul when venv exists"

This commit is contained in:
Zuul 2019-01-04 19:03:39 +00:00 committed by Gerrit Code Review
commit 113a3c6abb
1 changed files with 3 additions and 0 deletions

View File

@ -191,6 +191,9 @@ export WORKSPACE=\`pwd\`
if [[ ! -e /usr/zuul-env ]]; then
virtualenv /usr/zuul-env
fi
if [[ ! -e /usr/zuul-env/bin/zuul-cloner ]]; then
/usr/zuul-env/bin/pip install zuul
fi