Code Review
/
ealt-edge.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Image build and push scripts
[ealt-edge.git]
/
mecm
/
mepm
/
applcm
/
resources
/
deployment
/
build_push_image.sh
diff --git
a/mecm/mepm/applcm/broker/docker-build.sh
b/mecm/mepm/applcm/resources/deployment/build_push_image.sh
old mode 100755
(executable)
new mode 100644
(file)
similarity index 68%
rename from
mecm/mepm/applcm/broker/docker-build.sh
rename to
mecm/mepm/applcm/resources/deployment/build_push_image.sh
index
6f6bf8b
..
24ffcb3
--- a/
mecm/mepm/applcm/broker/docker-build.sh
+++ b/
mecm/mepm/applcm/resources/deployment/build_push_image.sh
@@
-1,4
+1,4
@@
-#!/bin/sh
+#!/bin/
ba
sh
# Copyright 2020 Huawei Technologies Co., Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Copyright 2020 Huawei Technologies Co., Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@
-13,5
+13,18
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
-MEP_VERSION=latest
-docker build --no-cache -t ealtedge/applcm-broker:${MEP_VERSION} -f build/Dockerfile .
+CURRENT_DIR=`pwd`
+
+echo "DOCKER_BUILD_DIR=${CURRENT_DIR}"
+echo "Build and Push APP LCM"
+
+# Build and push broker
+cd ${CURRENT_DIR}
+cd ../../broker/
+. build_push_image.sh
+
+# Build and push k8s helm plugin
+cd ${CURRENT_DIR}
+cd ../../k8shelm/
+. build_push_image.sh
+