Appstore install playbook image tag added 62/3862/3
authorarvindpatel <arvind.patel@huawei.com>
Sun, 1 Nov 2020 16:03:04 +0000 (21:33 +0530)
committerGaurav Agrawal <gaurav.agrawal@huawei.com>
Mon, 2 Nov 2020 04:23:16 +0000 (04:23 +0000)
Signed-off-by: arvindpatel <arvind.patel@huawei.com>
Change-Id: Ib074f5e5513bf9c1c61009a08d9e7d6e130f0c62

ocd/infra/playbooks/roles/eg_appstore/tasks/install.yml

index a40ca98..57c21af 100644 (file)
@@ -1,10 +1,28 @@
+#
+# Copyright 2020 Huawei Technologies Co., Ltd.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+---
+
 - name: Import vars
   include_vars:
   # yamllint disable rule:line-length
-      file: /root/edgeakraino/jenkins/work/workspace/ealt-edge-deploy-virtual-daily-master/ocd/infra/playbooks/config.yml
+      file: ../../../config.yml
   # yamllint disable rule:line-length
       name: vardata
 
 - name: Pull helm chart appstore
   # yamllint disable rule:line-length
-  command: helm install appstore-edgegallery edgegallery/appstore --set global.oauth2.authServerAddress=https://{{vardata.authServerMecm.name}}:30067 --set global.ssl.enabled=true --set global.ssl.secretName=edgegallery-ssl-secret
+  command: helm install -- wait appstore-edgegallery edgegallery/appstore --set global.oauth2.authServerAddress=https://{{vardata.centernodeip.name}}:30067 --set images.appstoreFe.tag={{vardata.appstorefeimagetag.name}} --set images.appstoreBe.tag={{vardata.appstorebeimagetag.name}} --set global.ssl.enabled=true --set global.ssl.secretName=edgegallery-ssl-secret