eg_appstore role added 31/3831/2
authorarvindpatel <arvind.patel@huawei.com>
Wed, 28 Oct 2020 07:58:10 +0000 (13:28 +0530)
committerArvind Patel <arvind.patel@huawei.com>
Wed, 28 Oct 2020 08:07:34 +0000 (08:07 +0000)
Signed-off-by: arvindpatel <arvind.patel@huawei.com>
Change-Id: Idc3866f6596ce2d85a021b7bf7d4a84e9d982ecb

ocd/infra/playbooks/roles/eg_appstore/tasks/install.yml [new file with mode: 0644]
ocd/infra/playbooks/roles/eg_appstore/tasks/main.yml [new file with mode: 0644]

diff --git a/ocd/infra/playbooks/roles/eg_appstore/tasks/install.yml b/ocd/infra/playbooks/roles/eg_appstore/tasks/install.yml
new file mode 100644 (file)
index 0000000..a40ca98
--- /dev/null
@@ -0,0 +1,10 @@
+- 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
+  # 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
diff --git a/ocd/infra/playbooks/roles/eg_appstore/tasks/main.yml b/ocd/infra/playbooks/roles/eg_appstore/tasks/main.yml
new file mode 100644 (file)
index 0000000..bb6447b
--- /dev/null
@@ -0,0 +1,5 @@
+---
+# tasks file for eg_appstore
+- include: "install.yml"
+  static: false
+  when: operation == 'install'