From 80c16ff557616ebbbdc0a993ab7cb4f80f7c4896 Mon Sep 17 00:00:00 2001 From: Richard Parke Date: Fri, 27 Mar 2026 10:15:20 +0000 Subject: [PATCH] create a valid startup command for both new worker types `api-worker-jobs-save` and `api-worker-jobs-save-documents` when adding the new queues and new worker types https://github.com/alphagov/notifications-aws/pull/2884 we need to ensure that new workers can startup properly without any issues. This means temporarily configuring each new worker type to take tasks from existing queues, before upgrading `notifications-api` https://github.com/alphagov/notifications-api/pull/4784 to populate, and take messages off the new queues. --- entrypoint.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index b371815eab..a484453405 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -33,6 +33,12 @@ case "$1" in api-worker-jobs) exec $COMMON_CMD database-tasks,job-tasks ;; + api-worker-jobs-save) + exec $COMMON_CMD database-tasks,job-tasks + ;; + api-worker-jobs-save-documents) + exec $COMMON_CMD database-tasks,job-tasks + ;; api-worker-research) exec $COMMON_CMD research-mode-tasks ;;