Commit b680fe8d by George Song Committed by GitHub

Merge pull request #4126 from edx/george/ospr-1876-ginkgo

Optional `aws` role and `EDXAPP_MYSQL_ATOMIC_REQUESTS`
parents 67b4c16b af71be87
......@@ -7,7 +7,8 @@
CLUSTER_NAME: 'edxapp'
serial: "{{ serial_count }}"
roles:
- aws
- role: aws
when: COMMON_ENABLE_AWS_ROLE
- role: automated
AUTOMATED_USERS: "{{ EDXAPP_AUTOMATED_USERS | default({}) }}"
- role: nginx
......
......@@ -223,3 +223,5 @@ COMMON_JWT_SECRET_KEY: 'SET-ME-PLEASE'
# Set worker user default
CREATE_SERVICE_WORKER_USERS: True
COMMON_ENABLE_AWS_ROLE: true
......@@ -79,6 +79,7 @@ EDXAPP_MYSQL_PASSWORD: 'password'
EDXAPP_MYSQL_PASSWORD_READ_ONLY: 'password'
EDXAPP_MYSQL_PASSWORD_ADMIN: 'password'
EDXAPP_MYSQL_OPTIONS: {}
EDXAPP_MYSQL_ATOMIC_REQUESTS: True
EDXAPP_MYSQL_REPLICA_DB_NAME: "{{ EDXAPP_MYSQL_DB_NAME }}"
EDXAPP_MYSQL_REPLICA_USER: "{{ EDXAPP_MYSQL_USER }}"
EDXAPP_MYSQL_REPLICA_PASSWORD: "{{ EDXAPP_MYSQL_PASSWORD }}"
......@@ -825,7 +826,7 @@ edxapp_databases:
PASSWORD: "{{ EDXAPP_MYSQL_PASSWORD }}"
HOST: "{{ EDXAPP_MYSQL_HOST }}"
PORT: "{{ EDXAPP_MYSQL_PORT }}"
ATOMIC_REQUESTS: True
ATOMIC_REQUESTS: "{{ EDXAPP_MYSQL_ATOMIC_REQUESTS }}"
CONN_MAX_AGE: "{{ EDXAPP_MYSQL_CONN_MAX_AGE }}"
OPTIONS: "{{ EDXAPP_MYSQL_OPTIONS }}"
student_module_history:
......
......@@ -300,7 +300,7 @@
- install:app-requirements
- name: compiling all py files in the edx-platform repo
shell: "{{ edxapp_venv_bin }}/python -m compileall -q -x .git/.* {{ edxapp_code_dir }}"
shell: "{{ edxapp_venv_bin }}/python -m compileall -q -x '.git/.*|node_modules/.*' {{ edxapp_code_dir }}"
become_user: "{{ edxapp_user }}"
tags:
- install
......
......@@ -56,6 +56,7 @@
tags:
- install
- install:base
- install:configuration
- name: create {{ forum_data_dir }}
file:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment