Code Review
/
kuberef.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Switch to Python Virtual Environment
[kuberef.git]
/
deploy.sh
diff --git
a/deploy.sh
b/deploy.sh
index
7b230f1
..
d817022
100755
(executable)
--- a/
deploy.sh
+++ b/
deploy.sh
@@
-8,9
+8,11
@@
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
-set -o xtrace
set -o errexit
set -o nounset
set -o errexit
set -o nounset
+if [ "${DEBUG:-false}" == "true" ]; then
+ set -o xtrace
+fi
# Script for end to end RI-2 deployment using Infra engine and BMRA.
# Please refer to README for detailed information.
# Script for end to end RI-2 deployment using Infra engine and BMRA.
# Please refer to README for detailed information.
@@
-30,6
+32,11
@@
check_prerequisites
# shellcheck source=./deploy.env
source "$CURRENTPATH/deploy.env"
# shellcheck source=./deploy.env
source "$CURRENTPATH/deploy.env"
+# ---------------------------------------------------------------------
+# creates a virtual environment for installation of dependencies
+# ---------------------------------------------------------------------
+creates_virtualenv
+
# ---------------------------------------------------------------------
# bootstrap install prerequisites
# ---------------------------------------------------------------------
# ---------------------------------------------------------------------
# bootstrap install prerequisites
# ---------------------------------------------------------------------