From fbbc9bceb83de1ade5b4b6a666546aba24a14e2f Mon Sep 17 00:00:00 2001 From: "Singal, Kapil (ks220y)" Date: Wed, 16 Sep 2020 10:49:28 -0400 Subject: Fixing dockerFile Fixing dockerFile and related items Refactoring pom properties Issue-ID: CCSDK-2794 Change-Id: Ib9d3cc38c2db65778cef2590ab774035305a16fa Signed-off-by: Singal, Kapil (ks220y) --- ms/blueprintsprocessor/application/pom.xml | 17 ++++------------- .../application/src/main/docker/Dockerfile | 2 +- .../application/src/test/resources/logback-test.xml | 6 +++--- ms/blueprintsprocessor/pom.xml | 5 ----- 4 files changed, 8 insertions(+), 22 deletions(-) (limited to 'ms/blueprintsprocessor') diff --git a/ms/blueprintsprocessor/application/pom.xml b/ms/blueprintsprocessor/application/pom.xml index fdfd7d157..08390bd47 100755 --- a/ms/blueprintsprocessor/application/pom.xml +++ b/ms/blueprintsprocessor/application/pom.xml @@ -38,9 +38,6 @@ org.onap.ccsdk.cds blueprintsprocessor onap/ccsdk-blueprintsprocessor - deploy - true - ${maven.build.timestamp} @@ -339,7 +336,7 @@ io.fabric8 docker-maven-plugin - 0.26.1 + 0.34.0 false @@ -356,18 +353,12 @@ - true + ${docker.verbose} + ${docker.skip.push} - generate-images - package - - build - - - - push-images + build-push-images ${docker.push.phase} build diff --git a/ms/blueprintsprocessor/application/src/main/docker/Dockerfile b/ms/blueprintsprocessor/application/src/main/docker/Dockerfile index 6326bb862..c4da384f5 100755 --- a/ms/blueprintsprocessor/application/src/main/docker/Dockerfile +++ b/ms/blueprintsprocessor/application/src/main/docker/Dockerfile @@ -9,7 +9,7 @@ COPY @project.build.finalName@-@assembly.id@.tar.gz /source.tar.gz RUN tar -xzf /source.tar.gz -C /tmp \ && cp -rf /tmp/@project.build.finalName@/opt / \ && rm -rf /source.tar.gz \ - && rm -rf /tmp/@project.build.finalName@ + && rm -rf /tmp/@project.build.finalName@ \ && touch /velocity.log \ && chown onap:onap /velocity.log \ && chmod 755 /velocity.log \ diff --git a/ms/blueprintsprocessor/application/src/test/resources/logback-test.xml b/ms/blueprintsprocessor/application/src/test/resources/logback-test.xml index 90dfed324..ed1fb9d00 100644 --- a/ms/blueprintsprocessor/application/src/test/resources/logback-test.xml +++ b/ms/blueprintsprocessor/application/src/test/resources/logback-test.xml @@ -29,8 +29,8 @@ - - + + @@ -39,7 +39,7 @@ - + diff --git a/ms/blueprintsprocessor/pom.xml b/ms/blueprintsprocessor/pom.xml index f87ff14db..7db4c7dfa 100755 --- a/ms/blueprintsprocessor/pom.xml +++ b/ms/blueprintsprocessor/pom.xml @@ -40,10 +40,5 @@ BlueprintsProcessor - UTF-8 - UTF-8 - yyyyMMdd'T'HHmmss'Z' - ${maven.build.timestamp} - ${project.version} -- cgit 1.2.3-korg