From: agrawalgaurav Date: Thu, 14 May 2020 15:29:30 +0000 (+0530) Subject: Fixing test artifacts X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;ds=sidebyside;h=03c5aa6fb40816544dc88e903509ba7e84e32307;hp=6642c4bbd85dc71edde3ff01b7c1a6bb412abb09;p=ealt-edge.git Fixing test artifacts Change-Id: I2dd94944bcb65fca94d1b94b76d5a22f856ffc56 --- diff --git a/mecm/mepm/applcm/go.mod b/mecm/mepm/applcm/go.mod new file mode 100644 index 0000000..11de177 --- /dev/null +++ b/mecm/mepm/applcm/go.mod @@ -0,0 +1,3 @@ +module applcm + +go 1.14 diff --git a/mecm/mepm/applcm/resources/Build-Run.sh b/mecm/mepm/applcm/resources/Build-Run.sh index b569901..55f14c7 100644 --- a/mecm/mepm/applcm/resources/Build-Run.sh +++ b/mecm/mepm/applcm/resources/Build-Run.sh @@ -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 diff --git a/mecm/mepm/applcm/resources/docker-compose.yaml b/mecm/mepm/applcm/resources/docker-compose.yaml index adff907..943556a 100644 --- a/mecm/mepm/applcm/resources/docker-compose.yaml +++ b/mecm/mepm/applcm/resources/docker-compose.yaml @@ -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 diff --git a/mecm/mepm/applcm/resources/sample_app.csar b/mecm/mepm/applcm/resources/sample_app.csar index 4472b8d..40c66aa 100644 Binary files a/mecm/mepm/applcm/resources/sample_app.csar and b/mecm/mepm/applcm/resources/sample_app.csar differ