From a6c4660c0ffcc325b2fbe1573a4ca2b6e63e052b Mon Sep 17 00:00:00 2001 From: Chris Pappas Date: Fri, 24 May 2024 12:11:15 -0400 Subject: [PATCH] deply ecomworker from 2u/main (#19) * fix: update ansible to let ecomworker deploy from 2u/main * fix: revert queue arg for ecomworker celery --- playbooks/roles/ecomworker/defaults/main.yml | 2 +- .../ecomworker/templates/edx/app/ecomworker/ecomworker.sh.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/roles/ecomworker/defaults/main.yml b/playbooks/roles/ecomworker/defaults/main.yml index 59bae85240c..d5643c0b46e 100644 --- a/playbooks/roles/ecomworker/defaults/main.yml +++ b/playbooks/roles/ecomworker/defaults/main.yml @@ -11,7 +11,7 @@ # ECOMMERCE_WORKER_GIT_IDENTITY: !!null -ECOMMERCE_WORKER_VERSION: 'master' +ECOMMERCE_WORKER_VERSION: '2u/main' ECOMMERCE_WORKER_USE_PYTHON38: true ECOMMERCE_WORKER_REPOS: diff --git a/playbooks/roles/ecomworker/templates/edx/app/ecomworker/ecomworker.sh.j2 b/playbooks/roles/ecomworker/templates/edx/app/ecomworker/ecomworker.sh.j2 index 648c97f5598..ddd621424e7 100644 --- a/playbooks/roles/ecomworker/templates/edx/app/ecomworker/ecomworker.sh.j2 +++ b/playbooks/roles/ecomworker/templates/edx/app/ecomworker/ecomworker.sh.j2 @@ -26,4 +26,4 @@ export DD_TRACE_LOG_STREAM_HANDLER=false source {{ ecommerce_worker_home }}/{{ ecommerce_worker_service_name }}_env # We exec so that celery is the child of supervisor and can be managed properly -exec {{ executable }} -A ecommerce_worker.celery_app:app worker --concurrency={{ ECOMMERCE_WORKER_CONCURRENCY }} --loglevel=info --hostname=ecomworker.%%h --queues=ecommerce.fulfillment,ecommerce.email_marketing,ecommerce.default +exec {{ executable }} -A ecommerce_worker.celery_app:app worker --concurrency={{ ECOMMERCE_WORKER_CONCURRENCY }} --loglevel=info --hostname=ecomworker.%%h --queue=ecommerce.fulfillment,ecommerce.email_marketing,ecommerce.default