diff options
author | Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> | 2021-05-21 12:59:08 +0300 |
---|---|---|
committer | Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> | 2021-05-26 10:44:59 +0300 |
commit | a3f68d14609fc94ec89e3eb724664a62bc2b0210 (patch) | |
tree | bf87b82d01deb38c8fa7185e6a7e3ce6c61e0970 /csit/plans/filesprocessingconfigpmmapper/teardown.sh | |
parent | afc8cd1428714915ac67c07a3c7b23a9cefc5074 (diff) |
Move PM-Mapper CSIT to project repo
Issue-ID: DCAEGEN2-2746
Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com>
Change-Id: Ib96f8453fd7fecbaddaada1b11d3b8551bb7f8fa
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 |