airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [48/50] [abbrv] airavata git commit: PICKSC PGA scripts
Date Thu, 03 Aug 2017 16:02:04 GMT
PICKSC PGA scripts


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/d49f2527
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/d49f2527
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/d49f2527

Branch: refs/heads/master
Commit: d49f25271cdbcfc3f8d8c311d6f9c10ea9c346fc
Parents: 1f35ede
Author: Eroma Abeysinghe <eroma.abeysinghe@gmail.com>
Authored: Thu Jul 27 16:55:48 2017 -0400
Committer: Eroma Abeysinghe <eroma.abeysinghe@gmail.com>
Committed: Thu Jul 27 16:56:48 2017 -0400

----------------------------------------------------------------------
 .../PICKSC-Production/group_vars/pga/vars.yml   | 75 ++++++++++++++++++++
 .../PICKSC-Production/group_vars/pga/vault.yml  | 18 +++++
 .../inventories/scigap/PICKSC-Production/hosts  | 21 ++++++
 3 files changed, 114 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/d49f2527/dev-tools/ansible/inventories/scigap/PICKSC-Production/group_vars/pga/vars.yml
----------------------------------------------------------------------
diff --git a/dev-tools/ansible/inventories/scigap/PICKSC-Production/group_vars/pga/vars.yml
b/dev-tools/ansible/inventories/scigap/PICKSC-Production/group_vars/pga/vars.yml
new file mode 100644
index 0000000..14188e4
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/PICKSC-Production/group_vars/pga/vars.yml
@@ -0,0 +1,75 @@
+#
+#
+# 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.
+#
+
+---
+
+user_data_dir: "/var/www/portals/gateway-user-data"
+real_user_data_dir: "/data/gateway-user-data"
+## Airavata Client related variables
+airavata_server: "tls://{{ groups['api-orch'][0] }}"
+airavata_port: "9930"
+# FIXME: temporarily turn off SSL verification for WSO2 IS. Needed for WSO2 IS
+# auth_verify_peer: "false" Needed for WSO2 IS
+
+pga_repo: "https://github.com/apache/airavata-php-gateway.git"
+git_branch: "develop"
+user: "pga"
+group: "pga"
+doc_root_dir: "/var/www/portals/{{ gateway_id }}"
+vhost_servername: "picksc.scigap.org"
+vhost_ssl: True
+# TODO: have Ansible manage these files as well
+ssl_certificate_file: "/etc/letsencrypt/live/picksc.scigap.org/cert.pem"
+ssl_certificate_chain_file: "/etc/letsencrypt/live/picksc.scigap.org/fullchain.pem"
+ssl_certificate_key_file: "/etc/letsencrypt/live/picksc.scigap.org/privkey.pem"
+# pga_ssl_vhost_template: "{{ inventory_dir }}/files/pga-ssl-vhost.conf.j2" this is for dreg.
+airavata_profile_service_server: "{{ groups['api-orch'][0] }}"
+
+## WSO2 IS related variables
+tenant_domain: "{{ gateway_id }}"
+admin_username: "admin"
+admin_password: "{{ vault_admin_password }}"
+oauth_client_key: "{{ vault_oauth_client_key }}"
+oauth_client_secret: "{{ vault_oauth_client_secret }}"
+# dREG gateway automatically gives users the gateway-user role so they don't have to wait
on admin approval
+# initial_role_name: "gateway-user"
+oidc_discovery_url: "https://iam.scigap.org/auth/realms/{{ tenant_domain }}/.well-known/openid-configuration"
+
+#Auth Options for Gateway
+auth_options:
+  - name: "picksc"
+    oauth_grant_type: "password"
+oauth_callback_url: "https://{{ vhost_servername }}/callback-url"
+
+gateway_id: "picksc"
+# relative to document root dir
+experiment_data_dir: "{{ user_data_dir }}/picksc"
+gateway_data_store_resource_id: "js-157-100.jetstream-cloud.org_0a582f82-8fc6-4322-89b1-d106c7f2e935"
+gateway_data_store_ssh_public_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCZG7vihDK2fU8RwRGYolfEufjYXNI36raZylemGZIJgSaL02DhVLn9bQ6mG1MhDVf/xXwg9aZwEyyEz2H14SLYVeweGQzObk5TtWAoSVgl5sqXJegbEXcov4B0CCdKvboUUV7rBSIvy23voDTPG/3Qmc1IUsK5lA3Otr94eh1/1k4eMk5zuAF+UzK6xOFBdfvIOpeYJqlAZIb6WEx4jMY5vgyQMiGQAS1YeZbUMw6EluOIV/5UTJ2WvYJSxSpZNA6RnN6GbAKlbQiXAbfwE6Xo4Oh5yYldfum8LeTyMhfku11r1Jy3QWwGUSpNUWnFh/jmF/2lWyb3nIE+6ZNKLg2n"
+
+## Portal related variables
+super_admin_portal: "false"
+admin_emails: "['sgrc-iu-group@iu.edu']"
+portal_email_username: "pga.airavata@gmail.com"
+portal_email_password: "{{ vault_portal_email_password }}"
+# The portal theme is included in the dreg-gateway branch of airavata-php-gateway
+portal_theme: "base"
+portal_title: "PICKSC Gateway"
+...

http://git-wip-us.apache.org/repos/asf/airavata/blob/d49f2527/dev-tools/ansible/inventories/scigap/PICKSC-Production/group_vars/pga/vault.yml
----------------------------------------------------------------------
diff --git a/dev-tools/ansible/inventories/scigap/PICKSC-Production/group_vars/pga/vault.yml
b/dev-tools/ansible/inventories/scigap/PICKSC-Production/group_vars/pga/vault.yml
new file mode 100644
index 0000000..95c8a4e
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/PICKSC-Production/group_vars/pga/vault.yml
@@ -0,0 +1,18 @@
+$ANSIBLE_VAULT;1.1;AES256
+32653935313165306433636538646163316531656233336265313138323234323932326562363036
+3631643265396436313332336238666539373633343865300a363362636535363166646238313933
+66306162333434666631326138623332356664663131303934323361663435643938323063333764
+3731343862653834610a323261313061306662333730363762633833363235346637376432373637
+33333530623433666461666364333264336163616131653931316536643836373432613363386431
+61393131386533623630646361376630663137303435316639636465643937633365333933313865
+36623663326530636532373833363965313164386437356363396632646335643136616539373437
+65613066333636323866326363333638653630393736643065366661656133626563363331656430
+66386130653730356638313065363632396130333636313437393239363237386535343231303666
+33626564383433623331366633373563383338623061386163333032326438386133303166663665
+34343830363537393665323932303230646164656233636531333762346430376165393339346236
+30643163373230306463383238613765383139343638393837363263343237663966323963336664
+63336361346536656334323730396366653531306361636338323032313434396136303135666636
+64666639613934376366326564396663303962386164386437643962336161316333613437346261
+65333938633839373665393538316538313735616336613039306466313732383238363765663261
+39643738336633353332383635653930323861646563376336636331643838623430373936313931
+3333

http://git-wip-us.apache.org/repos/asf/airavata/blob/d49f2527/dev-tools/ansible/inventories/scigap/PICKSC-Production/hosts
----------------------------------------------------------------------
diff --git a/dev-tools/ansible/inventories/scigap/PICKSC-Production/hosts b/dev-tools/ansible/inventories/scigap/PICKSC-Production/hosts
new file mode 100644
index 0000000..cbde396
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/PICKSC-Production/hosts
@@ -0,0 +1,21 @@
+---
+# inventory file : scigap production deployment
+
+[zookeeper]
+scigap02.sciencegateways.iu.edu
+
+[rabbitmq]
+scigap02.sciencegateways.iu.edu
+
+[database]
+scigap01.sciencegateways.iu.edu
+
+[api-orch]
+scigap02.sciencegateways.iu.edu
+
+[gfac]
+scigap03.sciencegateways.iu.edu
+
+[pga]
+# Hosted on Jetstream
+149.165.157.100 ansible_user=centos


Mime
View raw message