From: Zack Cerza Date: Tue, 12 Apr 2022 18:31:52 +0000 (-0600) Subject: bootstrap: Optionally skip teuthology install X-Git-Tag: 1.2.0~167^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7ba4beadacb19c6ed364b8f47f2e0ef5f9bcf5e4;p=teuthology.git bootstrap: Optionally skip teuthology install The docker-compose dev setup was the inspiration for this feature; it allows us to split the installation of dependencies and the project itself into two phases. This in turn allows us to avoid rerunning bootstrap if requirements.txt didn't change. Signed-off-by: Zack Cerza --- diff --git a/bootstrap b/bootstrap index 9c57072f2..a36a54cb4 100755 --- a/bootstrap +++ b/bootstrap @@ -152,8 +152,8 @@ fi # Remove leftover .pyc files find teuthology -name '*.pyc' -exec rm {} \; -# Install teuthology in editable mode -./$VENV/bin/pip install --editable '.[test]' +# By default, install teuthology in editable mode +./$VENV/bin/pip install ${PIP_INSTALL_FLAGS:---editable '.[test]'} # Check to make sure requirements are met ./$VENV/bin/pip check