From 13e0d02854cc014c8d2a60a9e07f16f0acd99e08 Mon Sep 17 00:00:00 2001 From: Anaël Closson Date: Tue, 14 Feb 2017 11:17:50 +0100 Subject: Docker should clone config first MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mso-config and chef-config repos should be clone for docker image builds. Those repositories are taken from official openecomp.org repositories. Change-Id: I754472cc2e28c2ec2021b2c853566e12f8c9fe6b Signed-off-by: Anaël Closson --- packages/docker/pom.xml | 37 ++++++++++++++++++++++ .../docker/docker-files/chef-configs/readme.md | 1 - 2 files changed, 37 insertions(+), 1 deletion(-) delete mode 100644 packages/docker/src/main/docker/docker-files/chef-configs/readme.md diff --git a/packages/docker/pom.xml b/packages/docker/pom.xml index 8129336108..f011618f5d 100644 --- a/packages/docker/pom.xml +++ b/packages/docker/pom.xml @@ -23,6 +23,43 @@ ${project.artifactId}-${project.version} + + org.apache.maven.plugins + maven-scm-plugin + 1.9.5 + + + chef-repo-checkout + + checkout + + initialize + + scm:git:ssh://gerrit.openecomp.org:29418/mso/chef-repo + src/main/docker/docker-files/chef-configs/chef-repo + master + branch + true + false + + + + mso-config-checkout + + checkout + + initialize + + scm:git:ssh://gerrit.openecomp.org:29418/mso/mso-config + src/main/docker/docker-files/chef-configs/mso-config + master + branch + true + false + + + + io.fabric8 docker-maven-plugin diff --git a/packages/docker/src/main/docker/docker-files/chef-configs/readme.md b/packages/docker/src/main/docker/docker-files/chef-configs/readme.md deleted file mode 100644 index 6d42de8d23..0000000000 --- a/packages/docker/src/main/docker/docker-files/chef-configs/readme.md +++ /dev/null @@ -1 +0,0 @@ -Please clone the 'chef-repo' and 'mso-config' repository here before building images. -- cgit 1.2.3-korg