Skip to content

Add culling to GH backup CI of superset dashboards #173

@mrjones-plip

Description

@mrjones-plip

What feature do you want to improve?
We offer a way to to automate backup of superset dashboards. however, the CI job we run will fill up with a backup every day. While handy - this is likely too many files which will never get used.

Describe the improvement you'd like
The CI job should not only make a backup, but also cull older backups from the GH repo. Something like keeping 1/day x 7 days, 1/week x 4 weeks, 1/month x 12 months.

Describe alternatives you've considered
manually cull or do nothing at all

Additional context
we're hoping to have national deployments run this and a more clean list of files in backup dir will be much easier when it comes time to restore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions