Update odlsli for ODL Oxygen 45/55045/1
authorTimoney, Dan (dt5972) <dt5972@att.com>
Tue, 19 Jun 2018 03:01:08 +0000 (23:01 -0400)
committerTimoney, Dan (dt5972) <dt5972@att.com>
Tue, 19 Jun 2018 03:01:08 +0000 (23:01 -0400)
Update odlsli to use ODL Oxygen as base container and to support local
docker builds for testing.

Change-Id: Ie615896e56177bf4b239ec080f09c50d8c16c0c5
Issue-ID: CCSDK-285
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
odlsli/pom.xml
odlsli/src/main/docker/Dockerfile
opendaylight/nitrogen/pom.xml
opendaylight/oxygen/pom.xml
opendaylight/pom.xml

index 8905495..7a63ca2 100644 (file)
@@ -26,6 +26,7 @@
         <ccsdk.project.version>${project.version}</ccsdk.project.version>
         <docker.buildArg.https_proxy>${https_proxy}</docker.buildArg.https_proxy>
         <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
+       <docker.push.phase>deploy</docker.push.phase>
     </properties>
 
     <dependencies>
 
                             <execution>
                                 <id>push-images</id>
-                                <phase>deploy</phase>
+                                <phase>${docker.push.phase}</phase>
                                 <goals>
                                     <goal>build</goal>
                                     <goal>push</goal>
index a31fcff..f6aeda6 100644 (file)
@@ -1,5 +1,5 @@
 # Base ubuntu with added packages needed for open ecomp
-FROM onap/ccsdk-odl-image:${project.version}
+FROM onap/ccsdk-odl-oxygen-image:${project.version}
 MAINTAINER CCSDK Team (onap-ccsdk@lists.openecomp.org)
 ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64
 ENV ODL_HOME /opt/opendaylight/current
index 7e68f61..589184c 100644 (file)
@@ -19,7 +19,7 @@
     </organization>
 
     <properties>
-        <image.name>onap/ccsdk-odl-image</image.name>
+        <image.name>onap/ccsdk-odl-nitrogen-image</image.name>
         <ccsdk.project.version>${project.version}</ccsdk.project.version>
         <ccsdk.opendaylight.version>0.7.1</ccsdk.opendaylight.version>
         <ccsdk.mariadb-connector-java.version>2.1.1</ccsdk.mariadb-connector-java.version>
index 4ecc62b..5ef52b6 100644 (file)
@@ -24,6 +24,7 @@
         <ccsdk.opendaylight.version>0.8.1</ccsdk.opendaylight.version>
         <ccsdk.mariadb-connector-java.version>2.1.1</ccsdk.mariadb-connector-java.version>
         <docker.buildArg.https_proxy>${https_proxy}</docker.buildArg.https_proxy>
+       <docker.push.phase>deploy</docker.push.phase>
     </properties>
 
     <dependencyManagement>
 
                             <execution>
                                 <id>push-images</id>
-                                <phase>install</phase>
+                                <phase>${docker.push.phase}</phase>
                                 <goals>
                                     <goal>build</goal>
                                     <goal>push</goal>
index a72076d..6afc14d 100644 (file)
@@ -16,7 +16,6 @@
     <description>Creates OpenDaylight container</description>
 
     <modules>
-           <module>nitrogen</module>
            <module>oxygen</module>
     </modules>
 </project>

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use