From 5ff7ee49fdc6ae66b1ff2bbe581079a49a114ae0 Mon Sep 17 00:00:00 2001 From: Bogumil Zebek Date: Thu, 2 Apr 2020 18:32:39 +0200 Subject: Configure spotify docker plugin Change spotify docker plugin execution triggers from deploy to package. Issue-ID: VNFSDK-569 Signed-off-by: Zebek Bogumil Change-Id: I8b835f1506d94e9d2a321d4eeac5afeac1f53073 --- .../deployment/docker/docker-refrepo/pom.xml | 159 +++++++++------------ 1 file changed, 64 insertions(+), 95 deletions(-) diff --git a/vnfmarket-be/deployment/docker/docker-refrepo/pom.xml b/vnfmarket-be/deployment/docker/docker-refrepo/pom.xml index 0378751a..c181243c 100644 --- a/vnfmarket-be/deployment/docker/docker-refrepo/pom.xml +++ b/vnfmarket-be/deployment/docker/docker-refrepo/pom.xml @@ -34,112 +34,81 @@ yyyyMMdd'T'HHmmss'Z' - - true - true - true + nexus3.onap.org:10003 false true false nexus3.onap.org:10003 - - - - com.spotify - docker-maven-plugin - 1.0.0 - - true - onap/vnfsdk/refrepo - - ${project.version}-${maven.build.timestamp}Z - ${project.version} - latest - - ${docker.noCache} - ${onap.nexus.dockerregistry.daily} - ${basedir}/src/main/docker - - - /STAGE - ${basedir}/../../zip/target/deployunzip - - **/* - - - - - - - build-image - package - - build - - - ${skip.docker.build} - - - - tag-image-timestamped-version - deploy - - tag - - - onap/vnfsdk/refrepo - ${docker.push.registry}/onap/vnfsdk/refrepo:${project.version}-${maven.build.timestamp} - ${skip.docker.push} - ${skip.docker.tag} - - - - tag-image-latest-version - deploy - - tag - - - onap/vnfsdk/refrepo - ${docker.push.registry}/onap/vnfsdk/refrepo:latest - ${skip.docker.push} - ${skip.docker.tag} - - - - - - - docker - package - - - org.codehaus.mojo - exec-maven-plugin - - - package - - exec - - - mvn - - package - docker:build - - - - - - + + + com.spotify + docker-maven-plugin + 1.0.0 + + true + onap/vnfsdk/refrepo + ${docker.noCache} + ${onap.nexus.dockerregistry.daily} + ${basedir}/src/main/docker + + + /STAGE + ${basedir}/../../zip/target/deployunzip + + **/* + + + + + + + + build-image + package + + build + + + false + + + + tag-image-timestamped-version + package + + tag + + + onap/vnfsdk/refrepo + ${docker.push.registry}/onap/vnfsdk/refrepo:${project.version}-${maven.build.timestamp} + true + false + + + + tag-image-latest-version + package + + tag + + + onap/vnfsdk/refrepo + ${docker.push.registry}/onap/vnfsdk/refrepo:latest + true + false + + + + + + -- cgit 1.2.3-korg