From 324ee36fe31763e507b422ab0a88e4230045e205 Mon Sep 17 00:00:00 2001 From: "Timoney, Daniel (dt5972)" Date: Wed, 15 Feb 2017 10:37:53 -0500 Subject: Initial commit for OpenECOMP SDN-C OA&M Change-Id: I7ab579fd0d206bf356f36d52dcdf4f71f1fa2680 Signed-off-by: Timoney, Daniel (dt5972) Former-commit-id: 2a9f0edd09581f907e62ec4689b5ac94dd5382ba --- installation/dgbuilder/flowShareUsers.js | 8 + installation/dgbuilder/pom.xml | 177 ++++++++++++++++++++++ installation/dgbuilder/src/main/docker/Dockerfile | 11 ++ 3 files changed, 196 insertions(+) create mode 100644 installation/dgbuilder/flowShareUsers.js create mode 100644 installation/dgbuilder/pom.xml create mode 100644 installation/dgbuilder/src/main/docker/Dockerfile (limited to 'installation/dgbuilder') diff --git a/installation/dgbuilder/flowShareUsers.js b/installation/dgbuilder/flowShareUsers.js new file mode 100644 index 00000000..4cbf7390 --- /dev/null +++ b/installation/dgbuilder/flowShareUsers.js @@ -0,0 +1,8 @@ +module.exports = {"flowShareUsers": + [ + { + "name" : "Release 1702", + "rootDir" : "1702" + } + ] +} diff --git a/installation/dgbuilder/pom.xml b/installation/dgbuilder/pom.xml new file mode 100644 index 00000000..4eaf158c --- /dev/null +++ b/installation/dgbuilder/pom.xml @@ -0,0 +1,177 @@ + + + + + org.openecomp.sdnc.oam + installation + 1.0.0 + + + 4.0.0 + pom + org.openecomp.sdnc.oam + installation-dgbuilder + 1.0.0 + + Installation - dgbuilder + Creates docker container for dgbuilder + + + ecomp/dgbuilder-sdnc-image + + + + + + + + + io.fabric8 + docker-maven-plugin + 0.16.5 + false + + + + + ${image.name} + + try + ${basedir}/target/docker-stage + ${basedir}/target/docker-stage/Dockerfile + + ${project.version} + latest + + + + + + + + generate-images + process-sources + + build + + + + + push-images + deploy + + build + push + + + + + + maven-resources-plugin + 2.6 + + + copy-dockerfile + + copy-resources + + validate + + ${basedir}/target/docker-stage + + + src/main/docker + + Dockerfile + + true + + + + + + + + + exec-maven-plugin + org.codehaus.mojo + + + make-path + generate-sources + + exec + + + /bin/mkdir + + -p + ${basedir}/target/docker-stage/opt/openecomp/sdnc + + + + + Copy dgbuilder + generate-sources + + exec + + + /bin/cp + + -r + ../../dgbuilder + ${basedir}/target/docker-stage/opt/openecomp/sdnc + + + + + + dgbuilder createReleaseDir + generate-sources + + exec + + + /bin/bash + + ${basedir}/target/docker-stage/opt/openecomp/sdnc/dgbuilder/createReleaseDir + 1702 + dguser + change_email_id@dgbuilder.com + + + + + + change shell permissions + process-sources + + exec + + + /usr/bin/find + + ${basedir}/target/docker-stage/opt/openecomp/sdnc + -name + *.sh + -exec + chmod + +x + {} + ; + + + + + + + + + + + + openECOMP + + diff --git a/installation/dgbuilder/src/main/docker/Dockerfile b/installation/dgbuilder/src/main/docker/Dockerfile new file mode 100644 index 00000000..fd91e773 --- /dev/null +++ b/installation/dgbuilder/src/main/docker/Dockerfile @@ -0,0 +1,11 @@ +# Base ubuntu with added packages needed for open ecomp +FROM ecomp/ubuntu-sdnc-image:${project.version} +MAINTAINER SDN-C Team (sdnc@lists.openecomp.org) + +# copy openecomp +COPY opt /opt +WORKDIR /opt/openecomp/sdnc/dgbuilder +RUN npm install + +#ENTRYPOINT /bin/bash /opt/openecomp/sdnc/dgbuilder/start sdnc1.0 +EXPOSE 3100 -- cgit 1.2.3-korg