Fixing test artifacts 55/3455/1
authoragrawalgaurav <gaurav.agrawal@huawei.com>
Thu, 14 May 2020 15:29:30 +0000 (20:59 +0530)
committeragrawalgaurav <gaurav.agrawal@huawei.com>
Thu, 14 May 2020 15:29:30 +0000 (20:59 +0530)
Change-Id: I2dd94944bcb65fca94d1b94b76d5a22f856ffc56

mecm/mepm/applcm/go.mod [new file with mode: 0644]
mecm/mepm/applcm/resources/Build-Run.sh
mecm/mepm/applcm/resources/docker-compose.yaml
mecm/mepm/applcm/resources/sample_app.csar

diff --git a/mecm/mepm/applcm/go.mod b/mecm/mepm/applcm/go.mod
new file mode 100644 (file)
index 0000000..11de177
--- /dev/null
@@ -0,0 +1,3 @@
+module applcm
+
+go 1.14
index b569901..55f14c7 100644 (file)
@@ -1,9 +1,12 @@
-AppLcm broker compile and build docker image 
-/applcm/broker/docker-build.sh
+#AppLcm broker compile and build docker image
+cd ../broker
+. docker-build.sh
 
 
-helmplugin compile and build docker image 
-/applcm/k8shelm/docker-build.sh
+#helmplugin compile and build docker image
+cd ../k8shelm
+. docker-build.sh
 
-Run docker images:
-run docker-compose file
+#Run docker images:
+cd ../resources
+sudo docker-compose up -d
index adff907..943556a 100644 (file)
@@ -5,6 +5,9 @@ networks:
   bridge:
     external: true
 
+volumes:
+  my-db:
+
 services:
   db:
     network_mode: bridge
@@ -46,7 +49,7 @@ services:
       HELM_PLUGIN_PORT: '50051'
       KUBERNETES_PLUGIN_PORT: '50052'
       LOGFILE_PATH: "/go/release/logfile"
-      LOGGER_LEVEL: "logrus.InfoLevel"
+      LOGGER_LEVEL: "info"
       ADDRESS: "0.0.0.0:8081"
       PACKAGE_PATH: "/go/release/application/packages/"
       PACKAGE_ARTIFACT_PATH: "/Artifacts/Deployment/"
@@ -69,7 +72,7 @@ services:
       HELM_PLUGIN_PORT: '50051'
       # Log file path, also to match dockerfile
       LOGFILE_PATH: "/go/release/logfile"
-      LOGGER_LEVEL: "logrus.InfoLevel"
+      LOGGER_LEVEL: "info"
       CERTIFICATE_PATH: ""
       KEY_PATH: ""
       # Temp chart file path, to be created in dockerfile
index 4472b8d..40c66aa 100644 (file)
Binary files a/mecm/mepm/applcm/resources/sample_app.csar and b/mecm/mepm/applcm/resources/sample_app.csar differ