aboutsummaryrefslogtreecommitdiffstats
path: root/plans/dcaegen2-services-son-handler/testsuites/teardown.sh
blob: 7db3d2f6ce9bed2adc0993df86bac63d79ed8abd (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
echo "Starting teardown script"
TEST_PLANS_DIR=$WORKSPACE/plans/dcaegen2-services-son-handler/testsuites
mkdir -p $WORKSPACE/archives

docker container stop configdb_oof_sim
docker container rm configdb_oof_sim
docker-compose -f $TEST_PLANS_DIR/docker-compose.yaml logs > $WORKSPACE/archives/sonhandler-docker-compose.log
docker-compose -f $TEST_PLANS_DIR/docker-compose.yaml down -v