diff options
author | varun gudisena <varuneshwar.gudisena@att.com> | 2018-11-02 11:33:00 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-11-02 11:33:00 +0000 |
commit | ce8676cf8e92559c8149e6e382dea208e348c5de (patch) | |
tree | db5d4ce203e0cbd8667c849523ac5fa4752eb9c4 /auth/csit/dclean.sh | |
parent | 4da42ecf75dcefbf4fb1360ac547b33f0c8845af (diff) | |
parent | a4c60432d67ca5f0cd7f49dcacc2eecd581db9ab (diff) |
Merge "Refactor CSIT start/stop"
Diffstat (limited to 'auth/csit/dclean.sh')
-rw-r--r-- | auth/csit/dclean.sh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/auth/csit/dclean.sh b/auth/csit/dclean.sh deleted file mode 100644 index b943d08a..00000000 --- a/auth/csit/dclean.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -# Pull in Variables from d.props -. ./d.props -DOCKER=${DOCKER:=docker} - -if [ "$1" == "" ]; then - AAF_COMPONENTS="$(cat components) config core agent" -else - AAF_COMPONENTS="$@" -fi - -echo "Y" | $DOCKER container prune -for AAF_COMPONENT in ${AAF_COMPONENTS}; do - $DOCKER image rm $ORG/$PROJECT/aaf_$AAF_COMPONENT:${VERSION} - if [ ! "$PREFIX" = "" ]; then - $DOCKER image rm $DOCKER_REPOSITORY/$ORG/$PROJECT/aaf_$AAF_COMPONENT:${VERSION} - $DOCKER image rm $DOCKER_REPOSITORY/$ORG/$PROJECT/aaf_$AAF_COMPONENT:latest - fi -done -echo "Y" | $DOCKER image prune |