You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2019/11/03 22:24:28 UTC
[airavata] branch master updated (8011fd9 -> f0d94cd)
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/airavata.git.
from 8011fd9 Adding missing pga_reroute_to_django var for prod pgas
new 9858de5 production inventory updates for Django deploys
new f0d94cd Exclude .git directory in built Django code
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../ansible/inventories/scigap/production/group_vars/all/vars.yml | 2 +-
.../ansible/inventories/scigap/production/host_vars/seagrid/vars.yml | 3 +++
dev-tools/ansible/roles/django/tasks/main.yml | 4 +++-
3 files changed, 7 insertions(+), 2 deletions(-)
[airavata] 01/02: production inventory updates for Django deploys
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata.git
commit 9858de52a56ddc62c2c0fb8754117b776d41a07f
Author: Marcus Christie <ma...@iu.edu>
AuthorDate: Sun Nov 3 17:23:35 2019 -0500
production inventory updates for Django deploys
---
.../ansible/inventories/scigap/production/group_vars/all/vars.yml | 2 +-
.../ansible/inventories/scigap/production/host_vars/seagrid/vars.yml | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/dev-tools/ansible/inventories/scigap/production/group_vars/all/vars.yml b/dev-tools/ansible/inventories/scigap/production/group_vars/all/vars.yml
index 76fdefc..b2711f6 100644
--- a/dev-tools/ansible/inventories/scigap/production/group_vars/all/vars.yml
+++ b/dev-tools/ansible/inventories/scigap/production/group_vars/all/vars.yml
@@ -20,7 +20,7 @@
---
ansible_connection: ssh
-ansible_user: centos
+ansible_user: root
user: airavata
group: airavata
diff --git a/dev-tools/ansible/inventories/scigap/production/host_vars/seagrid/vars.yml b/dev-tools/ansible/inventories/scigap/production/host_vars/seagrid/vars.yml
index 515c218..c223496 100644
--- a/dev-tools/ansible/inventories/scigap/production/host_vars/seagrid/vars.yml
+++ b/dev-tools/ansible/inventories/scigap/production/host_vars/seagrid/vars.yml
@@ -21,6 +21,9 @@
---
vhost_servername: "seagrid.org"
vhost_ssl: True
+vhost_aliases:
+ - url: /seagrid-rich-client/
+ path: "{{ doc_root_dir }}/static/seagrid-rich-client/"
ssl_certificate_file: "/etc/letsencrypt/live/seagrid.org/cert.pem"
ssl_certificate_chain_file: "/etc/letsencrypt/live/seagrid.org/fullchain.pem"
ssl_certificate_key_file: "/etc/letsencrypt/live/seagrid.org/privkey.pem"
[airavata] 02/02: Exclude .git directory in built Django code
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata.git
commit f0d94cde460147b2fbbd1ad1d047ea20d49a7d4b
Author: Marcus Christie <ma...@iu.edu>
AuthorDate: Sun Nov 3 17:24:11 2019 -0500
Exclude .git directory in built Django code
For a smaller disk footprint
---
dev-tools/ansible/roles/django/tasks/main.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dev-tools/ansible/roles/django/tasks/main.yml b/dev-tools/ansible/roles/django/tasks/main.yml
index 8170b81..5048c1e 100644
--- a/dev-tools/ansible/roles/django/tasks/main.yml
+++ b/dev-tools/ansible/roles/django/tasks/main.yml
@@ -104,6 +104,7 @@
dest: "{{ airavata_django_checkout }}"
rsync_opts:
- "--exclude=node_modules"
+ - "--exclude=.git"
# Bug: become_user doesn't work with synchronize: https://github.com/ansible/ansible/issues/29698
rsync_path: "sudo -u {{ user }} rsync"
# become: yes
@@ -153,8 +154,9 @@
notify:
- restart uwsgi
+# TODO: this is really slow with lots of files
- name: Create experiment data dir
- file: path="{{ experiment_data_dir }}" state=directory owner="{{user}}" group="{{group}}" recurse=yes follow=yes
+ file: path="{{ experiment_data_dir }}" state=directory owner="{{user}}" group="{{group}}" recurse=no follow=yes
become: yes
- name: Create file upload tmp dir