diff options
Diffstat (limited to 'csit/plans/filesprocessingconfigpmmapper/teardown.sh')
-rw-r--r-- | csit/plans/filesprocessingconfigpmmapper/teardown.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/csit/plans/filesprocessingconfigpmmapper/teardown.sh b/csit/plans/filesprocessingconfigpmmapper/teardown.sh new file mode 100644 index 0000000..e08a34c --- /dev/null +++ b/csit/plans/filesprocessingconfigpmmapper/teardown.sh @@ -0,0 +1,8 @@ +#!/bin/bash +echo "Starting teardown script" +TEST_PLANS_DIR=$WORKSPACE/plans/filesprocessingconfigpmmapper +mkdir -p $WORKSPACE/archives +docker exec pmmapper /bin/sh -c "cat /var/log/ONAP/dcaegen2/services/pm-mapper/pm-mapper_output.log" +kill-instance.sh pmmapper +docker-compose -f $TEST_PLANS_DIR/docker-compose.yml logs > $WORKSPACE/archives/filesprocessingconfigpmmapper-docker-compose.log +docker-compose -f $TEST_PLANS_DIR/docker-compose.yml down -v |