aboutsummaryrefslogtreecommitdiffstats
path: root/kud/tests/_common.sh
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2019-07-16 00:51:44 +0000
committerGerrit Code Review <gerrit@onap.org>2019-07-16 00:51:44 +0000
commit70f54e61d7081507760a8d876e13b2088f9ff58f (patch)
treec6547a91bd38421382ac038aafd7cc44481ae36a /kud/tests/_common.sh
parent6b7b2dccf5821386a19555fb1301ffdb69954843 (diff)
parentc64b7f1c913310782f3b767fd116e506efe269d8 (diff)
Merge changes Id235f454,I0c6dd5e4
* changes: Correct plugin_edgex testcase Provide wrapper functions for issuing k8splugin API calls
Diffstat (limited to 'kud/tests/_common.sh')
-rwxr-xr-xkud/tests/_common.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/kud/tests/_common.sh b/kud/tests/_common.sh
index 3120dad7..bfb6ec4b 100755
--- a/kud/tests/_common.sh
+++ b/kud/tests/_common.sh
@@ -1132,3 +1132,15 @@ function populate_CSAR_rbdefinition {
gzip $rbd_content_tarball
popd
}
+
+# populate_CSAR_edgex_rbdefinition() - Function that populates CSAR folder
+# for testing resource bundle definition of edgex scenario
+function populate_CSAR_edgex_rbdefinition {
+ _checks_args "$1"
+ pushd "${CSAR_DIR}/$1"
+ print_msg "Create Helm Chart Archives"
+ rm -f *.tar.gz
+ tar -czf rb_profile.tar.gz -C $test_folder/vnfs/edgex/profile .
+ tar -czf rb_definition.tar.gz -C $test_folder/vnfs/edgex/helm edgex
+ popd
+}