Skip to content

Commit

Permalink
Dba 787 (#460)
Browse files Browse the repository at this point in the history
* Remove duplicate workflow for scheduling

* Schedule Deletion of Obsolete Backups

* Remove reference to Preprod DBs until they exist
  • Loading branch information
bill-buchan authored Nov 6, 2024
1 parent 9d38cf3 commit 465c497
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 5 deletions.
36 changes: 33 additions & 3 deletions .github/workflows/oracle-db-delete-dbids-not-in-use-schedule.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,46 @@
{
"TargetEnvironment":"delius-core-dev",
"TargetHost":"delius_primarydb",
"CronSchedule":"10 14 * * TUE"
"CronSchedule":"10 11 * * WED"
},
{
"TargetEnvironment":"delius-mis-dev",
"TargetHost":"mis_primarydb",
"CronSchedule":"10 14 * * TUE"
"CronSchedule":"10 11 * * WED"
},
{
"TargetEnvironment":"delius-mis-dev",
"TargetHost":"boe_primarydb",
"CronSchedule":"10 11 * * WED"
},
{
"TargetEnvironment":"delius-mis-dev",
"TargetHost":"dsd_primarydb",
"CronSchedule":"10 11 * * WED"
},
{
"TargetEnvironment":"delius-core-test",
"TargetHost":"delius_primarydb",
"CronSchedule":"10 16 * * TUE"
"CronSchedule":"10 11 * * THU"
},
{
"TargetEnvironment":"delius-core-stage",
"TargetHost":"delius_primarydb",
"CronSchedule":"10 11 * * MON"
},
{
"TargetEnvironment":"delius-mis-stage",
"TargetHost":"mis_primarydb",
"CronSchedule":"10 11 * * MON"
},
{
"TargetEnvironment":"delius-mis-stage",
"TargetHost":"boe_primarydb",
"CronSchedule":"10 11 * * MON"
},
{
"TargetEnvironment":"delius-mis-stage",
"TargetHost":"dsd_primarydb",
"CronSchedule":"10 11 * * MON"
}
]
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: "Oracle: Schedule Deletion of DBIDs Not In Use (Delete Obsolete Backups)"
on:
schedule:
- cron: '10 14 * * TUE'
- cron: '10 16 * * TUE'
- cron: '10 11 * * MON'
- cron: '10 11 * * TUE'
- cron: '10 11 * * WED'
- cron: '10 11 * * THU'

jobs:
prepare-run-matrix:
Expand Down

0 comments on commit 465c497

Please sign in to comment.