Commit c75de4a7 by Jeremy Bowman Committed by GitHub

Merge pull request #3902 from edx/bok_choy_support

PLAT-1228 Support bok-choy in edxapp Docker devstack
parents 5a11c42e 7f9c0c97
...@@ -26,3 +26,12 @@ EDXAPP_INSTALL_PRIVATE_REQUIREMENTS: true ...@@ -26,3 +26,12 @@ EDXAPP_INSTALL_PRIVATE_REQUIREMENTS: true
EDXAPP_SEARCH_HOST: 'edx.devstack.elasticsearch' EDXAPP_SEARCH_HOST: 'edx.devstack.elasticsearch'
EDXAPP_PYTHON_SANDBOX: false EDXAPP_PYTHON_SANDBOX: false
edxapp_debian_pkgs_extra:
- mongodb-clients
- mysql-client
edxapp_environment_extra:
SELENIUM_BROWSER: 'firefox'
SELENIUM_HOST: 'edx.devstack.firefox'
SELENIUM_PORT: '4444'
...@@ -747,7 +747,7 @@ edxapp_helper_scripts: ...@@ -747,7 +747,7 @@ edxapp_helper_scripts:
- edxapp-update-assets - edxapp-update-assets
- edxapp-shell - edxapp-shell
edxapp_environment: edxapp_environment_default:
LANG: "{{ EDXAPP_LANG }}" LANG: "{{ EDXAPP_LANG }}"
NO_PREREQ_INSTALL: "{{ EDXAPP_NO_PREREQ_INSTALL }}" NO_PREREQ_INSTALL: "{{ EDXAPP_NO_PREREQ_INSTALL }}"
SKIP_WS_MIGRATIONS: 1 SKIP_WS_MIGRATIONS: 1
...@@ -761,6 +761,10 @@ edxapp_environment: ...@@ -761,6 +761,10 @@ edxapp_environment:
# yaml based configs is complete # yaml based configs is complete
CONFIG_ROOT: "{{ edxapp_app_dir }}" CONFIG_ROOT: "{{ edxapp_app_dir }}"
edxapp_environment_extra: {}
edxapp_environment: "{{ edxapp_environment_default | combine(edxapp_environment_extra) }}"
edxapp_generic_doc_store_config: &edxapp_generic_default_docstore edxapp_generic_doc_store_config: &edxapp_generic_default_docstore
db: "{{ EDXAPP_MONGO_DB_NAME }}" db: "{{ EDXAPP_MONGO_DB_NAME }}"
host: "{{ EDXAPP_MONGO_HOSTS }}" host: "{{ EDXAPP_MONGO_HOSTS }}"
...@@ -1253,7 +1257,7 @@ edxapp_requirements_with_github_urls: ...@@ -1253,7 +1257,7 @@ edxapp_requirements_with_github_urls:
edxapp_chrislea_ppa: "ppa:chris-lea/node.js" edxapp_chrislea_ppa: "ppa:chris-lea/node.js"
edxapp_debian_pkgs: edxapp_debian_pkgs_default:
# for compiling the virtualenv # for compiling the virtualenv
# (only needed if wheel files aren't available) # (only needed if wheel files aren't available)
- s3cmd - s3cmd
...@@ -1276,6 +1280,8 @@ edxapp_debian_pkgs: ...@@ -1276,6 +1280,8 @@ edxapp_debian_pkgs:
- python-dev - python-dev
- libsqlite3-dev - libsqlite3-dev
edxapp_debian_pkgs_extra: []
# Deploy Specific Vars # Deploy Specific Vars
edxapp_lms_variant: lms edxapp_lms_variant: lms
edxapp_cms_variant: cms edxapp_cms_variant: cms
......
...@@ -124,7 +124,9 @@ ...@@ -124,7 +124,9 @@
name: "{{ item }}" name: "{{ item }}"
state: present state: present
update_cache: yes update_cache: yes
with_items: "{{ edxapp_debian_pkgs }}" with_flattened:
- "{{ edxapp_debian_pkgs_default }}"
- "{{ edxapp_debian_pkgs_extra }}"
tags: tags:
- install - install
- install:base - install:base
......
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