Commit a2bdc130 by Kevin Falcone

We chose not to be running supervisor, remove it from the command

If we move away from runserver, we can switch back.  Possible someone
will want to push commands into this, and away from the docker compose
file, but that's not the current state.

Also clean up some really old unused files I spotted while grepping
through the builds.
parent 8c0f0b0a
../../plays/analytics_api.yml
\ No newline at end of file
- name: Deploy Insights
hosts: all
sudo: True
gather_facts: True
vars:
serial_count: 1
serial: "{{ serial_count }}"
roles:
- common_vars
- docker
- insights
......@@ -6,16 +6,6 @@ source {{ edx_django_service_home }}/{{ edx_django_service_name }}_env
COMMAND=$1
case $COMMAND in
start)
{{ supervisor_venv_bin }}/supervisord --configuration {{ supervisor_cfg }}
# Needed to run bower as root. See explanation around 'edx_django_service_user=root'
echo '{ "allow_root": true }' > /root/.bowerrc
# Docker requires an active foreground task. Tail the logs to appease Docker and
# provide useful output for development.
tail -f {{ edx_django_service_name_devstack_logs | join(" -f ") }}
;;
open)
. {{ edx_django_service_nodeenv_bin }}/activate
. {{ edx_django_service_venv_bin_dir }}/activate
......
......@@ -6,16 +6,6 @@ source {{ edxapp_app_dir }}/edxapp_env
COMMAND=$1
case $COMMAND in
start)
{{ supervisor_venv_bin }}/supervisord --configuration {{ supervisor_cfg }}
# Needed to run bower as root. See explanation around 'edx_django_service_user=root'
echo '{ "allow_root": true }' > /root/.bowerrc
# Docker requires an active foreground task. Tail the logs to appease Docker and
# provide useful output for development.
tail -f {{ edxapp_devstack_logs | join(" -f ") }}
;;
open)
. {{ edxapp_nodeenv_bin }}/activate
. {{ edxapp_venv_bin }}/activate
......
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