1 # Copyright 2020 Huawei Technologies Co., Ltd.
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.
16 - name: copy deploy folder to mecm host for installing APPLCM
21 - name: Install applcm - pvc
23 cmd: kubectl apply -f /tmp/applcm/deploy/my-db-persistentvolumeclaim.yaml
25 - name: Install applcm - db
27 cmd: kubectl apply -f /tmp/applcm/deploy/db-deployment.yaml
29 - name: Install applcm - db-service
31 cmd: kubectl apply -f /tmp/applcm/deploy/db-service.yaml
34 - name: Install applcm - db-init-config
36 # yamllint disable rule:line-length
37 cmd: kubectl exec -it $(kubectl get pod -l io.kompose.service=db | awk 'FNR==2 {print $1}') -- /bin/bash < /tmp/applcm/deploy/init.sh
42 - name: Install applcm - db-init-config
44 # yamllint disable rule:line-length
45 cmd: kubectl exec -it $(kubectl get pod -l io.kompose.service=db | awk 'FNR==2 {print $1}') -- /bin/bash < /tmp/applcm/deploy/config.sh
51 - name: Install applcm - helmplugin
55 - name: Install applcm - helmplugin
57 cmd: kubectl apply -f /tmp/applcm/deploy/helm-plugin-deployment.yaml
60 - name: Install applcm - helmplugin
64 - name: Install applcm - helmplugin
66 cmd: kubectl apply -f /tmp/applcm/deploy/helm-plugin-service.yaml
69 - name: Install applcm - helmplugin
73 - name: Install applcm - broker
75 cmd: kubectl apply -f /tmp/applcm/deploy/applcm-broker-deployment.yaml
77 - name: Install applcm - broker
79 cmd: kubectl apply -f /tmp/applcm/deploy/applcm-broker-service.yaml