diff options
author | Areli, Fuss (af732p) <af732p@att.com> | 2018-05-24 11:24:40 +0300 |
---|---|---|
committer | Areli, Fuss (af732p) <af732p@att.com> | 2018-05-24 13:27:31 +0300 |
commit | f000e1cad7775e37da61b71773d60b40b9254478 (patch) | |
tree | 3f342cb71f58b43c47bcfb1bbbc6e919d17c5806 /setenv | |
parent | 61bb1d8b6a20fec9235ca5b5af0174ad1c85aa67 (diff) |
Alignment of VVP devkit
Alignment of VVP devkit
include replacement of the uWsgi
with gunicorn
Change-Id: I9c42783c9965c5f6f005615e88899a301d334e22
Issue-ID: VVP-60
Signed-off-by: Areli, Fuss (af732p) <af732p@att.com>
Diffstat (limited to 'setenv')
-rw-r--r-- | setenv | 18 |
1 files changed, 13 insertions, 5 deletions
@@ -36,13 +36,21 @@ # ============LICENSE_END============================================ # # ECOMP is a trademark and service mark of AT&T Intellectual Property. + +# An Option to force update of requirements in case of updated version +ARG=$1 +if [ "$1" = "-f" ]; then + echo "Param: $1" + force_option="--force" +fi + # Get the current devkit directory -pushd $(dirname $BASH_SOURCE[0]) > /dev/null -export DEVKIT_DIR=`pwd -P` -popd > /dev/null +#pushd $(dirname $BASH_SOURCE[0]) > /dev/null export DEVKIT_DIR=`pwd -P` +#popd > /dev/null +#export DEVKIT_DIR=`pwd -P` echo $DEVKIT_DIR -echo "DEVKIT DIR ^^" +#echo "DEVKIT DIR ^^" echo "# Make sure we have ansible installed" REQUIREMENTS="ansible vagrant" for req in $REQUIREMENTS @@ -69,6 +77,6 @@ done # Grab ansible requirements echo "Installing devkit's required ansible roles" echo $DEVKIT_DIR -ansible-galaxy install -r ${DEVKIT_DIR}/ansible/requirements.yml +ansible-galaxy install ${force_option} -r ${DEVKIT_DIR}/ansible/requirements.yml echo "Devkit zone setup complete" |