aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/plans/dcaegen2/hv-ves-testsuites/teardown.sh
diff options
context:
space:
mode:
authorFilip Krzywka <filip.krzywka@nokia.com>2018-08-06 09:31:40 +0200
committerGary Wu <gary.i.wu@huawei.com>2018-08-29 22:51:03 +0000
commit93185789dca5b0f8c18d8fdea239458559eac7b1 (patch)
treeb5edf4c720007427455e1f379b22d774df51942f /test/csit/plans/dcaegen2/hv-ves-testsuites/teardown.sh
parent3f20c45f7c61834a038a6964bbfdf34d376d923a (diff)
Setup IT environment for HV-VES component
- containers start-up and shutdown - containers logs copied to archives - robot tests started successfully Change-Id:Idfa24a8d6a2f41cc8e1374eb2bf2b5967f533f47 Issue-ID: DCAEGEN2-687 Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
Diffstat (limited to 'test/csit/plans/dcaegen2/hv-ves-testsuites/teardown.sh')
-rwxr-xr-xtest/csit/plans/dcaegen2/hv-ves-testsuites/teardown.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/csit/plans/dcaegen2/hv-ves-testsuites/teardown.sh b/test/csit/plans/dcaegen2/hv-ves-testsuites/teardown.sh
new file mode 100755
index 000000000..91ad90305
--- /dev/null
+++ b/test/csit/plans/dcaegen2/hv-ves-testsuites/teardown.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+
+cd ssl
+make clean
+cd ..
+
+docker-compose logs > ${WORKSPACE}/archives/docker-compose.log
+docker-compose down
+docker-compose rm -f
+
+docker network rm ${CONTAINERS_NETWORK} \ No newline at end of file