From d9642fafddbaa28789339e1989c4583af003a193 Mon Sep 17 00:00:00 2001 From: "Timoney, Dan (dt5972)" Date: Tue, 6 Nov 2018 14:15:05 -0500 Subject: Fix license issues Fix license definition in package.json files Remove obsolete dgbuilder from SDNC (dgbuilder now in CCSDK) Change-Id: Iee0bf9468f081c5957eae2e873efbea6fb6be354 Issue-ID: SDNC-489 Signed-off-by: Timoney, Dan (dt5972) Former-commit-id: 4e104ac4183dd46124753c4571939e765a124508 --- installation/dgbuilder/.gitignore | 1 - installation/dgbuilder/flowShareUsers.js | 8 - installation/dgbuilder/pom.xml | 226 ---------------------- installation/dgbuilder/src/main/docker/Dockerfile | 13 -- 4 files changed, 248 deletions(-) delete mode 100755 installation/dgbuilder/.gitignore delete mode 100644 installation/dgbuilder/flowShareUsers.js delete mode 100644 installation/dgbuilder/pom.xml delete mode 100644 installation/dgbuilder/src/main/docker/Dockerfile (limited to 'installation') diff --git a/installation/dgbuilder/.gitignore b/installation/dgbuilder/.gitignore deleted file mode 100755 index ed7fb70f..00000000 --- a/installation/dgbuilder/.gitignore +++ /dev/null @@ -1 +0,0 @@ -releases \ No newline at end of file diff --git a/installation/dgbuilder/flowShareUsers.js b/installation/dgbuilder/flowShareUsers.js deleted file mode 100644 index 4cbf7390..00000000 --- a/installation/dgbuilder/flowShareUsers.js +++ /dev/null @@ -1,8 +0,0 @@ -module.exports = {"flowShareUsers": - [ - { - "name" : "Release 1702", - "rootDir" : "1702" - } - ] -} diff --git a/installation/dgbuilder/pom.xml b/installation/dgbuilder/pom.xml deleted file mode 100644 index 6ddd1eb8..00000000 --- a/installation/dgbuilder/pom.xml +++ /dev/null @@ -1,226 +0,0 @@ - - - - - org.onap.ccsdk.parent - odlparent-lite - 1.2.0-SNAPSHOT - - - 4.0.0 - pom - org.onap.sdnc.oam - installation-dgbuilder - 1.3.2-SNAPSHOT - - sdnc-oam :: installation :: ${project.artifactId} - Creates docker container for dgbuilder - - - onap/dgbuilder-sdnc-image - ${project.version} - - - - - - - - - org.codehaus.groovy.maven - gmaven-plugin - - - validate - - execute - - - - println project.properties['sdnc.project.version']; - def versionArray; - if ( project.properties['sdnc.project.version'] != null ) { - versionArray = - project.properties['sdnc.project.version'].split('\\.'); - } - - if (project.properties['sdnc.project.version'].endsWith("-SNAPSHOT")) { - project.properties['project.docker.latesttag.version']=versionArray[0] + '.' + versionArray[1] + "-STAGING-latest"; - } else { - project.properties['project.docker.latesttag.version']=versionArray[0] + '.' + versionArray[1] + "-STAGING-latest"; - } - - println 'New Tag for docker:' + - project.properties['project.docker.latesttag.version']; - - - - - - - io.fabric8 - docker-maven-plugin - 0.16.5 - false - - - - - ${image.name} - - try - ${basedir}/target/docker-stage - ${basedir}/target/docker-stage/Dockerfile - - ${project.version} - ${project.version}-STAGING-${maven.build.timestamp} - ${project.docker.latesttag.version} - - - - - - - - generate-images - package - - 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 - 1.5.0 - - - Make-stage-dir - generate-sources - - exec - - - /bin/mkdir - - -p - ${basedir}/target/docker-stage/opt/onap/sdnc - - - - - Unzip dgbuilder - generate-sources - - exec - - - /usr/bin/unzip - - -d - ${basedir}/target/docker-stage/opt/onap/sdnc - ../../dgbuilder/target/*.zip - - - - - Copy dgbuilder - generate-sources - - exec - - - /bin/cp - - -r - ../../dgbuilder - ${basedir}/target/docker-stage/opt/onap/sdnc - - - - - - dgbuilder createReleaseDir - generate-sources - - exec - - - /bin/bash - - ${basedir}/target/docker-stage/opt/onap/sdnc/dgbuilder/createReleaseDir.sh - 1702 - dguser - change_email_id@dgbuilder.com - - - - - - change shell permissions - process-sources - - exec - - - /usr/bin/find - - ${basedir}/target/docker-stage/opt/onap/sdnc - -name - *.sh - -exec - chmod - +x - {} - ; - - - - - - - - - - - - openECOMP - - diff --git a/installation/dgbuilder/src/main/docker/Dockerfile b/installation/dgbuilder/src/main/docker/Dockerfile deleted file mode 100644 index 2160e3e9..00000000 --- a/installation/dgbuilder/src/main/docker/Dockerfile +++ /dev/null @@ -1,13 +0,0 @@ -# Base ubuntu with added packages needed for open ecomp -FROM onap/ubuntu-sdnc-image:${project.version} -MAINTAINER SDN-C Team (sdnc@lists.openecomp.org) - -# copy openecomp -COPY opt /opt -WORKDIR /opt/openecomp/sdnc/dgbuilder -# Set the proxy if needed -# RUN npm config set proxy http://your.proxy.com:8080 -#RUN npm install - -#ENTRYPOINT /bin/bash /opt/openecomp/sdnc/dgbuilder/start sdnc1.0 -EXPOSE 3100 -- cgit 1.2.3-korg