airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dimuthu...@apache.org
Subject [airavata] branch staging updated: Ansibles for testing environment
Date Thu, 21 Jun 2018 16:05:32 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/staging by this push:
     new abf24ff  Ansibles for testing environment
abf24ff is described below

commit abf24ff7d6039d0aa91f7b873c5c7f021b20f50a
Author: dimuthu <dimuthu.upeksha2@gmail.com>
AuthorDate: Thu Jun 21 12:05:16 2018 -0400

    Ansibles for testing environment
---
 .../inventories/scigap/testing/files/airavata.jks  | Bin 0 -> 2623 bytes
 .../scigap/testing/files/airavata_sym.jks          |  30 ++++
 .../scigap/testing/files/client_truststore.jks     | Bin 0 -> 971 bytes
 .../inventories/scigap/testing/files/keycloak.jks  | 143 ++++++++++++++++++
 .../scigap/testing/group_vars/all/vars.yml         | 162 +++++++++++++++++++++
 .../scigap/testing/group_vars/all/vault.yml        |  33 +++++
 dev-tools/ansible/inventories/scigap/testing/hosts |  27 ++++
 .../scigap/testing/pga_config/scigap/vars.yml      |  67 +++++++++
 .../scigap/testing/pga_config/scigap/vault.yml     |  18 +++
 .../scigap/testing/pga_config/seagrid/vars.yml     |  67 +++++++++
 .../scigap/testing/pga_config/seagrid/vault.yml    |  18 +++
 .../scigap/testing/pga_config/testdrive/vars.yml   |  65 +++++++++
 .../scigap/testing/pga_config/testdrive/vault.yml  |  18 +++
 dev-tools/ansible/pga-scigap-testing.yml           |  25 ++++
 14 files changed, 673 insertions(+)

diff --git a/dev-tools/ansible/inventories/scigap/testing/files/airavata.jks b/dev-tools/ansible/inventories/scigap/testing/files/airavata.jks
new file mode 100644
index 0000000..93fa433
Binary files /dev/null and b/dev-tools/ansible/inventories/scigap/testing/files/airavata.jks
differ
diff --git a/dev-tools/ansible/inventories/scigap/testing/files/airavata_sym.jks b/dev-tools/ansible/inventories/scigap/testing/files/airavata_sym.jks
new file mode 100644
index 0000000..13ccf1b
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/testing/files/airavata_sym.jks
@@ -0,0 +1,30 @@
+$ANSIBLE_VAULT;1.1;AES256
+66393935613465373265366662383133353632633262353839623837636364373339336564636265
+3862663231313565313064643833646530636361333866610a636266666561306263343632663734
+33306432363830323132653038326139323464393065313631373936346162386161626461396530
+3061376439346264310a346630616535326435626235393564643062326665313239373839336331
+38316134613764373336333338323263356563396638303932656562336538333137643131373366
+35653334383566313262336261623339626532333634363531313534353762356534643961646338
+34633938333436333135643736663437373532633061366464343632643366343337366262386465
+33373333333033303262316566346565613731633361333438363063616165333231323635646333
+34303463656431663932326464356332353235336238653462663463373332656231373562626664
+65346131663064376232643435653264383465323761373063366162663236323935373139386138
+39623734643064623635376261646465383663613238623531613066306464326662346532346365
+63623064383436303634393639316638366136653563663930303130643531373166613133653338
+36636433626539366661656164613032653931356561336336343561323962336462383164393463
+65353265363535616136306136353064346561666439663532626234363763653535663061386232
+61663566343361666634346134623538366664396236346365336431383937653761643235613661
+32373439656332306536623336343763386364363265306138356138616464656662363434636531
+30646163333462636236336532383964643234616131663465666663633333343366376134666263
+63353161336366613065303434656537396237643938376233333431663232356630373038333835
+37306162623439323062626532656633646138386131643037323566643264653432633735333362
+65613564393232393433646334376639356564376661663430353630626534336566663061303632
+64633235333463626435323134636333353536393936663539663539336233363934333931323961
+63313739333733613465376334336239306633636136383831396533326530616133373366653531
+33356137656636323037303430623065393930633731346634346161633334313362613136313138
+36633835353665626462363031653161646530366339363732373865343136356637326631386437
+30383235306538303261613262376634303164313862366330393463346261363866346336666136
+37333566396436383534633330316465306461383537616661343265663731363561323137303164
+36336532333233343463633064346162646562613332646331343931363838333739636335376331
+66626436313938346362303932336339636434666665373862306462646162393066303338383265
+64363138663564386332383032366265666565643633393236663830313936343637
diff --git a/dev-tools/ansible/inventories/scigap/testing/files/client_truststore.jks b/dev-tools/ansible/inventories/scigap/testing/files/client_truststore.jks
new file mode 100644
index 0000000..4a29a22
Binary files /dev/null and b/dev-tools/ansible/inventories/scigap/testing/files/client_truststore.jks
differ
diff --git a/dev-tools/ansible/inventories/scigap/testing/files/keycloak.jks b/dev-tools/ansible/inventories/scigap/testing/files/keycloak.jks
new file mode 100644
index 0000000..44b438c
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/testing/files/keycloak.jks
@@ -0,0 +1,143 @@
+$ANSIBLE_VAULT;1.1;AES256
+30366331303865323462333764326263383166393537356230336538633135666336653666363561
+3035643264363462633734326562643336653866653938380a653634333866326130316234623037
+32353361323362356365353661353537663765633731633436303362383962383234303839393831
+6630653035646262300a316134613233396332653739313736333265373435633839393662366462
+37653633333637666365363364616635363362353239633636626636633139666232363432386232
+34313861323064656262303165363134336432373135613565623935623863396136336136336263
+66363762323031323861663066343330663462623338383735613063616235626437613930313236
+35656530363932373433356136636563366336383936346234303563386138616665396364326330
+62303731333364313631343032643230626161613063613861383035366630396339633031353662
+35393535366130373037663062323138333365383037656537333963393066613365643563323832
+37363037663765333135663534396338653934383665623633653537316562636136633065343365
+39363263353333363562633337343361343134663666396630626332636539343939643066383538
+61303362663865373866373363643538386638663531333537656432303137343334393630656436
+30393232316332663038366537386535336565626538643661616433646431323936393530656639
+36343866666265626663653330633438666461313137393662353638346539376334366634616630
+64356237383836333638623337396633653162616564616561306238643663383636323865383736
+32653031383536383732643238316465666331323033373038636330663266353530356337343739
+37663734613365653130396332383463623666653636376236626439613830633232343937303034
+35313563396566303134336131313837663332626639313162663636633737383164366136383836
+32633331333066356631393935623734343430666139613735656262333064346433613934366534
+65383533396466653065376338336636313338633934623734633136393635366636356436333233
+63386263323161646335353939656361333964373962633065343536663230626434396232303863
+33303832396665383233386434353738303135623637656663646631623539626633333336383464
+32373431633738383435323465303430356239336433316339363665613337396335633465366531
+39646137646235626235623032393863333864623634313835393966373965356133646336343231
+65346365656333333361383463303036306262383438383765653838373332643236633965356632
+30353239616566386334663936646531336135363838303064373536353663333433336664336133
+35343733323539653330386131353236626161666461303661613365313135626136626634663065
+66306239353932363435323662346334356430663338623561373937396338653331343830346432
+33353964363063383037376366646261306463336162396163323063643463366336333161393361
+33363736313436303938333062663065386531346332346366343036633435653037316639313538
+37363562393338353565356565366331313163653163323263346136343266313764356135656365
+64653839626562303736346166636464323038323937326561306439306364303865336639316639
+35313662623737326538393766616235396137663762323461613132623939393165616132303836
+30386232353463356266396537396336633166363037656665333361336533353637383738383137
+30636431643964373265636132343664363961303933646332646534376166363932373036653433
+32656263613863653131373137376661323939306235366162323165633863666333326637643437
+39656366363531633532663334393334333630373132653662656161313438326531663232343730
+39653838386266353561656632623365353161303730346263666436656239343230313262626566
+30333563623763636138363263656335373636383661626665373733663363346663396163313934
+35393432393863353632633366346264306363303861373435363164396436616535373432356434
+32643337623534386330353633393132383737353137646630386238323763313063653561636162
+66636438363838383136663931623664616434326639386535396437653562663732323936386634
+38373537306231313664313963303337666166353438393232646536366130303366333635393364
+36363031356461633662323730363536383631396566616661303031353735386234316265313366
+65356138323262633431623366303136356630616364303838663434626266643638346664333835
+38633732613234626637643335613463333661366337356365653036376664363339316465356564
+37393433633934323935386561663862396435316664396164363733613930333538316261613335
+39663538656166306630303136346563613131633931366531626166363564626361393564363531
+31383730666338386637313130333161383237636564363536363838366361306437323165363038
+32373964353134636665303865653263386230353132626361393337653365646565393262633961
+37623738663336303963356661356539346264383364343366613030393333623437323164343939
+35623534363663656331363734626163323834613861386630353230626630393932396532623634
+62316565303134616364363563343639643463666464656136396234376463386265653162333832
+38373630313966616230623831656230363333653664383137373234316134306165313630623466
+35363932333433323061336661363632336134643166326238653237323530303937646663363332
+65643339663130613131643665616361656464303034666264393264326531303561633730323337
+36636331386534626232393533376363333034343432306461303438663164623566323265663664
+65346161633538343931336365393661336661336363633430333033366466636639353466646334
+37353532343364363438616635636566376239393839666563346664393730326630313538626264
+32643039366266306130653231336132303239633531306439656335343262626665313933313064
+31313834646664383465346432633437303139636166663236313630633436623431316664353766
+36356462636538663339656131653038316564623831313830326137373333623331393430663236
+39613931363661316137316539356264663032366262333063653236346537346230653932663435
+31356439303461346236376432366664366363636633353963323537643264643361636632336333
+31383163366362343765386332346536313561386636393832393234643566636535666438646132
+64373039376333636465373131646661663538653664386335383834653132653266363461633064
+63663363376565336239323335646636376438653938316531643334636466633061646337343664
+61643037316437356363663033623638323064633530366534613132656137636537663333636133
+31663364623134396434313334313263363636343362653766653664623663653936646331343438
+62636661343965393033313339356539383233363430666563363764386336343839303633353633
+61613333376130633064633666626133383838303936303936633937653664656237313466346465
+30316564336164643864663062646564643839313330373230356166336534633765613031656535
+39663234356437383131383331356332656265306362636462366337306265316437363432323632
+35653261396530333862613565353161306237653065353431396465366164666462303532653136
+65303736646136336233623837633761373730623865316164343932623737666131663337636163
+39336335343432383639633830396134316434393764653235613737633435646238363537623632
+36616261333834613765303132656135316330643964313961646364343638636233316364373137
+35663630366431623665393064663634393734613339363863636164373764623734303531326534
+39663264343834623536366231366664346365396638336263313832366133623561303335386362
+34366632356166623163363230656339346337306531386636663434376231626135313763643134
+34626637346166303933383533653435323039373433646364383934623663363234316366353635
+32303739356638346539363134333037353830343735656162616230306439306634366631663635
+36343865333263656466633036386439653066336233656262383238303766356131383266303432
+63323336393237633131336238333263613464636266666466653333373365643435623936636464
+35343531386461333762383834323837353734616561623331306166653331616239333232383561
+31336430616137366664633737626266326339343836633033316632326438363434643565633738
+32623634643564633435633931376663643266663761643031333433616233323234663238323461
+32386235343533626331396531346634643566636539363161363133313436383638643266633436
+33353363636635353164306235353162313963653734383739323366666235333663373735393439
+33336337336365303030376430653535313833313337666235636331366462653731393631373030
+62616431336439623164333162393062363933316234383431313162666233363765353634346536
+35326164373332623138623038656263353665613230376438343861373337316237343833653361
+66303038613339633038313236363136646361386134343266303266333365373537623166333965
+61653363623263663231623765346232653037633863383331623038303964373131343532333266
+63346336633166393337343031366237363633323736323565633331376566356437323633653862
+33393263346237613739316536306366383863323065633738663337303265643038363838363263
+33393666316262383135366361316439376636333866643138613639306231643866663264373835
+37393731376330326633623931663261316337636338333733663766326264376436313136373734
+35363238303135323136383563656263383437386431666238346661363534333237613533646365
+34633862323537366338353138303063623032623136316338313533393430323233306437383363
+30663333356230343837366531346437633832333836343937346261303862343334363034333861
+38636130376466353066643065646339656637343464383439323263326536396139306235373033
+66656238363435356536326134336133663533383735616463333133613437346232393364633033
+63633432396231646165643634363535653336313833323434356331343132393866396339366434
+37613736303165313539333033613234646237336230613134643362366232336131616335393538
+64663361383466623831653265653461346665393264653533323466636666326565383163663465
+33623133636261633636346335306634306538623035356630666136636161306566666565313030
+63346231336565666366386565636361383465313833613836613432356431313637633837363866
+65333761636236316534656262383365303064393465636134383661323834393165643766626234
+61636539373966646262663231363031616333393033666565636336346561363261313564373736
+37646535613536616463663264623131656165646337616262396138333232383032383661303863
+66363936666364376539626135623463326439393664346261333530306563613137343736383365
+36366536343035326662633562396533366264336630613165346166313339306635353863663436
+36373539303064663932326562353166613432623364656535616132393431616332363635396638
+65616331333063636664353633376363366164636462393934383434663364333861636532633437
+64353337623939626437633436626665303436306338346337346535663439376163623861633864
+64326639626438373661383438623266303664356332653534393037343336343034376430616536
+32336362643630343464326138313662626533306437616138343036336639373161386437303161
+66393739393930663762616333643431373237633639666338633735353236663037373237646435
+37666537323662623431343833643161393932336662666538633765656432663761323865663436
+30623532343635633734663165396366616365313966386162666435633166316531323235653764
+32336537336539653331643734633564653863306630356639623936346336333131373731633536
+34653561636539326633323963376338326432633639306530616631646538383238646238333061
+38306432363535396239333634393739306664313931333864316464383430373065653132616166
+61626461396238326463616530663136313230663239333530643466653865346634613465313034
+64333330663831643130373038343935376265343366613363326638376433373139393664656264
+39393266643339366163323732333962353632323233366430346431643432383039323736656330
+33656334616330653563663966656438613965336638653234313831623864383463623866653761
+32326364386631616264663634656436316365303739663736626635393838643031383732383462
+35633861383163333163386163616439663165616533303064303434386134366631663062643462
+33646361376365666635343637343038313435613965623664646663316239323536633033613664
+39316237306166396132373566313166306361313565383937393338303764616230633534376338
+63383033306631396634616639356561613261356266613831653333626364643631666431633932
+65616132356163663261363630373738343565313230386639376364353739343364303835386664
+64313065616264343830313061303161313966643439643335626639656135626664366365633430
+38323332316462326531306639393638626565663339366331663935666134333231396235633134
+66316363343539666334323233393438646134626433373433383531626166353937633739343834
+62303133613735653961316139356165626365653665633439653363356663303732323038356233
+64386633363133393033343462643731333039396466386136363066663762353062313532646336
+65663263663063323030343338613331623035633763666535323966663432393065373734306464
+6234303833653065643264613135343731373634666632313938
diff --git a/dev-tools/ansible/inventories/scigap/testing/group_vars/all/vars.yml b/dev-tools/ansible/inventories/scigap/testing/group_vars/all/vars.yml
new file mode 100644
index 0000000..f2f2838
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/testing/group_vars/all/vars.yml
@@ -0,0 +1,162 @@
+#
+#
+# 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.
+#
+
+---
+ansible_connection: ssh
+ansible_user: centos
+
+user: airavata
+group: airavata
+user_home: "/home/{{ user }}"
+
+# deployment related variables
+deployment_dir: "{{ user_home }}/staging-deployment"
+airavata_source_dir: "{{ user_home }}/staging-source"
+airavata_repo: "https://github.com/apache/airavata.git"
+airavata_dist: "apache-airavata-server-0.17-SNAPSHOT"
+airavata_dist_name: "{{ airavata_dist }}-bin.tar.gz"
+old_airavata_dist: "apache-airavata-server-0.17-SNAPSHOT"
+git_branch: staging
+
+# Database related variables
+db_server: "{{ hostvars[groups['database'][0]]['ansible_default_ipv4']['address'] }}"
+db_server_port: "3306"
+db_user: "airavata"
+db_password: "{{ vault_db_password }}"
+mysql_root_password: "{{ vault_mysql_root_password }}"
+app_catalog: "app_catalog"
+exp_catalog: "experiment_catalog"
+replica_catalog: "replica_catalog"
+sharing_catalog: "sharing_catalog"
+workflow_catalog: "workflow_catalog"
+credential_store: "credential_store"
+profile_service: "profile_service"
+
+# Rabbitmq related vareables
+rabbitmq_server: "{{ groups['rabbitmq'][0] }}"
+rabbitmq_vhost: "master"
+rabbitmq_user: "airavata"
+rabbitmq_password: "{{ vault_rabbitmq_password }}"
+rabbitmq_port: "5672"
+rabbitmq_broker_url: "amqp://{{ rabbitmq_user }}:{{ rabbitmq_password }}@{{ rabbitmq_server}}:{{
rabbitmq_port }}/{{ rabbitmq_vhost }}"
+
+# Zoookeeper related variables
+zookeeper_client_port: 2181
+zookeeper_connection_url: "{{ groups['zookeeper'][0] }}:{{ zookeeper_client_port }}"
+
+# API Server related variables
+api_server_name: "apiserver-node0"
+api_server_host: "{{ groups['api-orch'][0] }}"
+api_server_port: "8930"
+api_secured: "false"
+tls_enable: "true"
+api_server_tls_port: "9930"
+enable_sharing: "true"
+iam_server_url: "https://iamdev.scigap.org/auth"
+iam_server_super_admin_username: "admin"
+iam_server_super_admin_password: "{{ vault_iam_server_super_admin_password }}"
+
+# Orchestrator  related variables
+orchestrator_name: "orchestrator-node0"
+orchestrator_host: "{{ groups['api-orch'][0] }}"
+orchestrator_port: "8940"
+api_orch_dir: "{{ deployment_dir }}/api-orchestrator"
+api_orch_log_dir: "{{ api_orch_dir }}/logs"
+
+# registry related variables
+registry_name: regserver-node0
+registry_host: "{{ groups['api-orch'][0] }}"
+registry_port: 8970
+#registry_dir: "{{ deployment_dir }}/registry"
+default_gateway: "default"
+
+# Credential and keystore related variables
+keystore_src_path: "{{inventory_dir}}/files/airavata.jks"
+keystore_passwd: "{{ vault_keystore_passwd }}"
+client_truststore_src_path: "{{inventory_dir}}/files/client_truststore.jks"
+client_truststore_passwd: "{{ vault_client_truststore_passwd }}"
+cred_keystore_src_path: "{{inventory_dir}}/files/airavata_sym.jks"
+cred_keystore_passwd: "{{ vault_cred_keystore_passwd }}"
+cred_keystore_alias: "airavata"
+cred_store_server_host: "{{ groups['api-orch'][0] }}"
+cred_store_port: "8960"
+keystores_location: "{{ deployment_dir }}/keystores"
+
+# Gfac related variables
+#gfac_name: "gfac-node0"
+#gfac_host: "{{ groups['gfac'][0] }}"
+#gfac_port: "8950"
+#gfac_dir: "{{ deployment_dir }}/gfac-instance"
+#gfac_log_dir: "{{ gfac_dir }}/logs"
+
+# Monitoring variables
+monitor_email_address: "testingjobsairavata@gmail.com"
+monitor_email_password: "{{ vault_monitor_email_password }}"
+
+# PGA variables
+pga_repo: "https://github.com/apache/airavata-php-gateway.git"
+user_data_dir: "/var/www/portals/gateway-user-data"
+real_user_data_dir: "/data/gateway-user-data"
+## Airavata Client related variables
+#airavata_server: "tls://gw77.iu.xsede.org"
+airavata_server: "tls://{{ groups['api-orch'][0] }}"
+airavata_port: "9930"
+airavata_profile_service_server: "{{ groups['api-orch'][0] }}"
+auth_verify_peer: "true"
+oauth_service_url: "{{ iam_server_url }}"
+
+# Sharing Registry related variables
+sharing_registry_host: "{{ groups['api-orch'][0] }}"
+sharing_registry_port: 7878
+
+# Profile Service related variables
+profile_service_host: "{{ groups['api-orch'][0] }}"
+profile_service_port: 8962
+
+# Keycloak
+keycloak_ssl_keystore_file: "{{ inventory_dir }}/files/keycloak.jks"
+keycloak_ssl_keystore_password: "{{ vault_keycloak_ssl_keystore_password }}"
+keycloak_db_host: "localhost"
+keycloak_db_username: "keycloak"
+keycloak_db_password: "{{ vault_keycloak_db_password }}"
+keycloak_master_account_username: "AiravataAdmin"
+keycloak_master_account_password: "{{ vault_keycloak_master_account_password }}"
+
+# Helix
+helix_version: 0.7.1
+helix_url: http://www-us.apache.org/dist//helix/{{helix_version}}/binaries/helix-core-{{helix_version}}-pkg.tar
+helix_dir: "{{ deployment_dir }}/airavata-helix"
+helix_cluster_name: "AiravataDemoCluster"
+snapshot_version: "0.17-SNAPSHOT"
+
+# Listening port for kafka installations
+kafka_listener_port: 9092
+kafka_rest_proxy_listener_port: 8082
+
+# Realtime Monitoring related variables
+realtime_monitor_broker_url: "{{ groups['kafka'][0] }}:{{ kafka_listener_port }}"
+realtime_monitor_broker_publisher: "RealtimeProducer"
+realtime_monitor_broker_consumer_group: "monitor"
+realtime_monitor_broker_topic: "helix-airavata-mq"
+
+# Variables related to the broker in which parsed job statuses are published
+job_monitor_broker_url: "{{ groups['kafka'][0] }}:{{ kafka_listener_port }}"
+job_monitor_broker_topic: "parsed-data"
+job_monitor_broker_consumer_group: "MonitoringConsumer"
\ No newline at end of file
diff --git a/dev-tools/ansible/inventories/scigap/testing/group_vars/all/vault.yml b/dev-tools/ansible/inventories/scigap/testing/group_vars/all/vault.yml
new file mode 100644
index 0000000..d97e220
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/testing/group_vars/all/vault.yml
@@ -0,0 +1,33 @@
+$ANSIBLE_VAULT;1.1;AES256
+34333132336261396333343336386135666664326335393938306435306534396564623537323031
+3535393966393238383634633630643662633939373538320a626132363836653833663038656633
+33363836383465636266656338633164646231366233316265376431366439393761623737623139
+6366373232633837380a616134383363346633333663353539383537613237663861356639303031
+65386533376362653762353261363763383537653265623564643661373030336535616264346433
+61303730383830313661386461626637356436643933306564303338366532623731333234303264
+37303636396433386166643463663530633966323130626664626231653435386131303639356134
+34303738313064313961346330363635623733656131626361666461656634653234636335356666
+38313936323566343466613535646632653134613162633436316233646361653939656435663362
+65336633626233396264643532366561383266623962303164636134626361363965346161653935
+65653533353933613839393465626361376665636434346664623165326662373665323738626664
+33333038643936326439623538393832663437643636323330623431613734393662626130613461
+38333732636138323135393037643233633839663134636665626635633138333931653238393836
+63313934383236393734366264313431313236326136326537623666366466306535313462326666
+34386533343734393437646630656435616164326363623034633837616266333436663163386136
+35306134323031346565663839303937316266306235376632306130653161356339373938613737
+64666166373362373331636661336534626665646433383831383465626137326262663438356335
+39303038353736653831323962373632613232623234313135663339613137316230316265326431
+30633439643232353338373435376533303938623834366631363231373639666532393130353732
+66303132643065373431646337306631636232323666623039663365386163363064383861303663
+38663539646237363833393365303337633731623534396463623139636130313962346232346566
+65343539656264323962666634373131353433333364633638313530613335376232393962626339
+66646562313436356530643365633637663239366561363630363232323662363431343530393736
+63393362363063663838623162656166346236313530376638656562666663366163666136383633
+34363736633237353336383437303038316362373566656461326631323638383039336263656662
+64333263323334366230653731643564633239333565616662633931303961306435643535656362
+32666638383562383464616462653164306632663036356435643431633538633532303033323661
+65333538663330316263663734383132353462666238643037613962626563363063396263326165
+64663362316565333737613065636165313565383035623336323536333638333939353139663263
+36366133613965333361323836343038626339303834663866656263393638636236643930386465
+64386431326639316364313233343665306537326234326330366433366530323935323363323263
+35343361306436623965
diff --git a/dev-tools/ansible/inventories/scigap/testing/hosts b/dev-tools/ansible/inventories/scigap/testing/hosts
new file mode 100644
index 0000000..47e6f39
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/testing/hosts
@@ -0,0 +1,27 @@
+# inventory file : scigap staging deployment
+
+[zookeeper]
+149.165.170.103
+#helix.staging.scigap.org
+#pga.staging.scigap.org
+
+[rabbitmq]
+149.165.170.103 ansible_user=root
+
+[database]
+149.165.171.12 ansible_user=root
+
+[api-orch]
+149.165.170.103 ansible_user=root
+
+[helix]
+149.165.156.124 ansible_user=root
+
+[kafka]
+149.165.156.124 ansible_user=root
+
+[pga]
+149.165.156.125 ansible_user=root
+
+# Using the same keycloak as development
+#[keycloak]
diff --git a/dev-tools/ansible/inventories/scigap/testing/pga_config/scigap/vars.yml b/dev-tools/ansible/inventories/scigap/testing/pga_config/scigap/vars.yml
new file mode 100644
index 0000000..d1981a9
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/testing/pga_config/scigap/vars.yml
@@ -0,0 +1,67 @@
+#
+#
+# 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: "master"
+user: "pga"
+group: "pga"
+doc_root_dir: "/var/www/portals/scigap"
+vhost_servername: "testing.scigap.org"
+vhost_ssl: True
+ssl_certificate_file: "/etc/letsencrypt/live/testing.scigap.org/cert.pem"
+ssl_certificate_chain_file: "/etc/letsencrypt/live/testing.scigap.org/fullchain.pem"
+ssl_certificate_key_file: "/etc/letsencrypt/live/testing.scigap.org/privkey.pem"
+
+## Keycloak related variables
+tenant_domain: "{{ gateway_id }}"
+admin_username: "scigap_admin"
+admin_password: "{{ vault_admin_password }}"
+oauth_client_key: "{{ vault_oauth_client_key }}"
+oauth_client_secret: "{{ vault_oauth_client_secret }}"
+# With Keycloak, we have to have static role names
+#user_role_name: "airavata-user"
+initial_role_name: "gateway-provider"
+oidc_discovery_url: "https://iamdev.scigap.org/auth/realms/{{ tenant_domain }}/.well-known/openid-configuration"
+
+auth_options:
+  - name: "SciGaP"
+    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: "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"
+
+## Portal related variables
+super_admin_portal: "true"
+admin_emails: "['sgrc-iu-group@iu.edu']"
+portal_email_username: "pga.airavata@gmail.com"
+portal_email_password: "{{ vault_portal_email_password }}"
+portal_theme: "scigap"
+portal_theme_repo: "https://github.com/SciGaP/scigap-portal-theme"
+portal_title: "SciGaP Admin Portal"
+#pga_google_analytics_id: "UA-111528347-4"
+...
diff --git a/dev-tools/ansible/inventories/scigap/testing/pga_config/scigap/vault.yml b/dev-tools/ansible/inventories/scigap/testing/pga_config/scigap/vault.yml
new file mode 100644
index 0000000..11045af
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/testing/pga_config/scigap/vault.yml
@@ -0,0 +1,18 @@
+$ANSIBLE_VAULT;1.1;AES256
+39643666353266393166653738306638656238343032623265353232366164653239316161303837
+3439383865616334656230646434633139303939636433340a393938616235623365666537316332
+36386435343862623061396164643964643961363534633833313635356236303363653630393961
+3232373137343566390a373139323364366265623835343163373436343864323066346637373932
+31356633373438383436303235663939336133323765643232616138333833316166336235613338
+66326162326239393333643634363631636536626532643935326661303263343362363564653261
+63343166613234363135656364646433323364383766313864613334613362356461313732376462
+35623161313134386538373962313361353561393134303433646133343032376338323366636564
+35393037376436393833393037313632373434663564336561396132336331393863336138323930
+63376634343965396236633033616364383835336433363233336464356161346662363634316138
+36333738626638343166646232633835653961346336313637316538396335383235306633663930
+35393064396164393639343330613437316439633835353432353430616436653338396331316437
+32353836396232643438656165646236303964316536656462396435346330336463646232646532
+38353365336336366331643066313435353965383263636565616335373036313463656338643066
+65376539663566613534386637653135396561353634636339383036663431373561393336363166
+35323035663533316336663566396135313030356236353663613331363861303064323435616464
+3933
diff --git a/dev-tools/ansible/inventories/scigap/testing/pga_config/seagrid/vars.yml b/dev-tools/ansible/inventories/scigap/testing/pga_config/seagrid/vars.yml
new file mode 100644
index 0000000..4449163
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/testing/pga_config/seagrid/vars.yml
@@ -0,0 +1,67 @@
+#
+#
+# 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: "master"
+user: "pga"
+group: "pga"
+doc_root_dir: "/var/www/portals/{{ gateway_id }}"
+vhost_servername: "testing.seagrid.org"
+vhost_ssl: True
+# TODO: have Ansible manage these files as well
+ssl_certificate_file: "/etc/letsencrypt/live/testing.seagrid.org/cert.pem"
+ssl_certificate_chain_file: "/etc/letsencrypt/live/testing.seagrid.org/fullchain.pem"
+ssl_certificate_key_file: "/etc/letsencrypt/live/testing.seagrid.org/privkey.pem"
+
+
+## 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://iam.scigap.org/auth/realms/{{ tenant_domain }}/.well-known/openid-configuration"
+
+auth_options:
+  - name: "SEAGrid"
+    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: "seagrid"
+# relative to document root dir
+experiment_data_dir: "{{ user_data_dir }}/seagrid"
+gateway_data_store_resource_id: "testing.seagrid.org_20dbec4c-223e-4568-a267-63d7efc6267e"
+gateway_data_store_ssh_public_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCFgLWSw6Mf0tPbkeSyzPMxgT50cNEXFDiE9UnEx0tIm+is9C3hIK78Ct8NAWgPxdXy1vd/9NBVIqkR516NZ7VyGbUHkrtPLOYL+Of9IyvxOQmrLzTLQNS9yVkxwxykJzBePZySyLcOKQdG8YoNj6+2iRolzfo5/w4Gz+MSqKmPJcVH8hjwTdoE5s0hYU4MaLF966hh6LUH7SG31BcTadtEgnE8nYfxeoa20oj0h0n1LKO06OZgVXVN3iulHimQ1paQiW71X9UPUhgpLnYAiI99BmYOQqEM4IndwZLZPwDeb23A0Dh3bLO8CAPgPRcG5b1Da6kABi5i5gcIt3WCJze"
+
+## Portal related variables
+super_admin_portal: "false"
+admin_emails: "['pamidigs@iu.edu', 'sgrc-iu-group@iu.edu']"
+portal_email_username: "pga.airavata@gmail.com"
+portal_email_password: "{{ vault_portal_email_password }}"
+portal_theme: "seagrid"
+portal_theme_repo: "https://github.com/SciGaP/seagrid-website-theme.git"
+portal_title: "SEAGrid Portal"
+#pga_google_analytics_id: "UA-110457476-1"
+...
diff --git a/dev-tools/ansible/inventories/scigap/testing/pga_config/seagrid/vault.yml b/dev-tools/ansible/inventories/scigap/testing/pga_config/seagrid/vault.yml
new file mode 100644
index 0000000..d434ec4
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/testing/pga_config/seagrid/vault.yml
@@ -0,0 +1,18 @@
+$ANSIBLE_VAULT;1.1;AES256
+31393733613436356565366164383263366439393134316137646663626631376261363362663261
+3636653632326233646630653462326532663131303336650a303564653264363539373831356263
+66376162386138376235396237653065633462633932636334306434363031343262663137653636
+6131393664393732640a633932353066623331326537643635663965393039613666656138323134
+66333833376134633034383865653962626166623334303034636335343030326639666131316263
+38393133336432306233333164313032633664633135336231633035303263356264623331356163
+38623263646636336131333766623263613738393965363837383865386566373234343866326431
+38346236653938333531326333626131306366336634643833323339386233376537326132643164
+34646265656634613534383735326339376165343330633439313465323235383334633639343933
+34643165626139303537326663366335356134323031643131656533353638623364656665643064
+35626337353061323565306536306135366436663238366430393639343033386462313031363838
+33303766363936393337663535326562356137333132626433366333366639636530363537323932
+65663338313631313730646230313231306361363464363937643136383031373462653364633166
+65353731636331643430616333356530653031336266386438623430383837313433343965663532
+64313361386663303765613762303138303863333035653436386232316632376564656235633862
+36323034623530323831333263616231363536656465383537303332353738306434303964613338
+3062
diff --git a/dev-tools/ansible/inventories/scigap/testing/pga_config/testdrive/vars.yml b/dev-tools/ansible/inventories/scigap/testing/pga_config/testdrive/vars.yml
new file mode 100644
index 0000000..6fd4a0f
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/testing/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: "master"
+user: "pga"
+group: "pga"
+doc_root_dir: "/var/www/portals/testdrive"
+vhost_servername: "testing.testdrive.airavata.org"
+vhost_ssl: True
+ssl_certificate_file: "/etc/letsencrypt/live/testing.testdrive.airavata.org/cert.pem"
+ssl_certificate_chain_file: "/etc/letsencrypt/live/testing.testdrive.airavata.org/fullchain.pem"
+ssl_certificate_key_file: "/etc/letsencrypt/live/testing.testdrive.airavata.org/privkey.pem"
+
+## 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 }}/testdrive"
+gateway_data_store_resource_id: "testing.testdrive.airavata.org_558f61e0-da54-4e31-a62f-ce5ec3f2fb85"
+gateway_data_store_ssh_public_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCFgLWSw6Mf0tPbkeSyzPMxgT50cNEXFDiE9UnEx0tIm+is9C3hIK78Ct8NAWgPxdXy1vd/9NBVIqkR516NZ7VyGbUHkrtPLOYL+Of9IyvxOQmrLzTLQNS9yVkxwxykJzBePZySyLcOKQdG8YoNj6+2iRolzfo5/w4Gz+MSqKmPJcVH8hjwTdoE5s0hYU4MaLF966hh6LUH7SG31BcTadtEgnE8nYfxeoa20oj0h0n1LKO06OZgVXVN3iulHimQ1paQiW71X9UPUhgpLnYAiI99BmYOQqEM4IndwZLZPwDeb23A0Dh3bLO8CAPgPRcG5b1Da6kABi5i5gcIt3WCJze"
+
+## 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 }}"
+#portal_theme: "base"
+#portal_theme_repo: ""
+portal_title: "Airavata Test Drive"
+#pga_google_analytics_id: "UA-111528347-2"
+...
diff --git a/dev-tools/ansible/inventories/scigap/testing/pga_config/testdrive/vault.yml b/dev-tools/ansible/inventories/scigap/testing/pga_config/testdrive/vault.yml
new file mode 100644
index 0000000..c4898ca
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/testing/pga_config/testdrive/vault.yml
@@ -0,0 +1,18 @@
+$ANSIBLE_VAULT;1.1;AES256
+66376533623064626435333662333835316630313130323732643135346538636232323963313338
+6231316162366536376233373536306137373937343532310a363937303463643338663931356339
+38636532303332376662613862636331373963356635313538613563356132666362666438386639
+3364396538383230350a393165393266383636646335346437626566373038613964613037363236
+61633266323065343036393362643763313265336635666134626634366539623332356466306434
+65383139633231373961636633323330373331343331653433383338313365326565666531353264
+38363938303732623363356464323263653538353735636562633336393236376431663839343930
+37323861623161343961333438663134643235623534353938623966313639636633333731626665
+39303765363837356562613563363831353935373138613131303436303664373833386637623433
+31303861303534306633616231643337326264386431623931303836623561303333616362643830
+35633632663565653463613234316133323363653834613138633166393831366535373931306162
+63366435376534336433333762643931343931633061346464306232393834343634663864313263
+30323362663737393733353434663535336538643837336637623166313731316432613437346532
+64353236626336653436363331613835373263636337313637396136663539356164303735613137
+30313837326165396632343063643463626430613533323663313031666634643632316137323336
+36626465356131636339376265306136326266626538376139333165356137313931663838383462
+3065
diff --git a/dev-tools/ansible/pga-scigap-testing.yml b/dev-tools/ansible/pga-scigap-testing.yml
new file mode 100644
index 0000000..7c69ef5
--- /dev/null
+++ b/dev-tools/ansible/pga-scigap-testing.yml
@@ -0,0 +1,25 @@
+#
+#
+# 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.
+#
+
+---
+- 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"
+...


Mime
View raw message