"Add teardown script for sdc-simulator" 14/118014/1
authorhariharan97 <rh20085046@wipro.com>
Thu, 18 Feb 2021 06:40:02 +0000 (12:10 +0530)
committerhariharan97 <rh20085046@wipro.com>
Thu, 18 Feb 2021 06:40:02 +0000 (12:10 +0530)
Issue-ID: OPTFRA-764
Signed-off-by: hariharan97 <rh20085046@wipro.com>
Change-Id: I7be0ded0ded0b6d8bf87ffb1dd5dbe5c8ad2a253

conductor/conductor/tests/functional/simulators/destroy_sdcsim.sh [new file with mode: 0644]

diff --git a/conductor/conductor/tests/functional/simulators/destroy_sdcsim.sh b/conductor/conductor/tests/functional/simulators/destroy_sdcsim.sh
new file mode 100644 (file)
index 0000000..d3411da
--- /dev/null
@@ -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