k8s deployment yaml for applcm
[ealt-edge.git] / mecm / mepm / applcm / resources / deployment / build_push_image.sh
1 #!/bin/bash
2 # Copyright 2020 Huawei Technologies Co., Ltd.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #     http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 CURRENT_DIR=`pwd`
17
18 echo "DOCKER_BUILD_DIR=${CURRENT_DIR}"
19 echo "Build and Push APP LCM"
20
21 # Build and push broker
22 cd ${CURRENT_DIR}
23 cd ../../broker/
24 . build_push_image.sh
25
26 # Build and push k8s helm plugin
27 cd ${CURRENT_DIR}
28 cd ../../k8shelm/
29 . build_push_image.sh
30