Commit 8246bcce by Clinton Blackburn

Merge pull request #2321 from edx/clintonb/programs-sandbox

Added programs service to sandboxes
parents 925fde98 9d658999
......@@ -37,6 +37,7 @@
- edx_ansible
- analytics_api
- ecommerce
- programs
- oauth_client_setup
- role: datadog
when: COMMON_ENABLE_DATADOG
......
- name: Deploy edX Programs Service
hosts: all
sudo: True
gather_facts: True
vars:
ENABLE_DATADOG: False
ENABLE_SPLUNKFORWARDER: False
ENABLE_NEWRELIC: False
roles:
- role: nginx
nginx_sites:
- programs
nginx_default_sites:
- programs
- aws
- programs
- role: datadog
when: COMMON_ENABLE_DATADOG
- role: splunkforwarder
when: COMMON_ENABLE_SPLUNKFORWARDER
- role: newrelic
when: COMMON_ENABLE_NEWRELIC
......@@ -212,11 +212,15 @@ EDXAPP_NEWRELIC_WORKERS_APPNAME: sandbox-${dns_name}-edxapp-workers
XQUEUE_NEWRELIC_APPNAME: sandbox-${dns_name}-xqueue
FORUM_NEW_RELIC_APP_NAME: sandbox-${dns_name}-forums
SANDBOX_USERNAME: $github_username
ECOMMERCE_SOCIAL_AUTH_REDIRECT_IS_HTTPS: true
EDXAPP_ECOMMERCE_PUBLIC_URL_ROOT: "https://ecommerce-${deploy_host}"
EDXAPP_ECOMMERCE_API_URL: "https://ecommerce-${deploy_host}/api/v2"
ECOMMERCE_ECOMMERCE_URL_ROOT: "https://ecommerce-${deploy_host}"
ECOMMERCE_LMS_URL_ROOT: "https://${deploy_host}"
ECOMMERCE_SOCIAL_AUTH_REDIRECT_IS_HTTPS: true
PROGRAMS_URL_ROOT: "https://programs-${deploy_host}"
PROGRAMS_SOCIAL_AUTH_REDIRECT_IS_HTTPS: true
EOF
fi
......@@ -261,7 +265,7 @@ EOF
fi
declare -A deploy
roles="edxapp forum ecommerce notifier xqueue xserver ora discern certs demo testcourses"
roles="edxapp forum ecommerce programs notifier xqueue xserver ora discern certs demo testcourses"
for role in $roles; do
deploy[$role]=${!role}
done
......
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