aboutsummaryrefslogtreecommitdiffstats
path: root/csit/plans
diff options
context:
space:
mode:
authorHesam Rahimi <hesam.rahimi@huawei.com>2021-06-07 20:02:32 +0000
committerKAPIL SINGAL <ks220y@att.com>2021-06-22 16:50:48 +0000
commit55378e7480442b8cee46d215a85e194c56b38f36 (patch)
tree991ff17070697c5cfef7306b3f195ed1b258a236 /csit/plans
parentb20349a92894af9b948c8bf2b5c67c5bd86f9da5 (diff)
Effort to reduce image layer and size
Removing few ENV version variable and those should be read from pom properties (maven-resource-plugin filtering true) Combined Dockerfile and Standalone.Dockerfile Adding Docker build arg AAF which will decide whether to add aaa-app-config.xml in docker image or not for standalone Updated docker-maven-plugin to 0.34.0 to have noCache true Removing start-it-container execution as it's being tested by CSIT Replacing maven-exec-plugin with maven-antrun-plugin Updating latest base docker images versions Updating parent version to 2.1.7 Issue-ID: CCSDK-3226 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I68f8f4780804a2014b73b5eeb9dba29d1896a602 Former-commit-id: 866ddebbcac80c38c79c46bb37373123a0c678f0
Diffstat (limited to 'csit/plans')
-rw-r--r--csit/plans/sdnc/setup.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/csit/plans/sdnc/setup.sh b/csit/plans/sdnc/setup.sh
index ba1c0b86..ec5d9b9e 100644
--- a/csit/plans/sdnc/setup.sh
+++ b/csit/plans/sdnc/setup.sh
@@ -18,7 +18,8 @@
# Modifications copyright (c) 2021 AT&T Intellectual Property
#
-#
+# Remove all dangling images
+docker image prune -f
###################### Netconf Simulator Setup ######################
@@ -30,7 +31,7 @@ fi
mkdir ${WORKSPACE}/archives/pnf-simulator
git clone "https://gerrit.onap.org/r/integration/simulators/pnf-simulator" ${WORKSPACE}/archives/pnf-simulator
-# Fix docker-compose to add nexus repo for onap dockers
+# Fix docker-compose to add nexus repo for onap dockers
mv ${WORKSPACE}/archives/pnf-simulator/netconfsimulator/docker-compose.yml ${WORKSPACE}/archives/pnf-simulator/netconfsimulator/docker-compose.yml.orig
cat ${WORKSPACE}/archives/pnf-simulator/netconfsimulator/docker-compose.yml.orig | sed -e "s/image: onap/image: nexus3.onap.org:10001\/onap/" > ${WORKSPACE}/archives/pnf-simulator/netconfsimulator/docker-compose.yml