diff options
author | Remigiusz Janeczek <remigiusz.janeczek@nokia.com> | 2019-10-18 18:11:29 +0200 |
---|---|---|
committer | Remigiusz Janeczek <remigiusz.janeczek@nokia.com> | 2019-10-18 16:15:47 +0000 |
commit | 23ab98744ac4c3348515a429c990fe275178625f (patch) | |
tree | be4ee8865e7462655889093b4eb043a1d715d62b /tools/performance/cloud/cloud-based-performance-test.sh | |
parent | ae3a6cf23f0ab5411b244fe8df676511293a4063 (diff) |
Add setting up consul configuration to cloud performance test shell scripts
Issue-ID: DCAEGEN2-1783
Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com>
Change-Id: I8b1b2c68578e52898af0596a039ecebf764560a0
Diffstat (limited to 'tools/performance/cloud/cloud-based-performance-test.sh')
-rwxr-xr-x | tools/performance/cloud/cloud-based-performance-test.sh | 6 |
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} |