You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by di...@apache.org on 2020/06/16 16:51:12 UTC

[airavata] branch param-sweep updated: Smalter django gateway ansible configs

This is an automated email from the ASF dual-hosted git repository.

dimuthuupe pushed a commit to branch param-sweep
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/param-sweep by this push:
     new c22805a  Smalter django gateway ansible configs
c22805a is described below

commit c22805ac00cac61fb5098ac8e207d695d5d3f57d
Author: Dimuthu Wannipurage <di...@gmail.com>
AuthorDate: Tue Jun 16 12:50:59 2020 -0400

    Smalter django gateway ansible configs
---
 .../smaltr-testing/group_vars/django/vars.yml      | 10 ++--
 .../smaltr-testing/host_vars/smaltr/vars.yml       | 53 ++++++++++++++++++++++
 .../smaltr-testing/host_vars/smaltr/vault.yml      | 15 ++++++
 .../smaltr-testing/pga_config/scigap/vars.yml      |  4 +-
 4 files changed, 75 insertions(+), 7 deletions(-)

diff --git a/dev-tools/ansible/inventories/scigap/smaltr-testing/group_vars/django/vars.yml b/dev-tools/ansible/inventories/scigap/smaltr-testing/group_vars/django/vars.yml
index 91247a2..e8be58c 100644
--- a/dev-tools/ansible/inventories/scigap/smaltr-testing/group_vars/django/vars.yml
+++ b/dev-tools/ansible/inventories/scigap/smaltr-testing/group_vars/django/vars.yml
@@ -21,14 +21,14 @@
 ---
 user: "pga"
 group: "pga"
-gateway_data_store_hostname: "pgadev.scigap.org"
-gateway_data_store_resource_id: "pgadev.scigap.org_7ddf28fd-d503-4ff8-bbc5-3279a7c3b99e"
+gateway_data_store_hostname: "testing.smaltr.scigap.org"
+gateway_data_store_resource_id: "testing.smaltr.scigap.org_d78cdf46-1773-451e-9d9e-fba459a156de"
 django_wsgi_processes: 2
 doc_root_dir: "/var/www/portals/django-{{gateway_id}}"
 admin_emails: "[('SGRC Group', 'sgrc-iu-group@iu.edu')]"
 django_error_emails: "[('Marcus Christie', 'machrist@iu.edu'), ('Eroma Abeysinghe', 'eabeysin@iu.edu')]"
 django_database_name: "django_{{ gateway_id }}"
 django_hidden_airavata_apps: "['django_airavata_dataparsers']"
-airavata_django_git_branch: "mft-integration"
-django_tus_endpoint: "https://tus.testing.seagrid.org/files/"
-django_keycloak_ca_certfile_path: 'os.path.join(BASE_DIR, "django_airavata", "resources", "incommon_rsa_server_ca.pem")'
\ No newline at end of file
+airavata_django_git_branch: "param-sweep"
+#django_tus_endpoint: "https://tus.testing.seagrid.org/files/"
+#django_keycloak_ca_certfile_path: 'os.path.join(BASE_DIR, "django_airavata", "resources", "incommon_rsa_server_ca.pem")'
\ No newline at end of file
diff --git a/dev-tools/ansible/inventories/scigap/smaltr-testing/host_vars/smaltr/vars.yml b/dev-tools/ansible/inventories/scigap/smaltr-testing/host_vars/smaltr/vars.yml
new file mode 100644
index 0000000..286c497
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/smaltr-testing/host_vars/smaltr/vars.yml
@@ -0,0 +1,53 @@
+#
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+#
+
+---
+vhost_servername: "testing.smaltr.scigap.org"
+vhost_ssl: True
+ssl_certificate_file: "/etc/letsencrypt/live/testing.smaltr.scigap.org/cert.pem"
+ssl_certificate_chain_file: "/etc/letsencrypt/live/testing.smaltr.scigap.org/fullchain.pem"
+ssl_certificate_key_file: "/etc/letsencrypt/live/testing.smaltr.scigap.org/privkey.pem"
+
+## Keycloak related variables
+tenant_domain: "smaltr"
+oauth_client_key: "{{ vault_oauth_client_key }}"
+oauth_client_secret: "{{ vault_oauth_client_secret }}"
+
+auth_options:
+  password:
+    name: "smaltr"
+  external:
+    - name: "CILogon"
+      idp_alias: "oidc"
+
+gateway_id: "smaltr"
+experiment_data_dir: "{{ user_data_dir }}/django-smaltr"
+gateway_data_store_ssh_public_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyZNwlsy21FKRBVmB8hiO2dunBiVykmLX9OtAURISwRi/ZzCKHBiX10InWO3o1IEjF/VSfZX+LY0FIaDQRsgOwquYNjiQt5kwB3TiGWIG4J2zQxWj6IqDMmaiMvX6SdJcxB7f5/VSDl/FpVc3Hfo7ExG9GRB43fYyXFdBY5ExLgCH1TfMShUDSW1fi1P5BxuE6BJt+faJvZ1bIiuSIgPK+5gsz7eFIfBO29Gkbm2ho0j6MfAN8Il6bnxM1pFhUA1KKMLuiZISC96mnOjHrACwRruJf2pJxTWdiDGQTU9MhYr8TaXzz35hOdFQIVdnkII7cfUOqm7LwaO95MAjbsU9F"
+
+portal_email_host: "smtp.gmail.com"
+portal_email_port: 587
+portal_email_tls: true
+portal_email_username: "pga.airavata@gmail.com"
+portal_email_password: "{{ vault_portal_email_password }}"
+admin_emails: "[('SGRC', 'sgg@iu.edu'), ('Dimuthu Wannipurage', 'dwannipu@iu.edu'), ('Eroma Abeysinghe', 'eroma.abeysinghe@gmail.com')]"
+portal_server_email: "{{ portal_email_username }}"
+portal_title: "SMALTR Portal"
+
+...
diff --git a/dev-tools/ansible/inventories/scigap/smaltr-testing/host_vars/smaltr/vault.yml b/dev-tools/ansible/inventories/scigap/smaltr-testing/host_vars/smaltr/vault.yml
new file mode 100644
index 0000000..50f5a9f
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/smaltr-testing/host_vars/smaltr/vault.yml
@@ -0,0 +1,15 @@
+$ANSIBLE_VAULT;1.1;AES256
+61333033353631343339336564613235336130376263396363346565333462316331656532396537
+3433383033386465663230353863396431646231316434370a353237393137663561306633326363
+38623964323565633862306632393031356233343634303966333465373562363861373531623634
+3431626639336532350a323930636661323365346631613534363932323237373137306361336132
+61626539313933313133313837316263316630653033623839333466653066636330306132306162
+36303165663532383464336433613662396662386438383963353466303936386266643065653339
+37623665656364383062393831663737393132613634373330356435366433366464376262376235
+64643830653833656262306235616563613036373837306362366665303966663963393331663439
+36656336383934363735313932316165316237666565353436386138643264356635333835343433
+39313438323366333536626362663731646565306534623339636539633436333338363338356136
+36336439313439656132383561666238393038373739356236626364373564346431306336653837
+36663233336538303438353032393036313235656530366461346166373438363333363533633332
+61653565653934633837663532313861383131666661336630383866613031653161386164313532
+6362393432303833396262303263616466363937383236333432
diff --git a/dev-tools/ansible/inventories/scigap/smaltr-testing/pga_config/scigap/vars.yml b/dev-tools/ansible/inventories/scigap/smaltr-testing/pga_config/scigap/vars.yml
index fb81dcb..f760c4c 100644
--- a/dev-tools/ansible/inventories/scigap/smaltr-testing/pga_config/scigap/vars.yml
+++ b/dev-tools/ansible/inventories/scigap/smaltr-testing/pga_config/scigap/vars.yml
@@ -24,7 +24,7 @@ pga_git_branch: "develop"
 user: "pga"
 group: "pga"
 doc_root_dir: "/var/www/portals/scigap"
-vhost_servername: "pga.smaltr.scigap.org"
+vhost_servername: "pga.smltr.scigap.org"
 vhost_ssl: True
 ssl_certificate_file: "/etc/letsencrypt/live/pga.smltr.scigap.org/cert.pem"
 ssl_certificate_chain_file: "/etc/letsencrypt/live/pga.smltr.scigap.org/fullchain.pem"
@@ -53,7 +53,7 @@ oauth_callback_url: "https://{{ vhost_servername }}/callback-url"
 gateway_id: "scigap"
 # relative to document root dir
 experiment_data_dir: "{{ user_data_dir }}/scigap"
-gateway_data_store_resource_id: "pga.staging.scigap.org_aa63ffa0-a99f-4885-8f4b-81e3c4c4d737"
+gateway_data_store_resource_id: "testing.smaltr.scigap.org_d78cdf46-1773-451e-9d9e-fba459a156de"
 
 ## Portal related variables
 super_admin_portal: "true"