Skip to content

Commit

Permalink
Roll back sync changes, look at job types
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Jul 24, 2024
1 parent 2f85d09 commit e281270
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sync/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ parameters:
value: "false"

### Usually a bad idea - not recommended
- name: CRON_MINUTES
description: Random number, 0-60, for scheduling cronjobs
from: "[0-5]{1}[0-9]{1}"
generate: expression
- name: JOB_BACKOFF_LIMIT
description: "The number of attempts to try for a successful job outcome"
value: "3"
Expand All @@ -49,7 +53,7 @@ objects:
app: ${REPO}-${ZONE}
cronjob: ${REPO}-${ZONE}
spec:
schedule: "1 2 3 12/1000000000 *" # https://crontab.guru/#1_2_3_12/1000000000_*
schedule: "${CRON_MINUTES} 8 * * *" # Run daily at 8:xx AM UTC
startingDeadlineSeconds: 60
concurrencyPolicy: "Replace"
successfulJobsHistoryLimit: "${{JOB_HISTORY_SUCCESS}}"
Expand Down

0 comments on commit e281270

Please sign in to comment.