diff options
author | Rajamohan Raj <rajamohan.raj@intel.com> | 2020-03-17 20:57:50 +0000 |
---|---|---|
committer | Rajamohan Raj <rajamohan.raj@intel.com> | 2020-03-18 21:41:15 +0000 |
commit | 7cb9c0b9e9ee87f962c1a678471f24b14b02ec85 (patch) | |
tree | f9823d162c4fb4efc2de8025bc5a4c5d87eb05c4 /kud/tests/_common.sh | |
parent | 3b848c7b4b6a4a49658bd9275a0baa6a08effe2a (diff) |
Added the new plugin_collection_v2 script.
The script calls the major creation APIs in v2 starting from project api, composite app, composite profile, generic placement intent & deployment intent. This should be used every time we need to test the Instantiation code.
Also added the helm charts for composite app consisting of collectd and
prometheus.
Issue-ID: MULTICLOUD-1035
Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com>
Change-Id: I95237c234cca674dd54f4ef7527083b5cf3e0a55
Diffstat (limited to 'kud/tests/_common.sh')
-rwxr-xr-x | kud/tests/_common.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/kud/tests/_common.sh b/kud/tests/_common.sh index 92c09b0d..cd704c53 100755 --- a/kud/tests/_common.sh +++ b/kud/tests/_common.sh @@ -1158,3 +1158,15 @@ function populate_CSAR_fw_rbdefinition { popd } +function populate_CSAR_composite_app_helm { + _checks_args "$1" + pushd "${CSAR_DIR}/$1" + print_msg "Create Helm Chart Archives for compositeApp" + rm -f *.tar.gz + tar -czf collectd.tar.gz -C $test_folder/vnfs/comp-app/collection/app1/helm . + tar -czf prometheus.tar.gz -C $test_folder/vnfs/comp-app/collection/app2/helm . + tar -czf collectd_profile.tar.gz -C $test_folder/vnfs/comp-app/collection/app1/profile . + tar -czf prometheus_profile.tar.gz -C $test_folder/vnfs/comp-app/collection/app2/profile . + popd +} + |