Merge "eg_appstore role added"
authorGaurav Agrawal <gaurav.agrawal@huawei.com>
Wed, 28 Oct 2020 09:12:38 +0000 (09:12 +0000)
committerGerrit Code Review <gerrit@akraino.org>
Wed, 28 Oct 2020 09:12:38 +0000 (09:12 +0000)
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'