Skip to content

Commit

Permalink
chore: quality fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian2012 committed Oct 18, 2024
1 parent d14b464 commit 36153e1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tutor/hooks/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,8 @@ def your_filter_callback(some_data):
IS_FILE_RENDERED: Filter[bool, [str]] = Filter()


LMS_WORKER_COMMAND: Filter[list[str]] = Filter
CMS_WORKER_COMMAND: Filter[dict[str, str]] = Filter
LMS_WORKER_COMMAND: Filter[list[str]] = Filter()
CMS_WORKER_COMMAND: Filter[dict[str, str]] = Filter()


class Contexts:
Expand Down
3 changes: 1 addition & 2 deletions tutor/templates/k8s/deployments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ spec:
args:
- "celery"
- "worker"
- "--app=lms.celery"{% for setting, value in iter_cms_celery_parameters().items() %}
- "--app=lms.celery"{% for setting, value in iter_lms_celery_parameters().items() %}
- "--{{setting}}={{value}}"{% endfor %}
env:
- name: SERVICE_VARIANT
Expand All @@ -283,7 +283,6 @@ spec:
- name: config
configMap:
name: openedx-config
---
{% if RUN_ELASTICSEARCH %}
---
apiVersion: apps/v1
Expand Down
2 changes: 2 additions & 0 deletions tutor/templates/local/docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,5 @@ services:
{%- endfor %}
depends_on:
- cms

{{ patch("local-docker-compose-prod-services")|indent(2) }}

0 comments on commit 36153e1

Please sign in to comment.