From ffee8b5d91e542a7aa008378571f9ddfc0fa62e1 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Tue, 12 Apr 2022 12:31:52 -0600 Subject: [PATCH] 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 --- bootstrap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap b/bootstrap index f4234d9be6..6ad7cda87a 100755 --- a/bootstrap +++ b/bootstrap @@ -152,8 +152,8 @@ $VENV/bin/pip install --upgrade pip # 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 -- 2.39.5