diff options
Diffstat (limited to 'kolla/docker/base/install_projects.sh')
| -rw-r--r-- | kolla/docker/base/install_projects.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/kolla/docker/base/install_projects.sh b/kolla/docker/base/install_projects.sh new file mode 100644 index 000000000..c3f7182b5 --- /dev/null +++ b/kolla/docker/base/install_projects.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +# This script finds all projects in /dev-mode folder and +# installs them using pip +# The projects are mounted there when dev mode is enabled for them +# in kolla-ansible + +VENV_PATH="/var/lib/kolla/venv" + +if [ -d "/dev-mode" ] && [ -d "$VENV_PATH" ]; then + for project in /dev-mode/*; do + pip install -U "$project" + done +fi |
