summaryrefslogtreecommitdiffstats
path: root/mock-cds/cleanup-dev.sh
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2023-03-13 11:00:21 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2023-03-14 14:25:16 +0000
commit870ff702088b89549bc21631eb48443fff0bcd71 (patch)
tree5d52aca25035644bdc2ac687275ed858ba524e7e /mock-cds/cleanup-dev.sh
parent98e0e65ba145ab4c85c301118d4a0d02940221ec (diff)
Migrate mock applications from Orange GitLab
Move from Orange repositories into ONAP one. Issue-ID: INT-2208 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I6e165da5144c28a6ff151e02e32f5ae89ce124e3
Diffstat (limited to 'mock-cds/cleanup-dev.sh')
-rw-r--r--mock-cds/cleanup-dev.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/mock-cds/cleanup-dev.sh b/mock-cds/cleanup-dev.sh
new file mode 100644
index 0000000..fb4a1bc
--- /dev/null
+++ b/mock-cds/cleanup-dev.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+export APP_NAME=mock-cds-app
+
+docker rm $(docker stop $(docker ps -a -q --filter ancestor="${APP_NAME}" --format="{{.ID}}"))
+docker rmi ${APP_NAME} \ No newline at end of file