aboutsummaryrefslogtreecommitdiffstats
path: root/tools/performance/cloud/cloud-based-performance-test.sh
diff options
context:
space:
mode:
authorPiotr Wielebski <piotr.wielebski@nokia.com>2019-10-21 08:29:23 +0000
committerGerrit Code Review <gerrit@onap.org>2019-10-21 08:29:23 +0000
commitb79b2bdafb3a841d079f710fcf87fa97b5ce4a7a (patch)
tree7cc20dea04e6e80cb78072bd715dbfde0d731879 /tools/performance/cloud/cloud-based-performance-test.sh
parent8594e0a6bf25e4c4b94d91f5d4dda2f35ed5158f (diff)
parent23ab98744ac4c3348515a429c990fe275178625f (diff)
Merge "Add setting up consul configuration to cloud performance test shell scripts"
Diffstat (limited to 'tools/performance/cloud/cloud-based-performance-test.sh')
-rwxr-xr-xtools/performance/cloud/cloud-based-performance-test.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/performance/cloud/cloud-based-performance-test.sh b/tools/performance/cloud/cloud-based-performance-test.sh
index f4445844..b9267a97 100755
--- a/tools/performance/cloud/cloud-based-performance-test.sh
+++ b/tools/performance/cloud/cloud-based-performance-test.sh
@@ -68,6 +68,9 @@ function clean() {
echo "Attempting to delete client certs secret"
kubectl delete secret cert -n ${ONAP_NAMESPACE}
+ echo "Attempting to turn off SSL"
+ ./configure-consul.sh true
+
echo "Environment clean up finished!"
}
@@ -132,6 +135,9 @@ function setup_environment() {
kubectl create secret generic cert --from-file=./client.p12 --from-file=./client.pass -n ${ONAP_NAMESPACE}
cd ${SCRIPT_DIRECTORY}
+ echo "Turning on SSL"
+ ./configure-consul.sh false
+
echo "Creating test properties ConfigMap from: $PROPERTIES_FILE"
kubectl create configmap performance-test-config --from-env-file=${PROPERTIES_FILE} -n ${ONAP_NAMESPACE}