aboutsummaryrefslogtreecommitdiffstats
path: root/plans/usecases/pnf-sw-upgrade/sdn/sdn_teardown.sh
diff options
context:
space:
mode:
authortragait <rahul.tyagi@est.tech>2020-02-24 16:33:50 +0000
committertragait <rahul.tyagi@est.tech>2020-03-25 13:07:04 +0000
commit9bbcb1be8d83cca5ba97dc4a2e86c525e51991e5 (patch)
tree09522feccc3ff9ebefec97694adb37f678e3a1eb /plans/usecases/pnf-sw-upgrade/sdn/sdn_teardown.sh
parent7405933ba6de25b33ca577e714f298b9fe82beee (diff)
pnf sw upgrade csit
Change-Id: I776d61030efc3d51e04f98698ceb8c445db2dafa Signed-off-by: tragait <rahul.tyagi@est.tech> Issue-ID: INT-1308 Signed-off-by: tragait <rahul.tyagi@est.tech>
Diffstat (limited to 'plans/usecases/pnf-sw-upgrade/sdn/sdn_teardown.sh')
-rwxr-xr-xplans/usecases/pnf-sw-upgrade/sdn/sdn_teardown.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/plans/usecases/pnf-sw-upgrade/sdn/sdn_teardown.sh b/plans/usecases/pnf-sw-upgrade/sdn/sdn_teardown.sh
new file mode 100755
index 00000000..9f2ac534
--- /dev/null
+++ b/plans/usecases/pnf-sw-upgrade/sdn/sdn_teardown.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+SCRIPT_HOME="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+DOCKER_COMPOSE_FILE_PATH=$SCRIPT_HOME/docker-compose.yml
+
+echo "Tearing down docker containers from remote images ..."
+docker-compose -f $DOCKER_COMPOSE_FILE_PATH -p $PROJECT_NAME down