aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ci/storperf/containers.sh
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-08-28 01:54:13 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-28 01:54:13 +0000
commite8e46c97c8e3b7b77a598cd39e1f938e0bbef3c0 (patch)
treeb4404e4bea46198c069dd43d0459359607de4072 /tests/ci/storperf/containers.sh
parent672dee17fb667d18036cf855458cd8a5f86e860a (diff)
parent73f6ca735e00902f9b71a9110eb97c7b008d8e94 (diff)
Merge "Skip container and docker image clean up"
Diffstat (limited to 'tests/ci/storperf/containers.sh')
-rwxr-xr-xtests/ci/storperf/containers.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/ci/storperf/containers.sh b/tests/ci/storperf/containers.sh
index 02a947da..26d582bf 100755
--- a/tests/ci/storperf/containers.sh
+++ b/tests/ci/storperf/containers.sh
@@ -11,20 +11,6 @@ clean_containers()
{
echo "QTIP: Cleanup existing qtip and storperf containers"
docker-compose -f qtip-storperf-docker-compose.yaml down
-
- for name in qtip storperf-master storperf-swaggerui storperf-httpfrontend storperf-reporting
- do
- container=$(docker ps -a | grep "opnfv/${name}:${DOCKER_TAG}" | awk '{print $1}')
- if [[ ! -z "$container" ]]; then
- echo "QTIP: Removing any existing $name container"
- docker rm -v $container
- fi
-
- if [[ $(docker images opnfv/${name}:${DOCKER_TAG} | wc -l) -gt 1 ]]; then
- echo "QTIP: Removing docker image opnfv/$name :$DOCKER_TAG..."
- docker rmi opnfv/${name}:${DOCKER_TAG}
- fi
- done
}