From e3e6c103f6e1cd1431ddacd23d500f39fbd1bcee Mon Sep 17 00:00:00 2001 From: Rajamohan Raj Date: Tue, 4 Aug 2020 00:18:16 +0000 Subject: Updating m3db & m3db operator charts In this patch, updated all the charts related to m3db. Developed scripts for deployment m3db stack through orchestrator. Issue-ID: MULTICLOUD-1112 Signed-off-by: Rajamohan Raj Change-Id: I42677809709fc4d12f16a156e563d6618a8f8437 --- kud/tests/cluster2-m3db-installer.sh | 387 +++++++++++++++++++++++++++++++++++ 1 file changed, 387 insertions(+) create mode 100755 kud/tests/cluster2-m3db-installer.sh (limited to 'kud/tests/cluster2-m3db-installer.sh') diff --git a/kud/tests/cluster2-m3db-installer.sh b/kud/tests/cluster2-m3db-installer.sh new file mode 100755 index 00000000..b9b9b3ef --- /dev/null +++ b/kud/tests/cluster2-m3db-installer.sh @@ -0,0 +1,387 @@ +# /* +# * Copyright 2020 Intel Corporation, Inc +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# */ + + +set -o errexit +set -o nounset +set -o pipefail + + +source _common_test.sh +source _functions.sh +source _common.sh + + +base_url_clm=${base_url_clm:-"http://192.168.121.29:30073/v2"} +base_url_ncm=${base_url_ncm:-"http://192.168.121.29:31955/v2"} +base_url_orchestrator=${base_url_orchestrator:-"http://192.168.121.29:32447/v2"} +base_url_rysnc=${base_url_orchestrator:-"http://192.168.121.29:32002/v2"} + +CSAR_DIR="/opt/csar" +csar_id="m3db-cb009bfe-bbee-11e8-9766-525400435678" + +app1_helm_path="$CSAR_DIR/$csar_id/m3db.tar.gz" +app1_profile_path="$CSAR_DIR/$csar_id/m3db_profile.tar.gz" + +# ---------BEGIN: SET CLM DATA--------------- + +clusterprovidername="collection-m3db-installer-cluster2-provider" +clusterproviderdata="$(cat<