summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhariharan97 <rh20085046@wipro.com>2021-02-18 12:10:02 +0530
committerhariharan97 <rh20085046@wipro.com>2021-02-18 12:10:02 +0530
commit7c08ad6491c5b79505204f68eaae1aafce1b0d7c (patch)
tree06cfca2b32f56877672d207deef327db2f114d0e
parentd14542ee50acfd98548c42f55ec67731ec26e42d (diff)
"Add teardown script for sdc-simulator"
Issue-ID: OPTFRA-764 Signed-off-by: hariharan97 <rh20085046@wipro.com> Change-Id: I7be0ded0ded0b6d8bf87ffb1dd5dbe5c8ad2a253
-rw-r--r--conductor/conductor/tests/functional/simulators/destroy_sdcsim.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/conductor/conductor/tests/functional/simulators/destroy_sdcsim.sh b/conductor/conductor/tests/functional/simulators/destroy_sdcsim.sh
new file mode 100644
index 0000000..d3411da
--- /dev/null
+++ b/conductor/conductor/tests/functional/simulators/destroy_sdcsim.sh
@@ -0,0 +1,22 @@
+#!/bin/bash
+#
+# -------------------------------------------------------------------------
+# Copyright (C) 2021 Wipro Limited.
+#
+# 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.
+#
+# -------------------------------------------------------------------------
+#
+docker stop sdcsim
+docker rm sdcsim
+docker rmi sdcsim \ No newline at end of file