From b89ecffe9aa375ad745eac52f822218403744bcd Mon Sep 17 00:00:00 2001 From: Barbara Slawinska Date: Wed, 27 Mar 2024 12:59:12 +0000 Subject: [PATCH] For Travel Advice Publisher - add Cron Task to publish any potentially unpublished editions that were scheduled for the past. Rake task was added to the publisher here https://github.com/alphagov/travel-advice-publisher/pull/1859 --- charts/app-config/values-integration.yaml | 4 ++++ charts/app-config/values-production.yaml | 4 ++++ charts/app-config/values-staging.yaml | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/charts/app-config/values-integration.yaml b/charts/app-config/values-integration.yaml index 75afe50d664..4f1aaeb3913 100644 --- a/charts/app-config/values-integration.yaml +++ b/charts/app-config/values-integration.yaml @@ -2911,6 +2911,10 @@ govukApplications: - name: travel-advice-publisher helmValues: + cronTasks: + - name: publish-scheduled-editions + task: "publish_scheduled_editions" + schedule: "0 0 * * *" nginxClientMaxBodySize: *max-upload-size workerEnabled: true ingress: diff --git a/charts/app-config/values-production.yaml b/charts/app-config/values-production.yaml index 6a0832a0b5f..5f4a88bde2e 100644 --- a/charts/app-config/values-production.yaml +++ b/charts/app-config/values-production.yaml @@ -2975,6 +2975,10 @@ govukApplications: - name: travel-advice-publisher helmValues: + cronTasks: + - name: publish-scheduled-editions + task: "publish_scheduled_editions" + schedule: "0 0 * * *" nginxClientMaxBodySize: *max-upload-size workerEnabled: true ingress: diff --git a/charts/app-config/values-staging.yaml b/charts/app-config/values-staging.yaml index 1f88fe030a1..efda3f5cd45 100644 --- a/charts/app-config/values-staging.yaml +++ b/charts/app-config/values-staging.yaml @@ -2931,6 +2931,10 @@ govukApplications: - name: travel-advice-publisher helmValues: + cronTasks: + - name: publish-scheduled-editions + task: "publish_scheduled_editions" + schedule: "0 0 * * *" nginxClientMaxBodySize: *max-upload-size workerEnabled: true ingress: