From 2d8c46314915aba6982ed9362389700999c35781 Mon Sep 17 00:00:00 2001 From: arvindpatel Date: Sun, 1 Nov 2020 21:33:04 +0530 Subject: [PATCH] Appstore install playbook image tag added Signed-off-by: arvindpatel Change-Id: Ib074f5e5513bf9c1c61009a08d9e7d6e130f0c62 --- .../playbooks/roles/eg_appstore/tasks/install.yml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/ocd/infra/playbooks/roles/eg_appstore/tasks/install.yml b/ocd/infra/playbooks/roles/eg_appstore/tasks/install.yml index a40ca98..57c21af 100644 --- a/ocd/infra/playbooks/roles/eg_appstore/tasks/install.yml +++ b/ocd/infra/playbooks/roles/eg_appstore/tasks/install.yml @@ -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 -- 2.16.6