diff --git a/apps/probate/demo/base/kustomization.yaml b/apps/probate/demo/base/kustomization.yaml index f9ea6481e855..1bb08c979acd 100644 --- a/apps/probate/demo/base/kustomization.yaml +++ b/apps/probate/demo/base/kustomization.yaml @@ -5,6 +5,10 @@ resources: - ../../probate-cron-make-dormant-cases/probate-cron-make-dormant-cases.yaml - ../../probate-cron-reactivate-dormant-cases/probate-cron-reactivate-dormant-cases.yaml - ../../probate-cron-hmrc-extract/probate-cron-hmrc-extract.yaml + - ../../probate-cron-iron-mountain-extract/probate-cron-iron-mountain-extract.yaml + - ../../probate-cron-exela-extract/probate-cron-exela-extract.yaml + - ../../probate-cron-grant-delayed-extract/probate-cron-grant-delayed-extract.yaml + - ../../probate-cron-grant-awaiting-documentation-extract/probate-cron-grant-awaiting-documentation-extract.yaml - ../../probate-cron-ccd-data-migration-tool/probate-cron-ccd-data-migration-tool.yaml - ../../probate-cron-smee-and-ford-extract/probate-cron-smee-and-ford-extract.yaml - ../../../rbac/nonprod-role.yaml @@ -22,5 +26,9 @@ patches: - path: ../../probate-cron-reactivate-dormant-cases/demo/demo.yaml - path: ../../probate-cron-smee-and-ford-extract/demo/demo.yaml - path: ../../probate-cron-ccd-data-migration-tool/demo/demo.yaml + - path: ../../probate-cron-iron-mountain-extract/demo/demo.yaml + - path: ../../probate-cron-exela-extract/demo/demo.yaml + - path: ../../probate-cron-grant-delayed-extract/demo/demo.yaml + - path: ../../probate-cron-grant-awaiting-documentation-extract/demo/demo.yaml - path: ../../identity/demo.yaml - path: ../../serviceaccount/demo.yaml diff --git a/apps/probate/probate-back-office/demo-image-policy.yaml b/apps/probate/probate-back-office/demo-image-policy.yaml index f43abba9ca54..87b0d138a77f 100644 --- a/apps/probate/probate-back-office/demo-image-policy.yaml +++ b/apps/probate/probate-back-office/demo-image-policy.yaml @@ -6,7 +6,7 @@ metadata: hmcts.github.com/prod-automated: disabled spec: filterTags: - pattern: '^pr-2976-[a-f0-9]+-(?P[0-9]+)' + pattern: '^pr-2959-[a-f0-9]+-(?P[0-9]+)' extract: '$ts' policy: alphabetical: diff --git a/apps/probate/probate-cron-exela-extract/demo/demo.yaml b/apps/probate/probate-cron-exela-extract/demo/demo.yaml new file mode 100644 index 000000000000..fa4ec564b506 --- /dev/null +++ b/apps/probate/probate-cron-exela-extract/demo/demo.yaml @@ -0,0 +1,17 @@ +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: probate-cron-exela-extract +spec: + releaseName: probate-cron-exela-extract + values: + job: + image: hmctspublic.azurecr.io/probate/back-office:pr-2897-8ad23f9-20250115094341 #{"$imagepolicy": "flux-system:demo-probate-back-office"} + schedule: "30 13 * * *" + environment: + TRIG: trig-1 + global: + jobKind: CronJob + enableKeyVaults: true + tenantId: "531ff96d-0ae9-462a-8d2d-bec7c0b42082" + environment: demo diff --git a/apps/probate/probate-cron-exela-extract/image-policy.yaml b/apps/probate/probate-cron-exela-extract/image-policy.yaml new file mode 100644 index 000000000000..748909e0f1f3 --- /dev/null +++ b/apps/probate/probate-cron-exela-extract/image-policy.yaml @@ -0,0 +1,7 @@ +apiVersion: image.toolkit.fluxcd.io/v1beta1 +kind: ImagePolicy +metadata: + name: probate-cron-exela-extract +spec: + imageRepositoryRef: + name: probate-cron-exela-extract diff --git a/apps/probate/probate-cron-exela-extract/image-repo.yaml b/apps/probate/probate-cron-exela-extract/image-repo.yaml new file mode 100644 index 000000000000..d691e9c3f10e --- /dev/null +++ b/apps/probate/probate-cron-exela-extract/image-repo.yaml @@ -0,0 +1,6 @@ +apiVersion: image.toolkit.fluxcd.io/v1beta2 +kind: ImageRepository +metadata: + name: probate-cron-exela-extract +spec: + image: hmctspublic.azurecr.io/probate/back-office diff --git a/apps/probate/probate-cron-exela-extract/probate-cron-exela-extract.yaml b/apps/probate/probate-cron-exela-extract/probate-cron-exela-extract.yaml new file mode 100644 index 000000000000..eb044f41911f --- /dev/null +++ b/apps/probate/probate-cron-exela-extract/probate-cron-exela-extract.yaml @@ -0,0 +1,22 @@ +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: probate-cron-exela-extract +spec: + releaseName: probate-cron-exela-extract + values: + job: + environment: + TASK_NAME: ExelaExtractTask + VAR_FV2: trigger-2 + useInterpodAntiAffinity: true + image: hmctspublic.azurecr.io/probate/back-office:prod-6707e09-20250109124038 #{"$imagepolicy": "flux-system:probate-back-office"} + schedule: 0 * * * * + chart: + spec: + chart: probate-cron + version: 0.0.26 + sourceRef: + kind: HelmRepository + name: hmctspublic + namespace: flux-system diff --git a/apps/probate/probate-cron-grant-awaiting-documentation-extract/demo/demo.yaml b/apps/probate/probate-cron-grant-awaiting-documentation-extract/demo/demo.yaml new file mode 100644 index 000000000000..062aca2447c6 --- /dev/null +++ b/apps/probate/probate-cron-grant-awaiting-documentation-extract/demo/demo.yaml @@ -0,0 +1,17 @@ +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: probate-cron-grant-awaiting-documentation-extract +spec: + releaseName: probate-cron-grant-awaiting-documentation-extract + values: + job: + image: hmctspublic.azurecr.io/probate/back-office:pr-2897-8ad23f9-20250115094341 #{"$imagepolicy": "flux-system:demo-probate-back-office"} + schedule: "35 13 * * *" + environment: + TRIG: trig-1 + global: + jobKind: CronJob + enableKeyVaults: true + tenantId: "531ff96d-0ae9-462a-8d2d-bec7c0b42082" + environment: demo diff --git a/apps/probate/probate-cron-grant-awaiting-documentation-extract/image-policy.yaml b/apps/probate/probate-cron-grant-awaiting-documentation-extract/image-policy.yaml new file mode 100644 index 000000000000..6431ff16c705 --- /dev/null +++ b/apps/probate/probate-cron-grant-awaiting-documentation-extract/image-policy.yaml @@ -0,0 +1,7 @@ +apiVersion: image.toolkit.fluxcd.io/v1beta1 +kind: ImagePolicy +metadata: + name: probate-cron-grant-awaiting-documentation-extract +spec: + imageRepositoryRef: + name: probate-cron-grant-awaiting-documentation-extract diff --git a/apps/probate/probate-cron-grant-awaiting-documentation-extract/image-repo.yaml b/apps/probate/probate-cron-grant-awaiting-documentation-extract/image-repo.yaml new file mode 100644 index 000000000000..b9af083940ba --- /dev/null +++ b/apps/probate/probate-cron-grant-awaiting-documentation-extract/image-repo.yaml @@ -0,0 +1,6 @@ +apiVersion: image.toolkit.fluxcd.io/v1beta2 +kind: ImageRepository +metadata: + name: probate-cron-grant-awaiting-documentation-extract +spec: + image: hmctspublic.azurecr.io/probate/back-office diff --git a/apps/probate/probate-cron-grant-awaiting-documentation-extract/probate-cron-grant-awaiting-documentation-extract.yaml b/apps/probate/probate-cron-grant-awaiting-documentation-extract/probate-cron-grant-awaiting-documentation-extract.yaml new file mode 100644 index 000000000000..fc2445cef97a --- /dev/null +++ b/apps/probate/probate-cron-grant-awaiting-documentation-extract/probate-cron-grant-awaiting-documentation-extract.yaml @@ -0,0 +1,22 @@ +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: probate-cron-grant-awaiting-documentation-extract +spec: + releaseName: probate-cron-grant-awaiting-documentation-extract + values: + job: + environment: + TASK_NAME: GrantAwaitingDocumentationExtractTask + VAR_FV2: trigger-2 + useInterpodAntiAffinity: true + image: hmctspublic.azurecr.io/probate/back-office:prod-6707e09-20250109124038 #{"$imagepolicy": "flux-system:probate-back-office"} + schedule: 0 * * * * + chart: + spec: + chart: probate-cron + version: 0.0.26 + sourceRef: + kind: HelmRepository + name: hmctspublic + namespace: flux-system diff --git a/apps/probate/probate-cron-grant-delayed-extract/demo/demo.yaml b/apps/probate/probate-cron-grant-delayed-extract/demo/demo.yaml new file mode 100644 index 000000000000..41fcf9af230d --- /dev/null +++ b/apps/probate/probate-cron-grant-delayed-extract/demo/demo.yaml @@ -0,0 +1,17 @@ +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: probate-cron-grant-delayed-extract +spec: + releaseName: probate-cron-grant-delayed-extract + values: + job: + image: hmctspublic.azurecr.io/probate/back-office:pr-2897-8ad23f9-20250115094341 #{"$imagepolicy": "flux-system:demo-probate-back-office"} + schedule: "40 13 * * *" + environment: + TRIG: trig-1 + global: + jobKind: CronJob + enableKeyVaults: true + tenantId: "531ff96d-0ae9-462a-8d2d-bec7c0b42082" + environment: demo diff --git a/apps/probate/probate-cron-grant-delayed-extract/image-policy.yaml b/apps/probate/probate-cron-grant-delayed-extract/image-policy.yaml new file mode 100644 index 000000000000..7783282495ec --- /dev/null +++ b/apps/probate/probate-cron-grant-delayed-extract/image-policy.yaml @@ -0,0 +1,7 @@ +apiVersion: image.toolkit.fluxcd.io/v1beta1 +kind: ImagePolicy +metadata: + name: probate-cron-grant-delayed-extract +spec: + imageRepositoryRef: + name: probate-cron-grant-delayed-extract diff --git a/apps/probate/probate-cron-grant-delayed-extract/image-repo.yaml b/apps/probate/probate-cron-grant-delayed-extract/image-repo.yaml new file mode 100644 index 000000000000..6911e793e009 --- /dev/null +++ b/apps/probate/probate-cron-grant-delayed-extract/image-repo.yaml @@ -0,0 +1,6 @@ +apiVersion: image.toolkit.fluxcd.io/v1beta2 +kind: ImageRepository +metadata: + name: probate-cron-grant-delayed-extract +spec: + image: hmctspublic.azurecr.io/probate/back-office diff --git a/apps/probate/probate-cron-grant-delayed-extract/probate-cron-grant-delayed-extract.yaml b/apps/probate/probate-cron-grant-delayed-extract/probate-cron-grant-delayed-extract.yaml new file mode 100644 index 000000000000..aee8028a8688 --- /dev/null +++ b/apps/probate/probate-cron-grant-delayed-extract/probate-cron-grant-delayed-extract.yaml @@ -0,0 +1,22 @@ +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: probate-cron-grant-delayed-extract +spec: + releaseName: probate-cron-grant-delayed-extract + values: + job: + environment: + TASK_NAME: GrantDelayedExtractTask + VAR_FV2: trigger-2 + useInterpodAntiAffinity: true + image: hmctspublic.azurecr.io/probate/back-office:prod-6707e09-20250109124038 #{"$imagepolicy": "flux-system:probate-back-office"} + schedule: 0 * * * * + chart: + spec: + chart: probate-cron + version: 0.0.26 + sourceRef: + kind: HelmRepository + name: hmctspublic + namespace: flux-system diff --git a/apps/probate/probate-cron-iron-mountain-extract/demo/demo.yaml b/apps/probate/probate-cron-iron-mountain-extract/demo/demo.yaml new file mode 100644 index 000000000000..4bdefe0a544d --- /dev/null +++ b/apps/probate/probate-cron-iron-mountain-extract/demo/demo.yaml @@ -0,0 +1,17 @@ +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: probate-cron-iron-mountain-extract +spec: + releaseName: probate-cron-iron-mountain-extract + values: + job: + image: hmctspublic.azurecr.io/probate/back-office:pr-2897-8ad23f9-20250115094341 #{"$imagepolicy": "flux-system:demo-probate-back-office"} + schedule: "45 13 * * *" + environment: + TRIG: trig-1 + global: + jobKind: CronJob + enableKeyVaults: true + tenantId: "531ff96d-0ae9-462a-8d2d-bec7c0b42082" + environment: demo diff --git a/apps/probate/probate-cron-iron-mountain-extract/image-policy.yaml b/apps/probate/probate-cron-iron-mountain-extract/image-policy.yaml new file mode 100644 index 000000000000..92139b4ac688 --- /dev/null +++ b/apps/probate/probate-cron-iron-mountain-extract/image-policy.yaml @@ -0,0 +1,7 @@ +apiVersion: image.toolkit.fluxcd.io/v1beta1 +kind: ImagePolicy +metadata: + name: probate-cron-iron-mountain-extract +spec: + imageRepositoryRef: + name: probate-cron-iron-mountain-extract diff --git a/apps/probate/probate-cron-iron-mountain-extract/image-repo.yaml b/apps/probate/probate-cron-iron-mountain-extract/image-repo.yaml new file mode 100644 index 000000000000..5cdac10e5a2e --- /dev/null +++ b/apps/probate/probate-cron-iron-mountain-extract/image-repo.yaml @@ -0,0 +1,6 @@ +apiVersion: image.toolkit.fluxcd.io/v1beta2 +kind: ImageRepository +metadata: + name: probate-cron-iron-mountain-extract +spec: + image: hmctspublic.azurecr.io/probate/back-office diff --git a/apps/probate/probate-cron-iron-mountain-extract/probate-cron-iron-mountain-extract.yaml b/apps/probate/probate-cron-iron-mountain-extract/probate-cron-iron-mountain-extract.yaml new file mode 100644 index 000000000000..35168b2e4b3e --- /dev/null +++ b/apps/probate/probate-cron-iron-mountain-extract/probate-cron-iron-mountain-extract.yaml @@ -0,0 +1,22 @@ +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: probate-cron-iron-mountain-extract +spec: + releaseName: probate-cron-iron-mountain-extract + values: + job: + environment: + TASK_NAME: IronMountainExtractTask + VAR_FV2: trigger-2 + useInterpodAntiAffinity: true + image: hmctspublic.azurecr.io/probate/back-office:prod-6707e09-20250109124038 #{"$imagepolicy": "flux-system:probate-back-office"} + schedule: 0 * * * * + chart: + spec: + chart: probate-cron + version: 0.0.26 + sourceRef: + kind: HelmRepository + name: hmctspublic + namespace: flux-system