aboutsummaryrefslogtreecommitdiffstats
path: root/setup.sh
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2020-11-24 09:41:38 -0500
committerMorgan Richomme <morgan.richomme@orange.com>2020-12-01 15:28:04 +0000
commitd2aa352ef40729242b0dd19049e44dbe337b3080 (patch)
tree21c3305a7868db5ed518892075e4c56fcecdc732 /setup.sh
parent87ed1d482e440017658bd0408242199574bbcb62 (diff)
Remove Heatbridge for testing
Issue-ID: INT-1791 Change-Id: I6363d90a77afae2663b481d1d942b3c7ed9bdd92 Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh54
1 files changed, 30 insertions, 24 deletions
diff --git a/setup.sh b/setup.sh
index 88a06182..87cab0b5 100755
--- a/setup.sh
+++ b/setup.sh
@@ -37,31 +37,37 @@ pip install \
# i dont why we need this, but lets protobuf work in docker
touch /var/opt/ONAP/robot/library/google/__init__.py
-if [ -d $path/testsuite/heatbridge ]
-then
- # Support LF build location
- cd $path/testsuite/heatbridge
-else
- cd ~
- git config --global http.sslVerify false
- if [ -d ~/heatbridge ]
- then
- cd heatbridge
- git pull origin master
- else
- git clone https://gerrit.onap.org/r/testsuite/heatbridge.git
- cd heatbridge
- fi
-fi
+###############################
+# remove heatbridge
+# commented out for testing
+################################################################
+#if [ -d $path/testsuite/heatbridge ]
+#then
+# # Support LF build location
+# cd $path/testsuite/heatbridge
+#else
+# cd ~
+# git config --global http.sslVerify false
+# if [ -d ~/heatbridge ]
+# then
+# cd heatbridge
+# git pull origin master
+# else
+# git clone https://gerrit.onap.org/r/testsuite/heatbridge.git
+# cd heatbridge
+# fi
+#fi
-pip install \
---no-cache-dir \
---upgrade \
---exists-action s \
---target="$path/robot/library" \
-./heatbridge
+#pip install \
+#--no-cache-dir \
+#--upgrade \
+#--exists-action s \
+#--target="$path/robot/library" \
+#./heatbridge
+
+#sed -i 's/cinderclient\.v1\.client/cinderclient\.v2\.client/g' /var/opt/ONAP/robot/library/heatbridge/OpenstackManager.py
-sed -i 's/cinderclient\.v1\.client/cinderclient\.v2\.client/g' /var/opt/ONAP/robot/library/heatbridge/OpenstackManager.py
+################################################################
# Go back to execution folder
cd $path
@@ -104,4 +110,4 @@ else
unzip $CHROMEDRIVER_TARGET
fi
rm -rf $CHROMEDRIVER_TARGET
-fi \ No newline at end of file
+fi