From b1ac7253c276b1848a37f8e16d8aab93e643a97e Mon Sep 17 00:00:00 2001 From: "Timoney, Dan (dt5972)" Date: Fri, 14 Dec 2018 13:00:43 -0500 Subject: Port ODL Oxygen to alpine Add new alpine-based images for OpenDaylight Oxygen container. Change-Id: I49eb198e39a4dd71736175876e2e1af0a85d5228 Issue-ID: CCSDK-841 Signed-off-by: Timoney, Dan (dt5972) --- odlsli/pom.xml | 549 +++------------------------------------------------------ 1 file changed, 20 insertions(+), 529 deletions(-) (limited to 'odlsli/pom.xml') diff --git a/odlsli/pom.xml b/odlsli/pom.xml index 815d1b7c..b4ebe1fe 100644 --- a/odlsli/pom.xml +++ b/odlsli/pom.xml @@ -1,531 +1,22 @@ - - 4.0.0 - - - org.onap.ccsdk.parent - odlparent-lite - 1.2.0-SNAPSHOT - - - - org.onap.ccsdk.distribution - distribution-odlsli - 0.4.0-SNAPSHOT - pom - - ccsdk-distribution :: odlsli - Creates SDN Controller Docker container - - openECOMP - - - - onap/ccsdk-odlsli-image - ${project.version} - ${project.version} - ${https_proxy} - yyyyMMdd'T'HHmmss'Z' - opt/opendaylight - deploy - true - 93C4A3FD7BB9C367 - - - - - ${project.groupId} - dependencies - ${project.version} - repo - zip - - - - org.onap.ccsdk.sli.core - dblib-installer - ${ccsdk.sli.core.version} - repo - zip - - - org.onap.ccsdk.sli.core - filters-installer - ${ccsdk.sli.core.version} - repo - zip - - - org.onap.ccsdk.sli.core - sli-installer - ${ccsdk.sli.core.version} - repo - zip - - - org.onap.ccsdk.sli.core - sliapi-installer - ${ccsdk.sli.core.version} - repo - zip - - - org.onap.ccsdk.sli.core - sliPluginUtils-installer - ${ccsdk.sli.core.version} - repo - zip - - - org.onap.ccsdk.sli.core - utils-installer - ${ccsdk.sli.core.version} - repo - zip - - - org.onap.ccsdk.sli.core - slicore-features-installer - ${ccsdk.sli.core.version} - repo - zip - - - org.onap.ccsdk.sli.adaptors - aai-service-installer - ${ccsdk.sli.adaptors.version} - repo - zip - - - org.onap.ccsdk.sli.adaptors - ansible-adapter-installer - ${ccsdk.sli.adaptors.version} - repo - zip - - - org.onap.ccsdk.sli.adaptors - mdsal-resource-installer - ${ccsdk.sli.adaptors.version} - repo - zip - - - org.onap.ccsdk.sli.adaptors - resource-assignment-installer - ${ccsdk.sli.adaptors.version} - repo - zip - - - org.onap.ccsdk.sli.adaptors - netbox-client-installer - ${ccsdk.sli.adaptors.version} - repo - zip - - - org.onap.ccsdk.sli.adaptors - sql-resource-installer - ${ccsdk.sli.adaptors.version} - repo - zip - - - org.onap.ccsdk.sli.adaptors - sliadaptors-features-installer - ${ccsdk.sli.adaptors.version} - repo - zip - - - org.onap.ccsdk.sli.northbound - asdcApi-installer - ${ccsdk.sli.northbound.version} - repo - zip - - - org.onap.ccsdk.sli.northbound - dataChange-installer - ${ccsdk.sli.northbound.version} - repo - zip - - - org.onap.ccsdk.sli.northbound - lcm-installer - ${ccsdk.sli.northbound.version} - repo - zip - - - org.onap.ccsdk.sli.northbound - slinorthbound-features-installer - ${ccsdk.sli.northbound.version} - repo - zip - - - org.onap.ccsdk.sli.plugins - properties-node-installer - ${ccsdk.sli.plugins.version} - repo - zip - - - org.onap.ccsdk.sli.plugins - restapi-call-node-installer - ${ccsdk.sli.plugins.version} - repo - zip - - - org.onap.ccsdk.sli.plugins - restconf-client-installer - ${ccsdk.sli.plugins.version} - repo - zip - - - org.onap.ccsdk.sli.plugins - sshapi-call-node-installer - ${ccsdk.sli.plugins.version} - repo - zip - - - org.onap.ccsdk.sli.plugins - sliplugins-features-installer - ${ccsdk.sli.plugins.version} - repo - zip - - - org.onap.ccsdk.features - features-installer - ${ccsdk.features.version} - repo - zip - - - org.onap.ccsdk.features - blueprints-processor-installer - ${ccsdk.features.version} - repo - zip - - - - - - - - org.apache.maven.wagon - wagon-http-lightweight - 2.2 - - - - - - - org.codehaus.groovy.maven - gmaven-plugin - - - validate - - execute - - - - println project.properties['ccsdk.project.version']; - def versionArray; - if (project.properties['ccsdk.project.version'] != null ) { - versionArray = project.properties['ccsdk.project.version'].split('\\.'); - } - - if (project.properties['ccsdk.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']; - - - - - - - - - - maven-resources-plugin - 2.6 - - - copy-dockerfile - - copy-resources - - validate - - ${basedir}/target/docker-stage - - - src/main/docker - - Dockerfile - - true - - - - - - - copy-scripts - - copy-resources - - validate - - ${basedir}/target/docker-stage/opt/onap/ccsdk/bin - - - src/main/scripts - - *.sh - - false - - - - - - - copy-odl-resources - - copy-resources - - validate - - ${basedir}/target/docker-stage - - - src/main/resources - - idmlight.db.mv.db - org.ops4j.pax.logging.cfg - install_ccsdk.yml - ansible-sources.list - - false - - - - - - copy-config - - copy-resources - - validate - - ${basedir}/target/docker-stage - - - src/main/resources - - org.ops4j.pax.logging.cfg - - false - - - - - - copy-data - - copy-resources - - validate - - ${basedir}/target/docker-stage/opt/onap/ccsdk/data - - - src/main/resources - - *.dump - - false - - - - - - copy-properties - - copy-resources - - validate - - ${basedir}/target/docker-stage/opt/onap/ccsdk/data/properties - - - src/main/properties - - *.properties - - false - - - - - - copy-keystores - - copy-resources - - validate - - ${basedir}/target/docker-stage/opt/onap/ccsdk/data/stores - - - src/main/stores - - *.jks - - false - - - - - - - - org.apache.maven.plugins - maven-dependency-plugin - 3.0.2 - - - unpack features - generate-sources - - unpack-dependencies - - - ${basedir}/target/docker-stage - true - - - - unpack dgs - generate-sources - - unpack - - - ${basedir}/target/docker-stage/opt/onap/ccsdk - - - ${project.groupId} - platform-logic-installer - ${project.version} - zip - - - - - - - - org.codehaus.mojo - exec-maven-plugin - 1.5.0 - - - - change shell permissions - process-sources - - exec - - - /usr/bin/find - - ${basedir}/target/docker-stage/opt/onap/ccsdk - -name - *.sh - -exec - chmod - +x - {} - ; - - - - - - - - - - - - - docker - - - - 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 - ${docker.push.phase} - - build - push - - - - - - - - + + 4.0.0 + + + org.onap.ccsdk.distribution + distribution-root + 0.4.0-SNAPSHOT + + + distribution-odlsli + 0.4.0-SNAPSHOT + pom + + ccsdk-distribution :: opendaylight + Creates OpenDaylight container + + + odlsli-ubuntu + odlsli-alpine + -- cgit 1.2.3-korg