From fc4025185f90cf7088513e8ee72c17942604ab2e Mon Sep 17 00:00:00 2001 From: Murali Date: Wed, 13 Sep 2017 10:37:44 +0000 Subject: Fix the docker daily build issue Change-Id: I79a08d836eb5e46a0bc2bc3714bfafa04c021f94 Jira:VNFSDK-77 Signed-off-by: Murali --- .../deployment/docker/docker-postgres/pom.xml | 96 -------------- .../deployment/docker/docker-refrepo/pom.xml | 105 --------------- vnfmarket-be/deployment/docker/pom.xml | 146 +++++++++++++++++++-- 3 files changed, 138 insertions(+), 209 deletions(-) delete mode 100644 vnfmarket-be/deployment/docker/docker-postgres/pom.xml delete mode 100644 vnfmarket-be/deployment/docker/docker-refrepo/pom.xml (limited to 'vnfmarket-be') diff --git a/vnfmarket-be/deployment/docker/docker-postgres/pom.xml b/vnfmarket-be/deployment/docker/docker-postgres/pom.xml deleted file mode 100644 index 866e7b2a..00000000 --- a/vnfmarket-be/deployment/docker/docker-postgres/pom.xml +++ /dev/null @@ -1,96 +0,0 @@ - - - - 4.0.0 - - - org.onap.vnfsdk.refrepo - vnf-sdk-marketplace-core-parent - 1.0.0-SNAPSHOT - ../../../pom.xml - - - refrepo-docker-postgres - refrepo/deployment/docker/postgres - pom - - - onap/refrepo/postgres - yyyyMMdd-HHmm - - true - true - true - - - - - - com.spotify - docker-maven-plugin - 0.4.11 - - true - ${docker.image.name} - docker-hub - ${basedir}/ - - - - build-image - package - - build - - - ${skip.docker.build} - - - - tag-image-timestamped-version - deploy - - tag - - - ${docker.image.name} - ${docker.push.registry}/${docker.image.name}:${project.version}-${maven.build.timestamp} - ${skip.docker.push} - ${skip.docker.tag} - - - - tag-image-latest-version - deploy - - tag - - - ${docker.image.name} - ${docker.push.registry}/${docker.image.name}:latest - ${skip.docker.push} - ${skip.docker.tag} - - - - - - - diff --git a/vnfmarket-be/deployment/docker/docker-refrepo/pom.xml b/vnfmarket-be/deployment/docker/docker-refrepo/pom.xml deleted file mode 100644 index 16bea662..00000000 --- a/vnfmarket-be/deployment/docker/docker-refrepo/pom.xml +++ /dev/null @@ -1,105 +0,0 @@ - - - - 4.0.0 - - - org.onap.vnfsdk.refrepo - vnf-sdk-marketplace-core-parent - 1.0.0-SNAPSHOT - ../../../pom.xml - - - vnfmarket-docker-refrepo - vnfmarket/deployment/docker/refrepo - pom - - - onap/refrepo - yyyyMMdd-HHmm - - true - true - true - - - - - - com.spotify - docker-maven-plugin - 0.4.11 - - true - ${docker.image.name} - docker-hub - ${basedir}/src/main/docker - - - /STAGE - ${basedir}/../../zip/target/deployunzip - - **/* - - - - - - - build-image - package - - build - - - ${skip.docker.build} - - - - tag-image-timestamped-version - deploy - - tag - - - ${docker.image.name} - ${docker.push.registry}/${docker.image.name}:${project.version}-${maven.build.timestamp} - ${skip.docker.push} - ${skip.docker.tag} - - - - tag-image-latest-version - deploy - - tag - - - ${docker.image.name} - ${docker.push.registry}/${docker.image.name}:latest - ${skip.docker.push} - ${skip.docker.tag} - - - - - - - diff --git a/vnfmarket-be/deployment/docker/pom.xml b/vnfmarket-be/deployment/docker/pom.xml index c654a496..f620036a 100644 --- a/vnfmarket-be/deployment/docker/pom.xml +++ b/vnfmarket-be/deployment/docker/pom.xml @@ -22,19 +22,149 @@ org.onap.vnfsdk.refrepo - vnfmarket-deployment + vnf-sdk-marketplace-core-parent 1.0.0-SNAPSHOT - ../pom.xml + ../../pom.xml - vnfmarket-deployment-docker - 1.0.0-SNAPSHOT + vnfmarket-docker-refrepo vnfmarket/deployment/docker pom - - docker-refrepo - docker-postgres - + + yyyyMMdd-HHmm + + true + true + true + true + + + + + com.spotify + docker-maven-plugin + 0.4.11 + + true + onap/refrepo + docker-hub + ${basedir}/docker-refrepo/src/main/docker + + + /STAGE + ${basedir}/../zip/target/deployunzip + + **/* + + + + + + + + build-image + package + + build + + + ${skip.docker.build} + + + + tag-image-timestamped-version + deploy + + tag + + + onap/refrepo + ${docker.push.registry}/onap/refrepo:${project.version}-${maven.build.timestamp} + ${skip.docker.push} + ${skip.docker.tag} + + + + tag-image-latest-version + deploy + + tag + + + onap/refrepo + ${docker.push.registry}/onap/refrepo:latest + ${skip.docker.push} + ${skip.docker.tag} + + + + + + + io.fabric8 + docker-maven-plugin + 0.16.7 + + true + 1.23 + ${docker.skip} + + + onap/refrepo/postgres + postgres + + try + ${basedir}/docker-postgres + ${basedir}/docker-postgres/Dockerfile + + + + + + + + clean-images + pre-clean + + remove + + + true + onap/refrepo/postgres + + + + + generate-images + generate-sources + + build + + + + push-images + deploy + + build + push + + + onap/refrepo/postgres + + + + + + org.apache.maven.plugins + maven-deploy-plugin + 2.8 + + true + + + + + -- cgit 1.2.3-korg