From d6f900721c81a2c03cb1a21a3d2064e9a69fc4b7 Mon Sep 17 00:00:00 2001 From: Rajamohan Raj Date: Thu, 30 Jul 2020 23:49:54 +0000 Subject: Sanity test script for new releases. Developed a script which can be used to test a new release and confirm that the minimum components like clm, instantiation by orchestrator and rsync are working fine after the code change. Issue-ID: MULTICLOUD-1174 Signed-off-by: Rajamohan Raj Change-Id: I7d519fa88b71fb34d13b7d61f3f8b36edc9fa5f3 --- kud/tests/plugin_collection_v2.sh | 8 +- kud/tests/sanity-check-for-v2.sh | 508 +++++++++++++++++++++ .../pkg/module/deployment_intent_groups.go | 2 +- 3 files changed, 513 insertions(+), 5 deletions(-) create mode 100755 kud/tests/sanity-check-for-v2.sh diff --git a/kud/tests/plugin_collection_v2.sh b/kud/tests/plugin_collection_v2.sh index 05ff4265..a6f9f8bb 100755 --- a/kud/tests/plugin_collection_v2.sh +++ b/kud/tests/plugin_collection_v2.sh @@ -47,12 +47,12 @@ composite_app_name="test_composite_app_collection" composite_app_description="test_project_description" composite_app_version="test_composite_app_version" app1_helm_path="$CSAR_DIR/$csar_id/collectd.tar.gz" -app2_helm_path="$CSAR_DIR/$csar_id/prometheus.tar.gz" +app2_helm_path="$CSAR_DIR/$csar_id/prometheus-operator.tar.gz" app1_profile_path="$CSAR_DIR/$csar_id/collectd_profile.tar.gz" -app2_profile_path="$CSAR_DIR/$csar_id/prometheus_profile.tar.gz" +app2_profile_path="$CSAR_DIR/$csar_id/prometheus-operator_profile.tar.gz" app1_name="collectd" -app2_name="prometheus" +app2_name="prometheus-operator" app1_desc="collectd_desc" app2_desc="prometheus_desc" @@ -467,7 +467,7 @@ payload="$(cat <