Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAP-1651 fixing cron job #721

Merged
merged 3 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions helm_deploy/use-of-force/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ spec:
spec:
template:
spec:
restartPolicy: Never
activeDeadlineSeconds: 240
containers:
- name: use-of-force
image: {{ with index .Values "generic-service" }}{{ .image.repository }}:{{ .image.tag }}{{ end }}
args:
- node
- job/sendReminders
{{ include "deployment.envs" . | nindent 12 }}
restartPolicy: Never
activeDeadlineSeconds: 240
{{- include "deployment.envs" (index .Values "generic-service") | nindent 12 }}
3 changes: 0 additions & 3 deletions helm_deploy/use-of-force/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ generic-service:
- moj_cloud_platform
- digital_staff_and_mojo

jobs:
cronspec: "0 8,12,15 * * *"
# jobs will run at 9am, 1pm and 4pm
generic-prometheus-alerts:
targetApplication: use-of-force
alertSeverity: digital-prison-service-dev
Expand Down
Loading