Skip to content

Commit

Permalink
Merge pull request #22930 from hmcts/PAY-6023
Browse files Browse the repository at this point in the history
PAY-6023: Update schedule for unprocessed jobs in Demo
  • Loading branch information
davejones74 authored May 17, 2023
2 parents aea8e35 + ca4b707 commit 281caaf
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ spec:
values:
job:
image: "hmctspublic.azurecr.io/payment/jobs:prod-a0e5cb8-20230418005921" #{"$imagepolicy": "flux-system:unprocessed-payment-update"}
schedule: "*/2 * * * *"
schedule: "*/15 0 * * 1,2,3,4,5"
environment:
REPORT_NAME: unprocessed-payment-update
DUMMY_RESTART_VAR: true
DUMMY_RESTART_VAR: false
global:
jobKind: CronJob
chart:
Expand All @@ -20,4 +20,4 @@ spec:
kind: GitRepository
name: hmcts-charts
namespace: flux-system
interval: 1m
interval: 15m
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
hmcts.github.com/prod-automated: disabled
spec:
filterTags:
pattern: '^pr-48-[a-f0-9]+-(?P<ts>[0-9]+)'
pattern: '^prod-[a-f0-9]+-(?P<ts>[0-9]+)'
extract: '$ts'
policy:
alphabetical:
Expand Down
3 changes: 3 additions & 0 deletions apps/fees-pay/unprocessed-payment-update/demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ spec:
values:
job:
image: "hmctspublic.azurecr.io/payment/jobs:prod-a0e5cb8-20230418005921" #{"$imagepolicy": "flux-system:unprocessed-payment-update"}
schedule: "*/15 0 * * 1,2,3,4,5"
environment:
DUMMY_VARIABLE: true
global:
environment: demo
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
hmcts.github.com/prod-automated: disabled
spec:
filterTags:
pattern: '^pr-41-[a-f0-9]+-(?P<ts>[0-9]+)'
pattern: '^prod-[a-f0-9]+-(?P<ts>[0-9]+)'
extract: '$ts'
policy:
alphabetical:
Expand Down
2 changes: 1 addition & 1 deletion apps/fees-pay/unprocessed-payment-update/ithc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ spec:
image: "hmctspublic.azurecr.io/payment/jobs:pr-41-3207429-20220920091848" #{"$imagepolicy": "flux-system:ithc-unprocessed-payment-update"}
java:
environment:
DUMMY_VARIABLE: true
DUMMY_VARIABLE: false
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
hmcts.github.com/prod-automated: disabled
spec:
filterTags:
pattern: '^pr-41-[a-f0-9]+-(?P<ts>[0-9]+)'
pattern: '^prod-[a-f0-9]+-(?P<ts>[0-9]+)'
extract: '$ts'
policy:
alphabetical:
Expand Down

0 comments on commit 281caaf

Please sign in to comment.