diff options
author | 2019-07-10 12:19:16 +0200 | |
---|---|---|
committer | 2019-07-15 14:51:47 +0200 | |
commit | c64b7f1c913310782f3b767fd116e506efe269d8 (patch) | |
tree | 85dc0c7c77fb46b51c5ba142d3d0d8013fc12c95 /kud/tests/_common.sh | |
parent | 670a20f33a2b741a6a5e7c7c4f7dfc9e16378a75 (diff) |
Correct plugin_edgex testcase
Plugin_edgex.sh script hasn't been updated to few changes
that happened in k8splugin API and CSAR definitions. This
commit rewrites previous test scenario to be up to date with
current plugin state.
Issue-ID: MULTICLOUD-686
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: Id235f4549e10f57451bf2b6195df8c95230e1c7e
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 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 +} |