aboutsummaryrefslogtreecommitdiffstats
path: root/csit/plans
diff options
context:
space:
mode:
Diffstat (limited to 'csit/plans')
-rw-r--r--csit/plans/sdnc/setup.sh9
-rwxr-xr-xcsit/plans/sdnr/setup.sh13
2 files changed, 21 insertions, 1 deletions
diff --git a/csit/plans/sdnc/setup.sh b/csit/plans/sdnc/setup.sh
index 2a418e6f..91783582 100644
--- a/csit/plans/sdnc/setup.sh
+++ b/csit/plans/sdnc/setup.sh
@@ -18,11 +18,18 @@
# Modifications copyright (c) 2021 AT&T Intellectual Property
#
-# Remove all dangling images
+# Remove all dangling images and cleanup /w/workspace and /tmp
docker image prune -f
+echo "Remove onap repository artifacts"
+rm -r /tmp/r/org/onap
+echo "Remove all target folders from workspace"
+rm -r $(find /w/workspace -name target)
###################### Netconf Simulator Setup ######################
+echo "Clean"
+sudo apt clean
+
# Get integration/simulators
if [ -d ${WORKSPACE}/archives/pnf-simulator ]
then
diff --git a/csit/plans/sdnr/setup.sh b/csit/plans/sdnr/setup.sh
index 08babea5..e2942b37 100755
--- a/csit/plans/sdnr/setup.sh
+++ b/csit/plans/sdnr/setup.sh
@@ -18,6 +18,19 @@
# Modifications copyright (c) 2021 highstreet technologies GmbH Property
#
+# Remove all not needed images and clean workspace
+sudo apt clean
+docker rmi -f $(docker images onap/sdnc-dmaap-listener-image -a -q)
+docker rmi -f $(docker images onap/sdnc-ueb-listener-image -a -q)
+docker rmi -f $(docker images onap/onap/sdnc-web-image -a -q)
+docker rmi -f $(docker images onap/sdnc-ansible-server-image -a -q)
+docker rmi -f $(docker images onap/sdnc-aaf-image -a -q)
+docker rmi -f $(docker images onap/ccsdk-ansible-server-image -a -q)
+docker rmi -f $(docker images onap/ccsdk-odlsli-alpine-image -a -q)
+docker images
+
+echo "Start plan sdnr"
+
source ${WORKSPACE}/scripts/sdnr/sdnr-launch.sh
onap_dependent_components_launch
nts_networkfunctions_launch ${WORKSPACE}/plans/sdnr/testdata/nts-networkfunctions.csv