summaryrefslogtreecommitdiffstats
path: root/kud/tests/_common.sh
diff options
context:
space:
mode:
authorRajamohan Raj <rajamohan.raj@intel.com>2020-08-04 00:18:16 +0000
committerRitu Sood <Ritu.Sood@intel.com>2020-08-21 00:12:44 +0000
commite3e6c103f6e1cd1431ddacd23d500f39fbd1bcee (patch)
tree25ab66ea5bca905d3251f830a8b7183b1ae8ba1e /kud/tests/_common.sh
parent38ed3fbf85636ad5f73538c2de07cce72499f5bf (diff)
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 <rajamohan.raj@intel.com> Change-Id: I42677809709fc4d12f16a156e563d6618a8f8437
Diffstat (limited to 'kud/tests/_common.sh')
-rw-r--r--kud/tests/_common.sh20
1 files changed, 16 insertions, 4 deletions
diff --git a/kud/tests/_common.sh b/kud/tests/_common.sh
index 35023708..b56972c8 100644
--- a/kud/tests/_common.sh
+++ b/kud/tests/_common.sh
@@ -1186,17 +1186,14 @@ function populate_CSAR_eaa_sample_app_rbdefinition {
function populate_CSAR_composite_app_helm {
_checks_args "$1"
pushd "${CSAR_DIR}/$1"
- print_msg "Create Helm Chart Archives for compositeApp"
+ print_msg "Create Helm Chart Archives for compositeAppi with collectd and prometheus-grafana helm charts"
rm -f *.tar.gz
tar -czf collectd.tar.gz -C $test_folder/vnfs/comp-app/collection/app1/helm .
tar -czf prometheus-operator.tar.gz -C $test_folder/vnfs/comp-app/collection/app2/helm .
- tar -czf m3db.tar.gz -C $test_folder/vnfs/comp-app/collection/app3/helm .
tar -czf collectd_profile.tar.gz -C $test_folder/vnfs/comp-app/collection/app1/profile .
tar -czf prometheus-operator_profile.tar.gz -C $test_folder/vnfs/comp-app/collection/app2/profile .
- tar -czf m3db_profile.tar.gz -C $test_folder/vnfs/comp-app/collection/app3/profile .
export prometheus_helm_path="${CSAR_DIR}/$1/prometheus-operator.tar.gz"
export collectd_helm_path="${CSAR_DIR}/$1/collectd.tar.gz"
- export m3db_helm_path="${CSAR_DIR}/$1/m3db.tar.gz"
popd
}
@@ -1206,9 +1203,24 @@ function populate_CSAR_operator_helm {
pushd "${CSAR_DIR}/$1"
print_msg "Create Helm Chart Archives for operators"
rm -f *.tar.gz
+ #tar -czf operator.tar.gz -C $test_folder/vnfs/comp-app/collection/operators-latest/helm .
+ #tar -czf operator_profile.tar.gz -C $test_folder/vnfs/comp-app/collection/operators-latest/profile .
tar -czf operator.tar.gz -C $test_folder/vnfs/comp-app/collection/operators/helm .
tar -czf operator_profile.tar.gz -C $test_folder/vnfs/comp-app/collection/operators/profile .
export operator_helm_path="${CSAR_DIR}/$1/operator.tar.gz"
popd
}
+
+function populate_CSAR_m3db_helm {
+ _checks_args "$1"
+ pushd "${CSAR_DIR}/$1"
+ print_msg "Create Helm Chart Archives for m3db"
+ rm -f *.tar.gz
+ #tar -czf m3db.tar.gz -C $test_folder/vnfs/comp-app/collection/app3-latest/helm .
+ #tar -czf m3db_profile.tar.gz -C $test_folder/vnfs/comp-app/collection/app3-latest/profile .
+ tar -czf m3db.tar.gz -C $test_folder/vnfs/comp-app/collection/m3db/helm .
+ tar -czf m3db_profile.tar.gz -C $test_folder/vnfs/comp-app/collection/m3db/profile .
+ export m3db_helm_path="${CSAR_DIR}/$1/m3db.tar.gz"
+ popd
+}