Commit e6142905 by Tyler Hallada

Pass THEME_SCSS as an env var to webpack task

parent 2f881bb7
......@@ -330,4 +330,7 @@
- Role: insights
- Removed `bower install` task
- Replaced r.js build task with webpack build task
- Removed `./maange.py compress` task
\ No newline at end of file
- Removed `./maange.py compress` task
- Role: insights
- Moved `THEME_SCSS` from `INSIGHTS_CONFIG` to `insights_environment`
......@@ -128,7 +128,6 @@ INSIGHTS_CONFIG:
# static file config
STATICFILES_DIRS: ["{{ insights_static_path }}"]
STATIC_ROOT: "{{ COMMON_DATA_DIR }}/{{ insights_service_name }}/staticfiles"
THEME_SCSS: '{{ INSIGHTS_THEME_SCSS }}'
RESEARCH_URL: '{{ INSIGHTS_RESEARCH_URL }}'
OPEN_SOURCE_URL: '{{ INSIGHTS_OPEN_SOURCE_URL }}'
# db config
......@@ -177,6 +176,7 @@ insights_environment:
DJANGO_SETTINGS_MODULE: "analytics_dashboard.settings.production"
ANALYTICS_DASHBOARD_CFG: "{{ COMMON_CFG_DIR }}/{{ insights_service_name }}.yml"
PATH: "{{ insights_nodeenv_bin }}:{{ insights_venv_dir }}/bin:{{ ansible_env.PATH }}"
THEME_SCSS: '{{ INSIGHTS_THEME_SCSS }}'
insights_service_name: insights
......
......@@ -82,6 +82,7 @@
tags:
- assets
- assets:gather
environment: "{{ insights_environment }}"
- name: run collectstatic
shell: "{{ insights_venv_dir }}/bin/python {{ insights_manage }} {{ item }}"
......
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