Skip to content
This repository was archived by the owner on Aug 3, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions playbooks/roles/edxapp/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,9 @@ EDXAPP_DCS_SESSION_COOKIE_SAMESITE_FORCE_ALL: True
# Whether to run reindex_course on deploy
EDXAPP_REINDEX_ALL_COURSES: false

# Whether to run compilejsi18n on deploy
EDXAPP_COMPILE_JSI18N: false

# XML Course related flags
EDXAPP_XML_FROM_GIT: false
EDXAPP_XML_S3_BUCKET: !!null
Expand Down
9 changes: 9 additions & 0 deletions playbooks/roles/edxapp/tasks/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,15 @@
when:
- celery_worker is not defined

- name: compile JS translations
shell: ". {{ edxapp_app_dir }}/edxapp_env && {{ edxapp_venv_bin }}/python ./manage.py lms --settings={{ edxapp_settings }} compilejsi18n"
args:
chdir: "{{ edxapp_code_dir }}"
become_user: "{{ edxapp_user }}"
when: EDXAPP_COMPILE_JSI18N and celery_worker is not defined
tags:
- assets

# creates the supervisor jobs for the
# service variants configured, runs
# gather_assets and db migrations
Expand Down