diff options
author | Victor Morales <v.morales@samsung.com> | 2020-10-01 17:24:32 -0400 |
---|---|---|
committer | Michael Pedersen <michaelx.pedersen@intel.com> | 2021-03-03 08:55:39 +0000 |
commit | 3c0a7dbb638b633855658baed38e3b871a5bcac0 (patch) | |
tree | 0e29fe03c1974b36d701bd6df5985d57e6a95a08 /deploy.sh | |
parent | 402f6f6d6ecde005eb89166957d209bcf6b5ac40 (diff) |
Switch to Python Virtual Environment
Virtual Environments allow the python modules installation without
affecting the hosting node. This helps to control dependencies required
by this project.
Signed-off-by: Victor Morales <v.morales@samsung.com>
Change-Id: Ib53d9dd335a4707ff863a6fd732d23d323513430
Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71195
Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
Diffstat (limited to 'deploy.sh')
-rwxr-xr-x | deploy.sh | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -8,9 +8,11 @@ # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## -set -o xtrace 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. @@ -31,6 +33,11 @@ check_prerequisites source "$CURRENTPATH/deploy.env" # --------------------------------------------------------------------- +# creates a virtual environment for installation of dependencies +# --------------------------------------------------------------------- +creates_virtualenv + +# --------------------------------------------------------------------- # bootstrap install prerequisites # --------------------------------------------------------------------- run_playbook bootstrap |