summaryrefslogtreecommitdiffstats
path: root/csit/plans/music-distributed-kv-store-test-plan/teardown.sh
diff options
context:
space:
mode:
authorLasse Kaihlavirta <l.kaihlavirt@partner.samsung.com>2020-11-05 18:01:29 +0200
committerLasse Kaihlavirta <l.kaihlavirt@partner.samsung.com>2020-11-23 16:58:08 +0200
commitb048fb63e8d671c9219071821deedb1f1ddf9f85 (patch)
tree341131917ddf4d8ae158583fe3c65ee56b3ad113 /csit/plans/music-distributed-kv-store-test-plan/teardown.sh
parent79f63485849d7d652f997bdc8c1ea7069763814d (diff)
Initial test commit for project-specific CSIT
- move music-distributed-kv-store CSIT to its own project repository - add execution script that copies required common run scripts from integration/csit repo to local workspace and runs the tests - add the possibility to provide additional docker tag as parameter to the build script - add script for tagging specified docker image with STAGING Issue-ID: INT-1769 Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> Change-Id: I19a5908f3c9c77529c43af0d89baf75a8f8557ee
Diffstat (limited to 'csit/plans/music-distributed-kv-store-test-plan/teardown.sh')
-rw-r--r--csit/plans/music-distributed-kv-store-test-plan/teardown.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/csit/plans/music-distributed-kv-store-test-plan/teardown.sh b/csit/plans/music-distributed-kv-store-test-plan/teardown.sh
new file mode 100644
index 0000000..0abf3a6
--- /dev/null
+++ b/csit/plans/music-distributed-kv-store-test-plan/teardown.sh
@@ -0,0 +1,21 @@
+#!/bin/bash
+#
+# Copyright 2018 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+rm -rf mountpath
+docker stop dkv
+docker rm dkv
+docker rmi nexus3.onap.org:10001/onap/music/distributed-kv-store