Skip to content

Commit

Permalink
final changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hannah-macdonald1 committed Feb 2, 2024
1 parent 4b5d739 commit 6ca6479
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/.merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
pull_request:
branches: [dev]
types: [closed]
push:
branches: "*"
# temp change to force a deployment
workflow_dispatch:

concurrency:
Expand Down
4 changes: 2 additions & 2 deletions containers/db_cleanup/cleanup.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ function delete_entries() {
() => {
vhersClient.end();
pinClient.end();
sleep(240000).then(() => {console.log(`Successfully deleted audit log entries prior to ${retainUntilString}`);
process.exit(0);})
console.log(`Successfully deleted audit log entries prior to ${retainUntilString}`);
process.exit(0);
},
(err) => {
console.log(err);
Expand Down
4 changes: 2 additions & 2 deletions containers/db_cleanup/openshift/templates/db-cleanup-dc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ objects:
metadata:
name: db-cleanup-cronjob
spec:
# schedule: "30 2 * * SUN"
schedule: "30 2 * * SUN"
# Different schedule for test purposes
schedule: "*/5 * * * *"
# schedule: "*/5 * * * *"
startingDeadlineSeconds: 200
concurrencyPolicy: Forbid
successfulJobsHistoryLimit: 3
Expand Down

0 comments on commit 6ca6479

Please sign in to comment.