diff options
author | 2019-02-11 12:28:55 +0000 | |
---|---|---|
committer | 2019-02-11 13:34:34 +0000 | |
commit | a4516196eeb9c244f5a044a42aca21f1a0d97da8 (patch) | |
tree | 5b7e01245aabefa4a3de9ba900d6a90591f2a69d /plans/usecases/5G-bulkpm/onap.teardown.sh | |
parent | 47abceca6dcbb8d559277d92ad9cc0f1ea806196 (diff) |
Changes to CSIT so it executes in ONAP also
Change-Id: I518b92a1e6aa72e441bc62cc149870df6a8575e4
Issue-ID: INT-832
Signed-off-by: LiamBurke <liam.burke@ericsson.com>
Diffstat (limited to 'plans/usecases/5G-bulkpm/onap.teardown.sh')
-rw-r--r-- | plans/usecases/5G-bulkpm/onap.teardown.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plans/usecases/5G-bulkpm/onap.teardown.sh b/plans/usecases/5G-bulkpm/onap.teardown.sh new file mode 100644 index 00000000..966be45d --- /dev/null +++ b/plans/usecases/5G-bulkpm/onap.teardown.sh @@ -0,0 +1,8 @@ +#!/bin/bash +echo "Starting teardown script" +DFC_POD=$(kubectl -n onap get pods | grep datafile-collector | awk '{print $1}') +kubectl -n onap exec $DFC_POD -it cat /opt/log/application.log > /tmp/dfc_docker.log +cat /tmp/dfc_docker.log +sleep 3 +kill-instance.sh fileconsumer-node +kill-instance.sh sftp
\ No newline at end of file |