Skip to content

Commit

Permalink
For Travel Advice Publisher - add Cron Task to publish any potentiall…
Browse files Browse the repository at this point in the history
…y unpublished editions that were scheduled for the past.

Rake task was added to the publisher here alphagov/travel-advice-publisher#1859
  • Loading branch information
baisa committed Mar 27, 2024
1 parent fa9d342 commit b89ecff
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/app-config/values-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions charts/app-config/values-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions charts/app-config/values-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b89ecff

Please sign in to comment.