1 # Copyright (C) 2021 Nordix Foundation. All rights reserved.
2 # ========================================================================
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 # ============LICENSE_END=================================================
17 SHELL_FOLDER=$(cd "$(dirname "$0")";pwd)
20 # build dmaap-mr helm chart & push to chartmuseum
21 cd ${SHELL_FOLDER}/dmaap-mr/
23 curl --data-binary "@dmaap-mr-0.1.0.tgz" http://chartmuseum:8080/api/charts
25 # build message-generator helm chart & push to chartmuseum
26 cd ${SHELL_FOLDER}/message-generator/
28 curl --data-binary "@message-generator-0.1.0.tgz" http://chartmuseum:8080/api/charts
30 # build oru-app helm chart & push to chartmuseum
31 cd ${SHELL_FOLDER}/oru-app/
33 curl --data-binary "@oru-app-0.1.0.tgz" http://chartmuseum:8080/api/charts
35 # build sdnr-simulator helm chart & push to chartmuseum
36 cd ${SHELL_FOLDER}/sdnr-simulator/
38 curl --data-binary "@sdnr-simulator-0.1.0.tgz" http://chartmuseum:8080/api/charts
40 # add chartmuseum repo to helm
41 helm repo add chartmuseum http://chartmuseum:8080