Fix hpa docker failure 77/103077/2 1.5.4
authorHaibin Huang <haibin.huang@intel.com>
Thu, 5 Mar 2020 02:07:24 +0000 (10:07 +0800)
committerHaibin Huang <haibin.huang@intel.com>
Thu, 5 Mar 2020 02:47:10 +0000 (10:47 +0800)
Issue-ID: MULTICLOUD-1020
Signed-off-by: Haibin Huang <haibin.huang@intel.com>
Change-Id: I2dad4851345339e5737b41722720dc3538e1c7fa

hpa/README.md
hpa/pom.xml
hpa/setup.py

index fe568ad..6b17a78 100644 (file)
@@ -1,6 +1,6 @@
 # 1. compile hpa plugin
 cd hpa
-python setup.py compile
+python setup.py build
 
 # 2. install hpa plugin
 cd hpa
index 8e2b1ed..06e7eb7 100644 (file)
                             <execution>
                                 <phase>install</phase>
                                 <inherited>false</inherited>
-                                <configuration>
-                                    <target>
-                                        <exec executable="docker">
-                                           <arg value="build"/>
-                                           <arg value="-t"/>
-                                           <arg value="${CONTAINER_PUSH_REGISTRY}/onap/multicloud/openstack-hpa:${project.version}"/>
-                                           <arg value="docker_target"/>
-                                        </exec>
-                                        <exec executable="docker">
-                                            <arg value="tag"/>
-                                            <arg value="${CONTAINER_PUSH_REGISTRY}/onap/multicloud/openstack-hpa:${project.version}"/>
-                                            <arg value="${CONTAINER_PUSH_REGISTRY}/onap/multicloud/openstack-hpa:latest"/>
-                                        </exec>
-                                        <exec executable="docker">
-                                            <arg value="push"/>
-                                            <arg value="${CONTAINER_PUSH_REGISTRY}/onap/multicloud/openstack-hpa:${project.version}"/>
-                                        </exec>
-                                        <exec executable="docker">
-                                            <arg value="push"/>
-                                            <arg value="${CONTAINER_PUSH_REGISTRY}/onap/multicloud/openstack-hpa:latest"/>
-                                        </exec>
-                                    </target>
-                                </configuration>
                                 <goals>
                                     <goal>run</goal>
                                 </goals>
index d7291ce..7fd5ba1 100644 (file)
@@ -1,14 +1,10 @@
 from setuptools import setup, find_packages
 
-with open("README.md", "r") as fh:
-    long_description = fh.read()
-
 setup(
     name='onaphpadriver',
     version='1.0',
 
     description='HPA discovery package for stevedore',
-    long_description=long_description,
 
     author='Haibin Huang',
     author_email='haibin.huang@intel.com',