Migrated dev.testdrive.airavata.org
Project: http://git-wip-us.apache.org/repos/asf/airavata/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/ec20fe50 Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/ec20fe50 Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/ec20fe50 Branch: refs/heads/keycloak-prod-migration Commit: ec20fe50a3067212eb57fd6eba3fe60666b1a579 Parents: de6fcb1 Author: Marcus Christie <[email protected]> Authored: Fri Jun 30 10:54:11 2017 -0400 Committer: Marcus Christie <[email protected]> Committed: Fri Jun 30 10:54:11 2017 -0400 ---------------------------------------------------------------------- .../develop/pga_config/testdrive/vars.yml | 65 ++++++++++++++++++++ .../develop/pga_config/testdrive/vault.yml | 18 ++++++ dev-tools/ansible/pga-scigap-dev.yml | 1 + 3 files changed, 84 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata/blob/ec20fe50/dev-tools/ansible/inventories/scigap/develop/pga_config/testdrive/vars.yml ---------------------------------------------------------------------- diff --git a/dev-tools/ansible/inventories/scigap/develop/pga_config/testdrive/vars.yml b/dev-tools/ansible/inventories/scigap/develop/pga_config/testdrive/vars.yml new file mode 100644 index 0000000..66e2ee7 --- /dev/null +++ b/dev-tools/ansible/inventories/scigap/develop/pga_config/testdrive/vars.yml @@ -0,0 +1,65 @@ +# +# +# 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. +# + +--- +pga_repo: "https://github.com/apache/airavata-php-gateway.git" +git_branch: "develop" +user: "pga" +group: "pga" +doc_root_dir: "/var/www/portals/dev-testdrive" +vhost_servername: "dev.testdrive.airavata.org" +vhost_ssl: True +# TODO: have Ansible manage these files as well +ssl_certificate_file: "/etc/pki/tls/certs/dev_testdrive_airavata_org_cert.cer" +ssl_certificate_chain_file: "/etc/pki/tls/certs/dev_testdrive_airavata_org_interm.cer" +ssl_certificate_key_file: "/etc/pki/tls/private/dev.testdrive.key" + +## Keycloak 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 }}" +oidc_discovery_url: "https://iamdev.scigap.org/auth/realms/{{ tenant_domain }}/.well-known/openid-configuration" + +auth_options: + - name: "Test Drive" + oauth_grant_type: "password" + - name: "CILogon" + oauth_grant_type: "authorization_code" + oauth_authorize_url_extra_params: "kc_idp_hint=cilogon" + logo: "/assets/cilogon-logo-24x24-b.png" +oauth_callback_url: "https://{{ vhost_servername }}/callback-url" + +gateway_id: "default" +# relative to document root dir +experiment_data_dir: "{{ user_data_dir }}/dev-testdrive" +gateway_data_store_resource_id: "pgadev.scigap.org_7ddf28fd-d503-4ff8-bbc5-3279a7c3b99e" +gateway_data_store_ssh_public_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCEK6v8oMNUKDqQtlHlXRUpRZVqCL6CbQlJTL5QajevPFtvM0hauS/Rjj6M/bjgTfRyef2/E100l1pH3xhFuL65+OTnOZgC5DQ0T3J1OtldTTuP1Rl7mKZR4xKYzx/hxSgB6kn8tZb3IgDCYnHNcTLYGj1rEpNEO6ju8e9qVR02ex+hbC+4Q4bJgX6FxHL4+rQHcqT6I1k3JmwRsPzr3P1hiRgUUkxAlQuXFXsoa4+9BzEU5D0qXq0o/Q12jKOhPwWyOyhV2X++bc50VKkm0G6M6n78OL8CBIKmZyczgEwD2zB9gx3aTHXTEgUqaVHyOMc3aE8Kt1Us33PDyXpn8sk3" + +## Portal related variables +super_admin_portal: "false" +admin_emails: "['[email protected]']" +portal_email_username: "[email protected]" +portal_email_password: "{{ vault_portal_email_password }}" +portal_theme: "base" +#portal_theme_repo: "https://github.com/SciGaP/seagrid-website-theme.git" +portal_title: "Airavata Test Drive" +... http://git-wip-us.apache.org/repos/asf/airavata/blob/ec20fe50/dev-tools/ansible/inventories/scigap/develop/pga_config/testdrive/vault.yml ---------------------------------------------------------------------- diff --git a/dev-tools/ansible/inventories/scigap/develop/pga_config/testdrive/vault.yml b/dev-tools/ansible/inventories/scigap/develop/pga_config/testdrive/vault.yml new file mode 100644 index 0000000..59eb48f --- /dev/null +++ b/dev-tools/ansible/inventories/scigap/develop/pga_config/testdrive/vault.yml @@ -0,0 +1,18 @@ +$ANSIBLE_VAULT;1.1;AES256 +37653330653661316166336135653863643435656234363935346436646433353061613333376462 +3031393162356336393430333763663764633263353637310a386662313137383733333666396539 +39313331373262323031613561633835663266386663613037393235366533333130303438306564 +3631313831323765630a653331363766343836326135393131646264613361646266333662666663 +34336561356230623239613237393161616263333638613765616134633837393161393933643433 +61383030316464633961313965653365373037326234636234306661346234316630656634626264 +32666265633261666330623262303462643932336463303231303935643936613638326363363262 +39363237353038626437646230623565353038383566303662663033623066383938656530613939 +39343339643062313830633165323135346330636133663632366436336263363232646431663239 +32663434333032353632373735333434613066386132646561643930626466306433623639386266 +33313366383036313161373736656530366339646333373664333364373531633463333838303334 +39626330646361636238303261343164343834623065393131646336306430383331333364313937 +37333539303361386234663930613130363564333232326535313864306132646361353132393638 +31343338636466353338656261633437616330636631326564353032393162383465343137383163 +61666265336465366263636435336436343764356133653963653866353166356138353837346434 +35326265666365393963356231313964333763316464633636656332653132633931393064626630 +3966 http://git-wip-us.apache.org/repos/asf/airavata/blob/ec20fe50/dev-tools/ansible/pga-scigap-dev.yml ---------------------------------------------------------------------- diff --git a/dev-tools/ansible/pga-scigap-dev.yml b/dev-tools/ansible/pga-scigap-dev.yml index 06409dd..41fa421 100644 --- a/dev-tools/ansible/pga-scigap-dev.yml +++ b/dev-tools/ansible/pga-scigap-dev.yml @@ -21,5 +21,6 @@ --- - include: pga-single-vhost.yml vars_dir="{{ inventory_dir }}/pga_config/scigap" - include: pga-single-vhost.yml vars_dir="{{ inventory_dir }}/pga_config/seagrid" +- include: pga-single-vhost.yml vars_dir="{{ inventory_dir }}/pga_config/testdrive" ...
