Remove lftools install step from clm job
[releng/global-jjb.git] / shell / lftools-install.sh
index 7ae9618..f458fd6 100644 (file)
@@ -1,5 +1,5 @@
 #!/bin/bash
-# @License EPL-1.0 <http://spdx.org/licenses/EPL-1.0>
+# SPDX-License-Identifier: EPL-1.0
 ##############################################################################
 # Copyright (c) 2017 The Linux Foundation and others.
 #
@@ -14,9 +14,14 @@ echo "---> lftools-install.sh"
 # DO NOT set -u as virtualenv's activate script has unbound variables
 set -e -o pipefail
 
-virtualenv "$WORKSPACE/.virtualenvs/lftools"
-# shellcheck source=./.virtualenvs/lftools/bin/activate disable=SC1091
-source "$WORKSPACE/.virtualenvs/lftools/bin/activate"
-pip install --upgrade pip
-pip install --upgrade "lftools<1.0.0"
-pip freeze
+virtualenv --quiet "/tmp/v/lftools"
+# shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091
+source "/tmp/v/lftools/bin/activate"
+pip install --quiet --upgrade pip
+pip install --quiet --upgrade "lftools<1.0.0"
+
+# pipdeptree prints out a lot of information because lftools pulls in many
+# dependencies. Let's only print it if we want to debug.
+# echo "----> Pip Dependency Tree"
+# pip install --quiet --upgrade pipdeptree
+# pipdeptree